diff --git a/cms/securimage b/cms/securimage deleted file mode 160000 index ac4be7e..0000000 --- a/cms/securimage +++ /dev/null @@ -1 +0,0 @@ -Subproject commit ac4be7e5bcbdfd9a088eb784532765686e0f2b7e diff --git a/rector.php b/rector.php new file mode 100644 index 0000000..a100b77 --- /dev/null +++ b/rector.php @@ -0,0 +1,32 @@ +paths([ + __DIR__ . '/cms/data/modules', + /* __DIR__ . '/conlib', + __DIR__ . '/conlite', + __DIR__ . '/data', + __DIR__ . '/dievino', + __DIR__ . '/pear', + __DIR__ . '/setup',*/ + __DIR__.'/conlite/includes', + ]); + + $rectorConfig->phpVersion(PhpVersion::PHP_80); + + // register a single rule + //$rectorConfig->rule(InlineConstructorDefaultToPropertyRector::class); + + // define sets of rules + $rectorConfig->sets([ + // SetList::DEAD_CODE, + LevelSetList::UP_TO_PHP_80 + ]); +};