parameters(); $parameters->set(Option::PATHS, [ __DIR__ . '/src', ]); // Define what rule sets will be applied $parameters->set(Option::SETS, [ SetList::CODE_QUALITY, SetList::DEAD_CODE, // DowngradeSetList::PHP_80, // DowngradeSetList::PHP_74, // DowngradeSetList::PHP_73, //DowngradeSetList::PHP_72, ]); $parameters->set(Option::PHP_VERSION_FEATURES, PhpVersion::PHP_71); };