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

Lock event classes #7491

Merged
merged 2 commits into from Jan 26, 2022
Merged

Lock event classes #7491

merged 2 commits into from Jan 26, 2022

Commits on Jan 26, 2022

  1. Lock event classes

    This makes all event (`Psalm\Plugin\EventHandler\Event\*`) classes
    `final`, allowing us to add methods to them without breaking BC.
    
    Additionally all constructors of those classes are made `@internal` as
    plugins are not supposed to emit events.
    weirdan committed Jan 26, 2022
    Copy the full SHA
    7503f23 View commit details
    Browse the repository at this point in the history
  2. Update UPGRADING.md

    weirdan committed Jan 26, 2022
    Copy the full SHA
    1a15db8 View commit details
    Browse the repository at this point in the history