Skip to content

Commit

Permalink
configure php-cs-fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
alquerci committed Apr 10, 2024
1 parent 77e027d commit 4523808
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
->in(__DIR__.'/lib')
->in(__DIR__.'/data/bin')
->in(__DIR__.'/test')
->in(__DIR__.'/test/unit/vendor')
->append([__FILE__])
// Exclude PHP classes templates/generators, which are not valid PHP files
->exclude('task/generator/skeleton/')
Expand All @@ -21,6 +22,9 @@
// Exclude generated files (single files)
->notPath('unit/config/fixtures/sfDefineEnvironmentConfigHandler/prefix_result.php')
->notPath('unit/config/fixtures/sfFilterConfigHandler/result.php')

// Exclude files with expected parsing error
->notPath('lime/fixtures/pass_with_one_parse_error.php')
;

$config = new PhpCsFixer\Config();
Expand Down

0 comments on commit 4523808

Please sign in to comment.