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

[PhpDocParser] Make use of native attributes #5841

Merged
merged 7 commits into from
Mar 19, 2021

Conversation

TomasVotruba
Copy link
Member

@TomasVotruba TomasVotruba commented Mar 14, 2021

Waits on phpstan/phpdoc-parser#57 to be merged.

Then it's ready to 🚀

@TomasVotruba TomasVotruba changed the title phpdoc with attributes 2 [WIP] [PhpDocParser] Make use of native attributes - step #1 Mar 14, 2021
composer.json Outdated Show resolved Hide resolved
@TomasVotruba TomasVotruba force-pushed the phpdoc-with-attributes-2 branch 8 times, most recently from 4ba6f14 to 241eee0 Compare March 14, 2021 13:36
@TomasVotruba TomasVotruba force-pushed the phpdoc-with-attributes-2 branch 13 times, most recently from 4d290f3 to e7b516f Compare March 14, 2021 19:34
@TomasVotruba TomasVotruba changed the title [WIP] [PhpDocParser] Make use of native attributes - step #1 [PhpDocParser] Make use of native attributes Mar 14, 2021
@TomasVotruba TomasVotruba force-pushed the phpdoc-with-attributes-2 branch 4 times, most recently from 30ddfb9 to 7f91c3e Compare March 18, 2021 09:26
@TomasVotruba TomasVotruba force-pushed the phpdoc-with-attributes-2 branch 2 times, most recently from 6203015 to 0e591d5 Compare March 19, 2021 09:57
@TomasVotruba TomasVotruba mentioned this pull request Mar 19, 2021
@TomasVotruba TomasVotruba force-pushed the phpdoc-with-attributes-2 branch from 0e591d5 to 23241ed Compare March 19, 2021 11:32
@TomasVotruba TomasVotruba force-pushed the phpdoc-with-attributes-2 branch from d6fcba7 to 207326d Compare March 19, 2021 11:39
@TomasVotruba
Copy link
Member Author

There is a BC break in phpstan/phpdoc-parser@b451b2f

Trying to figure out the fix now

@ondrejmirtes
Copy link
Contributor

What BC break?

@TomasVotruba
Copy link
Member Author

TomasVotruba commented Mar 19, 2021

@ondrejmirtes Format preserving with spaces. We're trying to detect old spaces from old code with regular expression and it now fails, because it's one less token somewhere.

image

@TomasVotruba TomasVotruba force-pushed the phpdoc-with-attributes-2 branch 3 times, most recently from bf07a9e to 44a89fe Compare March 19, 2021 14:10
@TomasVotruba TomasVotruba force-pushed the phpdoc-with-attributes-2 branch 2 times, most recently from 03e9eff to b38f56f Compare March 19, 2021 14:23
@TomasVotruba TomasVotruba force-pushed the phpdoc-with-attributes-2 branch from 330e0bc to 9c108ef Compare March 19, 2021 14:25
@TomasVotruba TomasVotruba enabled auto-merge (squash) March 19, 2021 14:32
@TomasVotruba TomasVotruba merged commit 025e6ed into main Mar 19, 2021
@TomasVotruba TomasVotruba deleted the phpdoc-with-attributes-2 branch March 19, 2021 14:34
TomasVotruba added a commit that referenced this pull request Apr 22, 2024
TomasVotruba added a commit that referenced this pull request Apr 22, 2024
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.

Interface 'Symplify\RuleDocGenerator\Contract\DocumentedRuleInterface' not found
3 participants