-
Notifications
You must be signed in to change notification settings - Fork 659
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
Make Psalter add @throws
annotation with properly namespaced exception
#8480
Make Psalter add @throws
annotation with properly namespaced exception
#8480
Conversation
@throws
annotation with properly namespaced exception
I'm surprised it fixed the issue. Did you find what was the cause of the problem for it to be solved by adding a slash? |
@orklah I haven't checked, but I'd assume it's currently adding |
@orklah I did not dive deeper back into the origin of this issue. But I’m glad to hear that you find this an odd fix as well. I’ll have a look in the upcoming days to dive deeper into the original source. @AndrolGenhald Adding the |
That makes sense, I hadn't considered that scenario.
Yeah, please do. That way if anyone ever tries to get it to use already- |
The I found a usage of the So the end result that Psalter generates now is a lot nicer, which the tests show. |
Looks great! Could you rebase on 4.x to fix the failing code style check? |
5c8ce92
to
3a6b709
Compare
@AndrolGenhald Done. Rebased & pushed |
Seems great! Thanks! |
Fixes #8467.
I've added the test provided in #8467, fixed that by prefixing the classname with a backslash and updated other tests.
I'm not certain if the fix for the exception class is now in the right place, and if there are possibly utilities to solve this. If there are, I'd be happy to apply them.
Running
$ composer tests
failed because of the same reasons for which the current main branch fails.