| Total Complexity | 2 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class EmailNotifications implements HandlerInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * Stablishes type of handler. |
||
| 14 | */ |
||
| 15 | public function shouldHandle(NotificationInterface $notification) |
||
| 16 | { |
||
| 17 | return $notification instanceof EmailNotificationsContract; |
||
| 18 | } |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Handles actions to take depending of notifications. |
||
| 22 | * @param NotificationInterface $notification |
||
| 23 | */ |
||
| 24 | public function handle(NotificationInterface $notification) |
||
| 41 | } |
||
| 42 | } |
||
| 43 |
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