Fix diagnose auditing of composer dependencies in phar files
parent
f00d3fb5ab
commit
6335551cc2
|
@ -120,7 +120,6 @@ class Compiler
|
||||||
->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/')
|
||||||
->notPath('composer/installed.json')
|
|
||||||
->notPath('composer/LICENSE')
|
->notPath('composer/LICENSE')
|
||||||
->exclude('Tests')
|
->exclude('Tests')
|
||||||
->exclude('tests')
|
->exclude('tests')
|
||||||
|
@ -131,6 +130,7 @@ class Compiler
|
||||||
|
|
||||||
$extraFiles = [];
|
$extraFiles = [];
|
||||||
foreach ([
|
foreach ([
|
||||||
|
__DIR__ . '/../../vendor/composer/installed.json',
|
||||||
__DIR__ . '/../../vendor/composer/spdx-licenses/res/spdx-exceptions.json',
|
__DIR__ . '/../../vendor/composer/spdx-licenses/res/spdx-exceptions.json',
|
||||||
__DIR__ . '/../../vendor/composer/spdx-licenses/res/spdx-licenses.json',
|
__DIR__ . '/../../vendor/composer/spdx-licenses/res/spdx-licenses.json',
|
||||||
CaBundle::getBundledCaBundlePath(),
|
CaBundle::getBundledCaBundlePath(),
|
||||||
|
|
Loading…
Reference in New Issue