Skip to content

New release request #420

Description

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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