1
0
Fork 0

Update extra files for latest polyfill lib

pull/10343/head
Jordi Boggiano 2021-12-09 20:40:12 +01:00
parent ffd62795bc
commit 32dcb93f24
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 12 additions and 7 deletions

View File

@ -150,13 +150,18 @@ class Compiler
->sort($finderSort) ->sort($finderSort)
; ;
$extraFiles = array( $extraFiles = [];
realpath(__DIR__ . '/../../vendor/composer/spdx-licenses/res/spdx-exceptions.json'), foreach (array(
realpath(__DIR__ . '/../../vendor/composer/spdx-licenses/res/spdx-licenses.json'), __DIR__ . '/../../vendor/composer/spdx-licenses/res/spdx-exceptions.json',
realpath(CaBundle::getBundledCaBundlePath()), __DIR__ . '/../../vendor/composer/spdx-licenses/res/spdx-licenses.json',
realpath(__DIR__ . '/../../vendor/symfony/console/Resources/bin/hiddeninput.exe'), CaBundle::getBundledCaBundlePath(),
realpath(__DIR__ . '/../../vendor/symfony/polyfill-mbstring/Resources/mb_convert_variables.php8'), __DIR__ . '/../../vendor/symfony/console/Resources/bin/hiddeninput.exe',
); ) as $file) {
$extraFiles[$file] = realpath($file);
if (!file_exists($file)) {
throw new \RuntimeException('Extra file listed is missing from the filesystem: '.$file);
}
}
$unexpectedFiles = array(); $unexpectedFiles = array();
foreach ($finder as $file) { foreach ($finder as $file) {