1
0
Fork 0

Fix diagnose auditing of composer dependencies in phar files

pull/11842/head
Jordi Boggiano 2024-02-08 16:24:16 +01:00
parent f00d3fb5ab
commit 6335551cc2
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 1 additions and 1 deletions

View File

@ -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(),