-
Notifications
You must be signed in to change notification settings - Fork 68
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
Call to undefined method ReflectionType::getName() #189
Comments
A simple fix is to remove the corresponding |
Unfortunately there is no solution to this which supports PHP 7.0 and PHP 7.1+. The solution is to fix composer.json to minimum version 7.1. |
mundschenk-at
added a commit
to mundschenk-at/Dice
that referenced
this issue
Mar 12, 2021
$param_type_name = PHP_VERSION_ID < 70100 ? $param->getType()->__toString() : $param->getType()->getName();
if (call_user_func("is_{$param_type_name}", $args[$i])) { |
hirnsturm
added a commit
to hirnsturm/phing-typo3-deployer
that referenced
this issue
Nov 23, 2021
Because of issue Level-2/Dice#189
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
commit dfcaaca reintroduce the call to
ReflectionType::getName()
which is't supported in php7.0 , whileReflectionType::__toString()
is deprecated from php7.1.composer.json
currently states compatibility with php>=7.0.0see previous issue #140
The text was updated successfully, but these errors were encountered: