Conditions | 4 |
Paths | 4 |
Total Lines | 15 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
41 | protected function voteOnAttribute($attribute, $subject, TokenInterface $token) |
||
42 | { |
||
43 | if (!$this->_clientService->getCurrentClient()) { |
||
44 | return false; |
||
45 | } |
||
46 | |||
47 | if ($subject->getClient() == null) { |
||
48 | return true; |
||
49 | } |
||
50 | |||
51 | if ($this->_clientService->getCurrentClient() == $subject->getClient()) { |
||
52 | return true; |
||
53 | } |
||
54 | |||
55 | return false; |
||
56 | } |
||
58 |
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