Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable classmap authoritative autoloading #1046

Merged
merged 15 commits into from
Dec 6, 2024

Conversation

ghostwriter
Copy link
Contributor

@ghostwriter ghostwriter commented Dec 4, 2024

This patch resolves #1045, via the following changes:

Added namespace and a conditional class declaration in:

  • lib/PhpParser/Node/Expr/ArrayItem.php
  • lib/PhpParser/Node/Expr/ClosureUse.php
  • lib/PhpParser/Node/Scalar/DNumber.php
  • lib/PhpParser/Node/Scalar/Encapsed.php
  • lib/PhpParser/Node/Scalar/EncapsedStringPart.php
  • lib/PhpParser/Node/Scalar/LNumber.php
  • lib/PhpParser/Node/Stmt/DeclareDeclare.php
  • lib/PhpParser/Node/Stmt/PropertyProperty.php
  • lib/PhpParser/Node/Stmt/StaticVar.php
  • lib/PhpParser/Node/Stmt/UseUse.php

Signed-off-by: Nathanael Esayeas <nathanael.esayeas@protonmail.com>
Signed-off-by: Nathanael Esayeas <nathanael.esayeas@protonmail.com>
Signed-off-by: Nathanael Esayeas <nathanael.esayeas@protonmail.com>
Signed-off-by: Nathanael Esayeas <nathanael.esayeas@protonmail.com>
Signed-off-by: Nathanael Esayeas <nathanael.esayeas@protonmail.com>
Signed-off-by: Nathanael Esayeas <nathanael.esayeas@protonmail.com>
Signed-off-by: Nathanael Esayeas <nathanael.esayeas@protonmail.com>
Signed-off-by: Nathanael Esayeas <nathanael.esayeas@protonmail.com>
Signed-off-by: Nathanael Esayeas <nathanael.esayeas@protonmail.com>
Signed-off-by: Nathanael Esayeas <nathanael.esayeas@protonmail.com>
Signed-off-by: Nathanael Esayeas <nathanael.esayeas@protonmail.com>
composer.json Outdated Show resolved Hide resolved
lib/PhpParser/Node/Expr/ArrayItem.php Show resolved Hide resolved
Signed-off-by: Nathanael Esayeas <nathanael.esayeas@protonmail.com>
Signed-off-by: Nathanael Esayeas <nathanael.esayeas@protonmail.com>
Signed-off-by: Nathanael Esayeas <nathanael.esayeas@protonmail.com>
@nikic nikic merged commit 469377f into nikic:master Dec 6, 2024
10 checks passed
@ghostwriter ghostwriter deleted the oss/nikic/php-parser/issues-1045 branch December 6, 2024 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PHP-Parser cannot be installed in classmap-authoritative=true enabled projects that use deprecated class names
2 participants