Total Complexity | 2 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
15 | class PushNotificationsHandler implements HandlerInterface |
||
16 | { |
||
17 | /** |
||
18 | * Stablishes type of handler |
||
19 | */ |
||
20 | public function shouldHandle(NotificationInterface $notification) |
||
21 | { |
||
22 | return $notification instanceof PushNotificationsContract; |
||
23 | } |
||
24 | |||
25 | /** |
||
26 | * Handles actions to take depending of notifications |
||
27 | * @param NotificationInterface $notification |
||
28 | */ |
||
29 | public function handle(NotificationInterface $notification) |
||
34 | } |
||
35 | } |
||
36 |
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