| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 102 | public function validation() |
||
| 103 | { |
||
| 104 | $validator = new Validation(); |
||
| 105 | |||
| 106 | $validator->add( |
||
| 107 | ['users_id', 'apps_id', 'companies_id'], |
||
| 108 | new Uniqueness( |
||
| 109 | [ |
||
| 110 | 'message' => 'Can\'t have 2 roles for the same company on the same app - ' . $this->company->name |
||
| 111 | ] |
||
| 112 | ) |
||
| 113 | ); |
||
| 114 | |||
| 115 | return $this->validate($validator); |
||
| 116 | } |
||
| 118 |
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