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

fix readonly final class architecture side effect issue PHP8.2 #645

Merged
merged 7 commits into from
Sep 28, 2023

Conversation

helyakin
Copy link
Contributor

@helyakin helyakin commented Apr 24, 2023

Q A
Bug fix? yes
New feature? no
Fixed tickets #637

So this fix the [Architecture] Normal classes are forbidden. Classes must be final or abstract error message.

To fix the [Style] Side effects this PR to PHP_CodeSniffer SideEffectsSniff is currently being made and reviewed following this issue

I'm not quite sur about how to create tests for this new behavior as I haven't seen any test for the currently working behavior.
But I'd be happy to be wrong about this statement and to be showed which test I should update !

@helyakin
Copy link
Contributor Author

@cmgmyr, @JustSteveKing or @nunomaduro, would it be possible to have an update on this PR ?

Thank you so much

@cmgmyr
Copy link
Collaborator

cmgmyr commented Sep 28, 2023

Thanks! I'm going to leave this in master for a few days to make sure there aren't any issues

@cmgmyr cmgmyr merged commit 382f294 into nunomaduro:master Sep 28, 2023
43 checks passed
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.

2 participants