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

[TASK] Replace hooks with PSR-14 events #467

Closed
wants to merge 1 commit into from

Conversation

rintisch
Copy link
Collaborator

Replace existing hooks with PSR-14 events

Todo:

  • Replace missing hooks

Fixes #452

@rintisch rintisch force-pushed the task/issue-452-replace-hooks branch from 33ce150 to 6e40801 Compare March 28, 2024 19:06
@rintisch
Copy link
Collaborator Author

@extcode
I do not really understand why the Events have interfaces. In opposite to hooks are the Event classes itself already the interface or do I miss something?

@rintisch rintisch force-pushed the task/issue-452-replace-hooks branch from 6e40801 to 70e4625 Compare March 28, 2024 19:22
@rintisch rintisch force-pushed the task/issue-452-replace-hooks branch from 70e4625 to 19daf12 Compare March 28, 2024 19:24
@extcode
Copy link
Owner

extcode commented Mar 29, 2024

I had started a branch some days ago and replacing the same hook. I think we do not need an Interface for this event. I added an interface for events, because I cycling over a list of events for different tasks.
I will finish my work.

@rintisch
Copy link
Collaborator Author

Okay, it was at least a nice learning for me. Maybe the documentation adaption might be useful for you :)

@extcode extcode closed this Apr 1, 2024
@rintisch rintisch deleted the task/issue-452-replace-hooks branch April 1, 2024 15:50
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.

Switch Hooks to PSR-14 Events
2 participants