Skip to content

Commit f263409

Browse files
committed
Exclude Fixtures from the PHP-CS-Fixer
1 parent 928b747 commit f263409

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.php_cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ $finder = PhpCsFixer\Finder::create()
66
->exclude('var')
77
->exclude('vendor')
88
->notPath('web/config.php')
9+
// Doctrine fixtures are excluded to avoid these PHP-CS-Fixer errors:
10+
// "Files were not fixed due to errors reported during linting before fixing"
11+
->notPath('DataFixtures')
912
;
1013

1114
return PhpCsFixer\Config::create()

0 commit comments

Comments
 (0)