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

PHP 8.1 | File::getMethodParameters(): allow for readonly keyword #3516

Conversation

jrfnl
Copy link
Contributor

@jrfnl jrfnl commented Dec 20, 2021

... in constructor property promotion.

Note: the property_readonly key will always be added when constructor property promotion has been detected. The readonly_token only when the readonly token has actually been found.

Includes unit tests.

... in constructor property promotion.

Note: the `property_readonly` key will always be added when constructor property promotion has been detected. The `readonly_token` only when the `readonly` token has actually been found.

Includes unit tests.
@gsherwood gsherwood added this to Idea Bank in PHPCS v3 Development via automation Dec 20, 2021
@gsherwood gsherwood added this to the 3.7.0 milestone Dec 20, 2021
gsherwood added a commit that referenced this pull request Jan 17, 2022
@gsherwood gsherwood merged commit e6221c7 into squizlabs:master Jan 17, 2022
PHPCS v3 Development automation moved this from Idea Bank to Ready for Release Jan 17, 2022
@gsherwood
Copy link
Member

Thanks a lot for adding this support.

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

Successfully merging this pull request may close these issues.

None yet

2 participants