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

PHP 7.4 - Cannot use "parent" when current class scope has no parent #11

Closed
mabar opened this issue Jul 5, 2019 · 3 comments
Closed

PHP 7.4 - Cannot use "parent" when current class scope has no parent #11

mabar opened this issue Jul 5, 2019 · 3 comments

Comments

@mabar
Copy link

@mabar mabar commented Jul 5, 2019

PHP 7.4 reports E_DEPRECATED: Cannot use "parent" when current class scope has no parent at this line. I am not sure what is purpose of parent call here, but shouldn't it be $this->?

https://travis-ci.org/contributte/di/jobs/554846041#L242-L262

dg added a commit that referenced this issue Jul 7, 2019
@dg dg closed this Jul 7, 2019
@ondrejmirtes

This comment has been minimized.

Copy link

@ondrejmirtes ondrejmirtes commented Sep 13, 2019

I'd like this fix to be released, thank you.

@dg

This comment has been minimized.

Copy link
Member

@dg dg commented Sep 13, 2019

Done

@ondrejmirtes

This comment has been minimized.

Copy link

@ondrejmirtes ondrejmirtes commented Sep 13, 2019

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.