| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | public static function matchingAssocationFieldRequiresObject($class, $associationName) |
||
| 18 | { |
||
| 19 | return new self(sprintf( |
||
| 20 | 'Cannot match on %s::%s with a non-object value. Matching objects by id is ' . |
||
| 21 | 'not compatible with matching on an in-memory collection, which compares objects by reference.', |
||
| 22 | $class, |
||
| 23 | $associationName |
||
| 24 | )); |
||
| 27 |
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