| Total Complexity | 2 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | abstract class LaravelAwareRectorRule extends AbstractRector implements ConfigurableRectorInterface |
||
| 16 | { |
||
| 17 | public $baseDir = null; |
||
| 18 | |||
| 19 | public function configure(array $configuration): void |
||
| 20 | { |
||
| 21 | $this->baseDir = $configuration['path'] ?? getcwd(); |
||
| 22 | } |
||
| 23 | |||
| 24 | protected function getLaravel(): Application |
||
| 46 | } |
||
| 47 | } |
||
| 48 |
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