-
Notifications
You must be signed in to change notification settings - Fork 2
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
Update repository #3
Conversation
This is necessary for event and manager factories
- Documentation corrected. - `trigger()` now accepts only one argument - the event instance. - Forward compatibility maintained, i.e. an implementation of the PSR event manager can implement the Dhii manager interface.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Just missing the tests for the factory interfaces.
FQNs refactored. Paths updated.
Fixes #2.
</include_path> | ||
</component> | ||
<component name="PhpProjectSharedConfiguration" php_language_level="5.3.0" /> | ||
<component name="PhpUnit"> | ||
<phpunit_settings> | ||
<PhpUnitSettings load_method="CUSTOM_LOADER" configuration_file_path="F:/projects/dhii/psr-14/phpunit.xml" custom_loader_path="F:/projects/dhii/psr-14/vendor/autoload.php" phpunit_phar_path="" use_configuration_file="true" /> | ||
<PhpUnitSettings load_method="CUSTOM_LOADER" custom_loader_path="F:/projects/dhii/event-interface/vendor/autoload.php" phpunit_phar_path="" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is it that this config entry never uses the $PROJECT_DIR$
variable for you?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mystery. Does it for you?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. In fact when I clone projects that have paths like this, after changing the beginning of the path from F:\projects
to my D:\dev
, PHPS automatically changes it to $PROJECT_DIR$
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would love my configs to do that. But they don't. Do you remember what it was like before the PHPS update?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No. Would have to go look at some projects that I had created at the time.
EventInterface
andEventManagerInterface
.EventManagerInterface
no longer extends PSR interface, and is strict, yet forward-compatible.Fixes #3.
Fixes #2.
Fixes #1.