Total Complexity | 6 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
17 | class ClientRelatedEntityVoter extends Voter |
||
18 | { |
||
19 | private SaasClientService $_clientService; |
||
20 | |||
21 | public function __construct(SaasClientService $clientService) |
||
24 | } |
||
25 | |||
26 | protected function supports($attribute, $subject) |
||
27 | { |
||
28 | if (!$subject instanceof SaasClientRelatedInterface) { |
||
29 | return false; |
||
30 | } |
||
31 | |||
32 | return true; |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * @param string $attribute |
||
37 | * @param SaasClientRelatedInterface $subject |
||
38 | * |
||
39 | * @return void |
||
40 | */ |
||
41 | protected function voteOnAttribute($attribute, $subject, TokenInterface $token) |
||
52 | } |
||
53 | } |
||
54 |
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