| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 48 | public function testGetName(): void |
||
| 49 | { |
||
| 50 | $assert1 = $this->createMock(NamedAssertion::class); |
||
| 51 | $assert1->expects(self::once()) |
||
| 52 | ->method('getName') |
||
| 53 | ->willReturn('assert1'); |
||
| 54 | |||
| 55 | $assert2 = $this->createMock(NamedAssertion::class); |
||
| 56 | $assert2->expects(self::once()) |
||
| 57 | ->method('getName') |
||
| 58 | ->willReturn('assert2'); |
||
| 59 | |||
| 60 | $assert = new All($assert1, $assert2); |
||
| 61 | self::assertSame('assert1, et assert2', $assert->getName()); |
||
| 62 | } |
||
| 64 |
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