| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | public function testPushAndPop() |
||
| 8 | { |
||
| 9 | $stack = []; |
||
| 10 | $this->assertEquals(0, count($stack)); |
||
| 11 | |||
| 12 | array_push($stack, 'foo'); |
||
| 13 | $this->assertEquals('foo', $stack[count($stack) - 1]); |
||
| 14 | $this->assertEquals(1, count($stack)); |
||
| 15 | |||
| 16 | $this->assertEquals('foo', array_pop($stack)); |
||
| 17 | $this->assertEquals(0, count($stack)); |
||
| 18 | } |
||
| 20 |
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