| Conditions | 3 |
| Paths | 4 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | public function run() |
||
| 14 | { |
||
| 15 | if (DB::connection()->getDriverName() == 'mysql') { |
||
| 16 | DB::statement('SET FOREIGN_KEY_CHECKS=0;'); |
||
| 17 | } |
||
| 18 | |||
| 19 | DB::table('d_scan_datas')->truncate(); |
||
| 20 | |||
| 21 | DB::unprepared(File::get('database/seeds/ships.sql')); |
||
| 22 | |||
| 23 | if (DB::connection()->getDriverName() == 'mysql') { |
||
| 24 | DB::statement('SET FOREIGN_KEY_CHECKS=1;'); |
||
| 25 | } |
||
| 28 |
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