-
-
Notifications
You must be signed in to change notification settings - Fork 188
[ECS] NewlineInNestedAnnotationFixer exception #2083
Comments
Stacktrace:
|
I'm not exactly sure what this fixer is supposed to do but seems like something with Doctrine Annotations that contain other annotations? If that's the case then the only nested annotation in the file where it crashed was this:
All other Doctrine Annotations in the file are non-nested. |
Might have been fixed in #2084, I'll have to check... |
Seems to be fixed now but the output is not what I would expect based on your tweet: https://twitter.com/VotrubaT/status/1295749739879829505 Before:
After:
Expected:
|
See #2078 Resp. |
Oh I see. So I should refactor my
to use the But the SetList contains more sets that I knew about. Where can I look which sets are already a part of another set to avoid duplication? Should I use them in any specific order? |
Okay... 2 things I'm wondering about...:
|
-@see some @type
+@see some @type() Try it on your code. See this reported in the original PHP CS Fixer PR: PHP-CS-Fixer/PHP-CS-Fixer#2220 (comment) |
|
👍 Closing as original issue is resolved |
The text was updated successfully, but these errors were encountered: