Total Complexity | 4 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
16 | final class UserListener implements Enableable |
||
17 | { |
||
18 | use Container; |
||
19 | use Enabled; |
||
20 | |||
21 | /** |
||
22 | * Constructor |
||
23 | * |
||
24 | * @param \Symfony\Component\DependencyInjection\ContainerInterface $container |
||
25 | */ |
||
26 | public function __construct(ContainerInterface $container) |
||
27 | { |
||
28 | $this->container = $container; |
||
29 | $this->enabled = true; |
||
30 | } |
||
31 | |||
32 | /** |
||
33 | * Create user on registration |
||
34 | * |
||
35 | * @param \Doctrine\ORM\Event\LifecycleEventArgs $event |
||
36 | */ |
||
37 | public function postPersist(LifecycleEventArgs $event) |
||
50 | } |
||
51 | } |
||
52 |
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