withPaths([ __DIR__ . '/src', __DIR__ . '/tests', ]) ->withPreparedSets( psr12: true, common: true, cleanCode: true, ) ->withEditorConfig() ->withRules([ NativeFunctionInvocationFixer::class, ]) ->withConfiguredRule(GlobalNamespaceImportFixer::class, [ 'import_classes' => true, 'import_constants' => true, 'import_functions' => true, ]) ;