Skip to content

Commit 092127c

Browse files
authored
gen_stub: Update to PHP-Parser 5.6.1 (php#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
1 parent a84a82e commit 092127c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/gen_stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6056,7 +6056,7 @@ function initPhpParser() {
60566056
}
60576057

60586058
$isInitialized = true;
6059-
$version = "5.6.0";
6059+
$version = "5.6.1";
60606060
$phpParserDir = __DIR__ . "/PHP-Parser-$version";
60616061
if (!is_dir($phpParserDir)) {
60626062
installPhpParser($version, $phpParserDir);

0 commit comments

Comments
 (0)