N°2743 - Upgrade libraries php-parser

php composer.phar update  nikic/php-parser
This commit is contained in:
acognet
2022-07-01 10:45:55 +02:00
parent 5ff4db5a4d
commit e1bf3d9ee0
22 changed files with 1341 additions and 1241 deletions

View File

@@ -108,7 +108,10 @@ if (PHP_VERSION_ID < 80000) {
}
}
if (function_exists('stream_wrapper_register') && stream_wrapper_register('phpvfscomposer', 'Composer\BinProxyWrapper')) {
if (
(function_exists('stream_get_wrappers') && in_array('phpvfscomposer', stream_get_wrappers(), true))
|| (function_exists('stream_wrapper_register') && stream_wrapper_register('phpvfscomposer', 'Composer\BinProxyWrapper'))
) {
include("phpvfscomposer://" . __DIR__ . '/..'.'/nikic/php-parser/bin/php-parse');
exit(0);
}