mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
gen_stub: Update to PHP-Parser 5.6.1 (#19495)
This fixes a PHP 8.5 Deprecation: > Deprecated: Method SplObjectStorage::attach() is deprecated since 8.5, use > method SplObjectStorage::offsetSet() instead in > php-src/build/PHP-Parser-5.6.0/lib/PhpParser/Parser/Php7.php on line 2692
This commit is contained in:
@@ -6056,7 +6056,7 @@ function initPhpParser() {
|
||||
}
|
||||
|
||||
$isInitialized = true;
|
||||
$version = "5.6.0";
|
||||
$version = "5.6.1";
|
||||
$phpParserDir = __DIR__ . "/PHP-Parser-$version";
|
||||
if (!is_dir($phpParserDir)) {
|
||||
installPhpParser($version, $phpParserDir);
|
||||
|
||||
Reference in New Issue
Block a user