Skip to content

Commit 85c32cd

Browse files
committed
Configure php-cs-fixer for hook annotation cleanup
1 parent 256fe8a commit 85c32cd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.php-cs-fixer.php

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
})());
3535

3636
$rules = include __DIR__ . '/lib/pkp/.php_cs_rules';
37+
require(__DIR__ . '/lib/pkp/classes/dev/fixers/bootstrap.php');
3738
$config = new PhpCsFixer\Config();
3839
return $config->setRules($rules)
40+
->registerCustomFixers(new PKP\dev\fixers\Fixers())
3941
->setFinder($finder);

0 commit comments

Comments
 (0)