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

Rector still changes PHPDoc annotation although there is no rule for that #5018

Closed
Guuzen opened this issue Dec 28, 2020 · 1 comment
Closed
Labels

Comments

@Guuzen
Copy link

Guuzen commented Dec 28, 2020

Bug Report

Subject Details
Rector version v0.9.0
Installed as composer dependency

Same type of issue as described in #4620
Tested migration to php 8 and faced issue that route annotations formatting was changed.

Minimal PHP Code Causing Issue

https://getrector.org/demo/90d8b757-e337-4f50-8b39-17d91d7a0248

Expected Behaviour

Annotation for routes should not change because there is no explicit rule about it.

@Guuzen Guuzen added the bug label Dec 28, 2020
@TomasVotruba
Copy link
Member

Thanks for reporting.

Until #4334 is finished, the only way around is to use inlined form:
https://getrector.org/demo/db0282f7-a0e4-4f9a-b181-a9dbe463478e

Closing as sub-issue of #4334

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants