diff --git a/src/Composer/Compiler.php b/src/Composer/Compiler.php index 528dfa97c..08c805e72 100644 --- a/src/Composer/Compiler.php +++ b/src/Composer/Compiler.php @@ -118,7 +118,7 @@ class Compiler $finder = new Finder(); $finder->files() ->ignoreVCS(true) - ->notPath('/\/(composer\.(json|lock)|[A-Z]+\.md|\.gitignore|appveyor.yml|phpunit\.xml\.dist|phpstan\.neon\.dist|phpstan-config\.neon|phpstan-baseline\.neon)$/') + ->notPath('/\/(composer\.(json|lock)|[A-Z]+\.md(?:own)?|\.gitignore|appveyor.yml|phpunit\.xml\.dist|phpstan\.neon\.dist|phpstan-config\.neon|phpstan-baseline\.neon)$/') ->notPath('/bin\/(jsonlint|validate-json|simple-phpunit|phpstan|phpstan\.phar)(\.bat)?$/') ->notPath('justinrainbow/json-schema/demo/') ->notPath('justinrainbow/json-schema/dist/')