Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
31 | 3 | protected function getTestContent($filename) |
|
32 | { |
||
33 | /** @see https://insight.sensiolabs.com/what-we-analyse/symfony.dependency_injection.use_dir_file_constant */ |
||
34 | 3 | return(json_decode(file_get_contents( |
|
35 | 3 | $this->container->get('kernel')->locateResource( |
|
36 | '@AsyncTweetsBundle/Tests/Command/data/'.$filename |
||
37 | 3 | ) |
|
38 | 3 | ))); |
|
39 | } |
||
40 | |||
65 |