diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index 91690e5a3..3c2e8bd39 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -5,7 +5,10 @@ use PhpCsFixer\Finder; $finder = Finder::create() ->in([__DIR__]) - ->exclude(['vendor']) + ->exclude([ + 'node_modules', + 'vendor' + ]) ->ignoreDotFiles(false) ->name('*.php.dist') ->name('*.sh'); diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 7d10c574f..df1f28db0 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -7,6 +7,7 @@ parameters: paths: - . excludePaths: + - node_modules - vendor ignoreErrors: