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

Filename error: Traits/EventManagerTrait.php #835

Closed
rabrowne85 opened this issue Oct 22, 2017 · 3 comments
Closed

Filename error: Traits/EventManagerTrait.php #835

rabrowne85 opened this issue Oct 22, 2017 · 3 comments

Comments

@rabrowne85
Copy link
Contributor

When using the NestedSet behaviour of the MVC, the latest version of 3.2.x throws an error that Phalcon\Traits\EventManagerAwareTrait was not found.

Looking at the source, I feel that the filename is incorrect and should be: Traits\EventManagerAwareTrait.php and not Traits\EventManagerTrait.php.

Either that, or the trait name needs to be changed to EventManagerTrait and the corresponding reference in line 16 of the NestedSet behaviour needs changing.

@sergeyklay
Copy link
Contributor

@rabrowne85 Could you please send a fix?

@sergeyklay
Copy link
Contributor

// cc: @sergeysviridenko

sergeyklay added a commit that referenced this issue Oct 23, 2017
#835 - Rename of EventManagerTrait.php to EventManagerAwareTrait.php
@sergeyklay
Copy link
Contributor

Fixed in the latest stable release.
Thank you for the report, and for helping us make Phalcon better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants