| Total Complexity | 3 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 6 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class PrototypeTest extends PHPUnit_Framework_TestCase |
||
| 12 | { |
||
| 13 | private AbstractPrototype $prototype; |
||
| 14 | |||
| 15 | protected function setUp(): void |
||
| 16 | { |
||
| 17 | $this->prototype = new Prototype(); |
||
| 18 | } |
||
| 19 | |||
| 20 | public function testInstances() |
||
| 21 | { |
||
| 22 | $clonedFirstPrototype = $this->prototype->getPrototype(); |
||
| 23 | $this->assertFalse($clonedFirstPrototype === $this->prototype); |
||
| 24 | $this->assertInstanceOf(Prototype::class, $clonedFirstPrototype); |
||
| 25 | } |
||
| 26 | |||
| 27 | public function testCountInstances() |
||
| 34 | } |
||
| 35 | } |
||
| 36 |
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