parameters(); $parameters->set( Option::SETS, [ SetList::CLEAN_CODE, SetList::SYMFONY, //SetList::SYMFONY_RISKY, ] ); $parameters->set( Option::PATHS, [ __DIR__.'/src', ] ); $parameters->set( Option::EXCLUDE_PATHS, [ __DIR__.'/src/CourseBundle/Component/*', ] ); // use $a++ instead of ++$a $parameters->set( Option::SKIP, [ IncrementStyleFixer::class => 'post', //UnusedVariableSniff::class . '.ignoreUnusedValuesWhenOnlyKeysAreUsedInForeach' => true, UnusedVariableSniff::class => 'ignoreUnusedValuesWhenOnlyKeysAreUsedInForeach', ] ); };