* @link https://www.oxidmodule.com */ $finder = PhpCsFixer\Finder::create() ->in(__DIR__); $fileHeaderComment = << @link https://www.oxidmodule.com EOF; $config = new PhpCsFixer\Config(); return $config ->setRules([ 'header_comment' => [ 'header' => $fileHeaderComment, 'comment_type' => 'PHPDoc', 'location' => 'after_open' ], '@PHP80Migration' => true, '@PSR12' => true ]) ->setFinder($finder);