Total Complexity | 4 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class ConfigVoter extends Voter |
||
10 | { |
||
11 | public const ACTION_VIEW = 'view'; |
||
12 | public const ACTION_EDIT = 'edit'; |
||
13 | |||
14 | protected function supports(string $attribute, mixed $subject): bool |
||
25 | } |
||
26 | |||
27 | protected function voteOnAttribute(string $attribute, mixed $subject, TokenInterface $token): bool |
||
32 |
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