* Powered by PhpStorm * Created on 2023/1/9 */ $finder = PhpCsFixer\Finder::create()->in([ __DIR__ . '/publish', __DIR__ . '/src', __DIR__ . '/tests', ]); $config = new PhpCsFixer\Config(); return $config->setRules([ '@PSR12' => true, 'strict_param' => true, 'array_syntax' => ['syntax' => 'short'], ]) ->setUsingCache(false) ->setFinder($finder);