You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<?phpreturnPhpCsFixer\Config::create()
->registerCustomFixers([
// Register the Custom Fixernew \Wucdbm\PhpCsFixer\Fixer\EnsureBlankLineAfterClassOpeningFixer()
])
->setRules([
'@Symfony' => true,
// And add it to your list of rules'Wucdbm/ensure_blank_line_after_class_opening' => true
]);
wucdbm custom rule set with copyright - as per this project's .php_cs file
<?phpuseWucdbm\PhpCsFixer\Config\ConfigFactory;
$copyright = <<<COMMENTThis file is part of the Wucdbm PhpCSFixers package.(c) Martin Kirilov <[email protected]>For the full copyright and license information, please view the LICENSEfile that was distributed with this source code.COMMENT;
returnConfigFactory::createCopyrightedConfig([
__DIR__ . '/src',
__DIR__ . '/tests'
], $copyright)
->setUsingCache(false);