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

DX: Report more precise errors in VerifyRectorServiceExistsCompilerPass #97

Merged
merged 6 commits into from
Jun 14, 2021

Conversation

staabm
Copy link
Contributor

@staabm staabm commented May 24, 2021

before this change, rector always reports Rector rule "%s" not found, please verify that the rule exists. no matter whether the rector rule was not found at all, or it a class was found but did not implement the proper interface

phpstan.neon Outdated Show resolved Hide resolved
@staabm staabm changed the title Report more precise errors in VerifyRectorServiceExistsCompilerPass DX: Report more precise errors in VerifyRectorServiceExistsCompilerPass May 24, 2021
phpstan.neon Outdated Show resolved Hide resolved
@staabm
Copy link
Contributor Author

staabm commented May 24, 2021

Changed the involved messages to be more descriptive

@TomasVotruba
Copy link
Member

Looks good. Thanks 👍

@TomasVotruba TomasVotruba merged commit 64cea0a into rectorphp:main Jun 14, 2021
@staabm staabm deleted the better-error branch October 8, 2021 11:25
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.

2 participants