withPaths([ __DIR__ . '/public', __DIR__ . '/src', __DIR__ . '/config', __DIR__ . '/tests', __DIR__ . '/bin', ]) // add a single rule ->withRules([ NoUnusedImportsFixer::class, ]) ->withPhpCsFixerSets( per: true, php84Migration: true, ) // add sets - group of rules, from easiest to more complex ones // uncomment one, apply one, commit, PR, merge and repeat ->withPreparedSets( strict: true, ) ;