| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 16 | 
| Code Lines | 11 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 6 | 
| CRAP Score | 1 | 
| Changes | 0 | ||
| 1 | <?php | ||
| 25 | 2 | public function rules() | |
| 26 |     { | ||
| 27 | return [ | ||
| 28 | 2 | [['process_id', 'user_id'], 'required'], | |
| 29 | [['process_id', 'user_id'], 'integer'], | ||
| 30 | [ | ||
| 31 | ['process_id'], | ||
| 32 | 2 | 'exist', | |
| 33 | 'targetAttribute' => ['process_id' => 'id'], | ||
| 34 | 2 | 'targetClass' => $this->processClass(), | |
| 35 | ], | ||
| 36 | [ | ||
| 37 | ['user_id'], | ||
| 38 | 2 | 'exist', | |
| 39 | 'targetAttribute' => ['user_id' => 'id'], | ||
| 40 | 2 | 'targetClass' => Yii::$app->user->identityClass, | |
| 41 | ], | ||
| 78 | 
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