Fix handling of .mdown files in phar compiler
parent
e43cae6231
commit
26e01abfae
|
@ -118,7 +118,7 @@ class Compiler
|
||||||
$finder = new Finder();
|
$finder = new Finder();
|
||||||
$finder->files()
|
$finder->files()
|
||||||
->ignoreVCS(true)
|
->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('/bin\/(jsonlint|validate-json|simple-phpunit|phpstan|phpstan\.phar)(\.bat)?$/')
|
||||||
->notPath('justinrainbow/json-schema/demo/')
|
->notPath('justinrainbow/json-schema/demo/')
|
||||||
->notPath('justinrainbow/json-schema/dist/')
|
->notPath('justinrainbow/json-schema/dist/')
|
||||||
|
|
Loading…
Reference in New Issue