| Total Complexity | 3 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | class Errors { |
||
| 6 | |||
| 7 | protected $executor; |
||
| 8 | |||
| 9 | public function __construct() |
||
| 10 | { |
||
| 11 | $this->executor = new Executor; |
||
| 12 | } |
||
| 13 | |||
| 14 | /** |
||
| 15 | * get a syntax error |
||
| 16 | * @param string $file |
||
| 17 | * @param integer $line |
||
| 18 | * @param string|null $parameter |
||
| 19 | * @return exit |
||
|
|
|||
| 20 | */ |
||
| 21 | public function syntaxError($file, $line, $parameter = null) |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * get a class not found error |
||
| 30 | * @param string $file |
||
| 31 | * @param integer $line |
||
| 32 | * @param string|null $parameter |
||
| 33 | * @return exit |
||
| 34 | */ |
||
| 35 | public function classNotFound($file, $line, $parameter = 'Exception') |
||
| 40 | } |
||
| 41 | } |
||
| 42 |
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