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

Clarify that classes should follow the same modifier order as methods. #41

Merged
merged 1 commit into from
Nov 10, 2022

Conversation

Crell
Copy link
Collaborator

@Crell Crell commented Sep 12, 2022

This effectively covers readonly classes in PHP 8.2, because the order of readonly and abstract is already defined. It also means any future keywords added to either can follow the same ruleset, so we know exactly what is to be expected.

@Crell Crell mentioned this pull request Sep 12, 2022
25 tasks
spec.md Show resolved Hide resolved
spec.md Show resolved Hide resolved
@KorvinSzanto KorvinSzanto merged commit 715c3c8 into php-fig:master Nov 10, 2022
@Crell Crell deleted the readonly-class branch November 11, 2022 15:55
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.

None yet

4 participants