From 4523808934ecc5841757b0d1c5dbbd684d54c16f Mon Sep 17 00:00:00 2001 From: Alexandre Quercia Date: Wed, 10 Apr 2024 20:51:01 +0200 Subject: [PATCH] configure php-cs-fixer --- .php-cs-fixer.dist.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index fccc2b3f9..b4df1a67a 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -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/') @@ -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();