| Total Lines | 16 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | return static function (RectorConfig $rectorConfig): void { |
||
| 11 | $rectorConfig->sets([ |
||
| 12 | LevelSetList::UP_TO_PHP_81, |
||
| 13 | LevelSetList::UP_TO_PHP_82, |
||
| 14 | LevelSetList::UP_TO_PHP_83, |
||
| 15 | LevelSetList::UP_TO_PHP_84, |
||
| 16 | ]); |
||
| 17 | |||
| 18 | $rectorConfig->skip([ |
||
| 19 | // your directories |
||
| 20 | __DIR__ . '/plugins/files/php/vendor', |
||
| 21 | __DIR__ . '/plugins/files/php/Files/Backend/Webdav/sabredav/vendor', |
||
| 22 | __DIR__ . '/plugins/kendox/php/vendor', |
||
| 23 | |||
| 24 | // skip the rule by its correct class name |
||
| 25 | SensitiveConstantNameRector::class, |
||
| 26 | ]); |
||
| 28 |
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