| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 10 | 
| Code Lines | 7 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 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_category_id_seq RESTART WITH 1'); | ||
| 25 |                 $connection->exec('ALTER SEQUENCE app_category_trans_id_seq RESTART WITH 1'); | ||
| 26 | break; | ||
| 27 | } | ||
| 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