8000 Bump to PHPStan 2.1.17 and handle unknown class "PHPStan\\Broker\\ClassAutoloadingException" by samsonasik · Pull Request #6918 · rectorphp/rector-src · GitHub
[go: up one dir, main page]

Skip to content

Bump to PHPStan 2.1.17 and handle unknown class "PHPStan\\Broker\\ClassAutoloadingException" #6918

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

Merged
merged 4 commits into from
May 22, 2025

Conversation

samsonasik
Copy link
Member
@samsonasik samsonasik commented May 22, 2025

Latest new PHPStan cause error:


  src/NodeTypeResolver/NodeTypeResolver.php:133
 ------------------------------------------------------------------------
  - '#Caught class PHPStan\\Broker\\ClassAutoloadingException not found#'
  🪪 class.notFound
 ------------------------------------------------------------------------

This PR try to fix it.

Also Closes #6917 which the issue detected.

@samsonasik
Copy link
Member Author

@samsonasik
Copy link
Member Author

Fixed with use of PHPStan\Broker\ClassNotFoundException, ref phpstan/phpstan-src@2.1.16...2.1.17#diff-62297558d71c59731140638b18ccb2d121f7e7aecd89e9688f5a6a213a982f4f

@samsonasik samsonasik force-pushed the bump-phpstan-2117 branch from 2d5a963 to 5d22787 Compare May 22, 2025 00:05
@samsonasik
Copy link
Member Author

All checks have passed 🎉 @TomasVotruba I am merging it ;)

@samsonasik samsonasik merged commit 7a3af84 into main May 22, 2025
45 checks passed
@samsonasik samsonasik deleted the bump-phpstan-2117 branch May 22, 2025 00:07
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.

1 participant
0