Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
25 | public function testCreate() |
||
26 | { |
||
27 | $migration = $this->create(); |
||
28 | $this->assertEquals(TestMigrator::class, $migration->getClass()); |
||
29 | $this->assertEquals('version', $migration->getVersion()); |
||
30 | $this->assertEquals('test', $migration->getDescription()); |
||
31 | $this->assertNull($migration->getMigratedAt()); |
||
32 | $this->assertFalse($migration->isMigrated()); |
||
33 | |||
34 | $migration->setMigrated(true); |
||
35 | $this->assertTrue($migration->isMigrated()); |
||
36 | } |
||
37 | } |
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