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