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

Move final to an annotation so that event classes can be mocked in tests #1430

Merged
merged 1 commit into from
Feb 24, 2023

Conversation

mnapoli
Copy link
Member

@mnapoli mnapoli commented Feb 24, 2023

Fix #1396

PHPStan will honor the @final annotation for users that use it.

@mnapoli mnapoli added this to the 2.0 milestone Feb 24, 2023
@mnapoli mnapoli linked an issue Feb 24, 2023 that may be closed by this pull request
@mnapoli mnapoli merged commit d361bea into v2 Feb 24, 2023
@mnapoli mnapoli deleted the final-annotation branch February 24, 2023 09:43
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.

Make handlers more easily testable by removing final keyword
1 participant