You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm upgrading my project from phalcon 4 (php 7.4) to phalcon 5 (php 8.1) and I'm getting this deprecation message Method ReflectionParameter::getClass() is deprecated in ....
I checked my code and I'm not using the reflection, I also checked the dependencies, then I dug into phalcon code and I found the following line in phalcon/Acl/Adapter/Memory.zep:705: let reflectionClass = reflectionParameter->getClass(),.
joepsyko
changed the title
[BUG]: Method ReflectionParameter::getClass() is deprecated
Method ReflectionParameter::getClass() is deprecated
Jan 9, 2023
niden
changed the title
Method ReflectionParameter::getClass() is deprecated
[BUG]: Method ReflectionParameter::getClass() is deprecated
Jan 9, 2023
Sorry for not using the template.
I'm upgrading my project from phalcon 4 (php 7.4) to phalcon 5 (php 8.1) and I'm getting this deprecation message
Method ReflectionParameter::getClass() is deprecated in ...
.I checked my code and I'm not using the reflection, I also checked the dependencies, then I dug into phalcon code and I found the following line in phalcon/Acl/Adapter/Memory.zep:705:
let reflectionClass = reflectionParameter->getClass(),
.ReflectionParameter::getClass with some other reflection methods have been deprecated since php 8: https://www.php.net/manual/en/reflectionparameter.getclass.php
Is that something you are aware of?
I forgot, I call
AclList::isAllowed
at the line I have the deprecation message.The text was updated successfully, but these errors were encountered: