| Total Complexity | 4 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class CacheException extends ORMException |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @param string $sourceEntity |
||
| 16 | * @param string $fieldName |
||
| 17 | * |
||
| 18 | * @return \Doctrine\ORM\Cache\CacheException |
||
| 19 | */ |
||
| 20 | public static function updateReadOnlyCollection($sourceEntity, $fieldName) |
||
| 21 | { |
||
| 22 | return new self(sprintf('Cannot update a readonly collection "%s#%s"', $sourceEntity, $fieldName)); |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param string $entityName |
||
| 27 | * |
||
| 28 | * @return \Doctrine\ORM\Cache\CacheException |
||
| 29 | */ |
||
| 30 | public static function updateReadOnlyEntity($entityName) |
||
| 31 | { |
||
| 32 | return new self(sprintf('Cannot update a readonly entity "%s"', $entityName)); |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @param string $entityName |
||
| 37 | * |
||
| 38 | * @return \Doctrine\ORM\Cache\CacheException |
||
| 39 | */ |
||
| 40 | public static function nonCacheableEntity($entityName) |
||
| 41 | { |
||
| 42 | return new self(sprintf('Entity "%s" not configured as part of the second-level cache.', $entityName)); |
||
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @param string $entityName |
||
| 47 | * @param string $field |
||
| 48 | * |
||
| 49 | * @return CacheException |
||
| 50 | */ |
||
| 51 | public static function nonCacheableEntityAssociation($entityName, $field) |
||
| 54 | } |
||
| 55 | } |
||
| 56 |
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