Skip to content

New release request #420

@SergiiDolgushev

Description

@SergiiDolgushev

https://github.com/microsoft/tolerant-php-parser/releases/tag/v0.1.2 (latest available release) generates few deprecation messages running on PHP 8.4:

Deprecated: Microsoft\PhpParser\Parser::parseSourceFile(): Implicitly marking parameter $uri as nullable is deprecated, the explicit nullable type must be used instead in /XXX/microsoft/tolerant-php-parser/src/Parser.php on line 177
Deprecated: Microsoft\PhpParser\Token::getText(): Implicitly marking parameter $document as nullable is deprecated, the explicit nullable type must be used instead in /XXX/microsoft/tolerant-php-parser/src/Token.php on line 45
Deprecated: Microsoft\PhpParser\Node::getDescendantNodesAndTokens(): Implicitly marking parameter $shouldDescendIntoChildrenFn as nullable is deprecated, the explicit nullable type must be used instead in /XXX/microsoft/tolerant-php-parser/src/Node.php on line 152
...

That seems to have been fixed in #410.

@roblourens is it please possible to get a new release that includes the fix, so no deprecation messages are shown for 8.4?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions