Conditions | 3 |
Paths | 3 |
Total Lines | 14 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 12 |
Changes | 0 |
1 | <?php |
||
24 | public function check() |
||
25 | { |
||
26 | $symfonyRequirements = new \SymfonyRequirements(); |
||
27 | |||
28 | if (count($symfonyRequirements->getFailedRequirements())) { |
||
29 | return new Failure('Some Symfony2 requirements are not met.'); |
||
30 | } |
||
31 | |||
32 | if (count($symfonyRequirements->getFailedRecommendations())) { |
||
33 | return new Warning('Some Symfony2 recommendations are not met.'); |
||
34 | } |
||
35 | |||
36 | return new Success(); |
||
37 | } |
||
38 | |||
44 |