Skip to content

Commit

Permalink
Limit PHP-CS-Fixer finder to /src & /tests directories
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedghanem00 committed May 8, 2024
1 parent 6ea9dff commit 80b6b2a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
EOF;

$finder = PhpCsFixer\Finder::create()
->in(__DIR__)
->in(__DIR__ . '/src')
->in(__DIR__ . '/tests')
->ignoreVCSIgnored(true);

return (new PhpCsFixer\Config())
Expand Down

0 comments on commit 80b6b2a

Please sign in to comment.