| Total Complexity | 3 | 
| Total Lines | 24 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 12 | final class CaseSequenceFixture implements FixtureInterface, OrderedFixtureInterface | ||
| 13 | { | ||
| 14 | /** | ||
| 15 |      * {@inheritdoc} | ||
| 16 | */ | ||
| 17 | public function load(ObjectManager $manager) | ||
| 18 |     { | ||
| 19 | $connection = $manager->getConnection(); | ||
| 20 | $platform = $connection->getDatabasePlatform()->getName(); | ||
| 21 | |||
| 22 |         switch ($platform) { | ||
| 23 | case 'postgresql': | ||
| 24 |                 $connection->exec('ALTER SEQUENCE app_case_id_seq RESTART WITH 1'); | ||
| 25 |                 $connection->exec('ALTER SEQUENCE app_case_trans_id_seq RESTART WITH 1'); | ||
| 26 | break; | ||
| 27 | } | ||
| 28 | } | ||
| 29 | |||
| 30 | /** | ||
| 31 |      * {@inheritdoc} | ||
| 32 | */ | ||
| 33 | public function getOrder() | ||
| 36 | } | ||
| 37 | } | ||
| 38 | 
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