Conditions | 3 |
Paths | 3 |
Total Lines | 15 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
13 | public static function setUpBeforeClass() { |
||
14 | //require_once __DIR__ . '/../../../../../../app/AppKernel.php'; |
||
15 | $path = '/../app/AppKernel.php'; |
||
16 | for ($i=0; $i<15; $i++) { |
||
17 | $file = __DIR__ .$path; |
||
18 | if (is_file($file)) { |
||
19 | require_once $file; |
||
20 | break; |
||
21 | } |
||
22 | $path = '/..'.$path; |
||
23 | } |
||
24 | self::$kernel = new \AppKernel('test', true); |
||
|
|||
25 | self::$kernel->boot(); |
||
26 | self::$container = self::$kernel->getContainer(); |
||
27 | } |
||
28 | |||
38 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..