Total Complexity | 3 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
9 | class ConfigProvider implements ConfigProviderInterface |
||
10 | { |
||
11 | private $user; |
||
12 | |||
13 | private $request; |
||
14 | |||
15 | public function __construct( |
||
16 | RequestStack $requestStack, |
||
17 | TokenStorage $tokenStorage |
||
18 | ) { |
||
19 | $this->user = $tokenStorage->getToken()->getUser(); |
||
20 | $this->request = $requestStack->getCurrentRequest(); |
||
21 | } |
||
22 | |||
23 | public function getUser() |
||
24 | { |
||
25 | return $this->user; |
||
26 | } |
||
27 | |||
28 | public function getRequest() |
||
31 | } |
||
32 | } |
||
33 |
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