| Conditions | 1 |
| Paths | 1 |
| Total Lines | 23 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | public function up() |
||
| 11 | { |
||
| 12 | $data = [ |
||
| 13 | [ |
||
| 14 | 'roleId' => 2, |
||
| 15 | 'module' => 'push', |
||
| 16 | 'privilege' => 'Management' |
||
| 17 | ], |
||
| 18 | [ |
||
| 19 | 'roleId' => 2, |
||
| 20 | 'module' => 'push', |
||
| 21 | 'privilege' => 'Subscribe' |
||
| 22 | ], |
||
| 23 | [ |
||
| 24 | 'roleId' => 3, |
||
| 25 | 'module' => 'push', |
||
| 26 | 'privilege' => 'Subscribe' |
||
| 27 | ], |
||
| 28 | ]; |
||
| 29 | |||
| 30 | $privileges = $this->table('acl_privileges'); |
||
| 31 | $privileges->insert($data) |
||
| 32 | ->save(); |
||
| 33 | } |
||
| 43 |
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