Total Complexity | 3 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | class StackTest extends TestCase |
||
20 | { |
||
21 | public function testEmpty() |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * @depends testEmpty |
||
31 | */ |
||
32 | public function testPush(array $stack) |
||
33 | { |
||
34 | array_push($stack, 'foo'); |
||
35 | $this->assertEquals('foo', $stack[count($stack) - 1]); |
||
36 | $this->assertNotEmpty($stack); |
||
37 | |||
38 | return $stack; |
||
39 | } |
||
40 | |||
41 | /** |
||
42 | * @depends testPush |
||
43 | */ |
||
44 | public function testPop(array $stack) |
||
48 | } |
||
49 | } |
||
50 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths