-
-
Notifications
You must be signed in to change notification settings - Fork 150
Closed
Labels
Milestone
Description
The "otherwise" method on Promise seems to have a problem with PHP8
it will throw this exception :
#message: "Method ReflectionParameter::getClass() is deprecated"
#code: 0
#file: "./vendor/react/promise/src/functions.php"
#line: 346
#severity: E_DEPRECATED
it seems the problem is caused by :
\React\Promise\Promise - Line : 77
\React\Promise - functions.php - Line : 346
Line 346 in a9752a8
| if (!$expectedException->getClass()) { |
update:
This method is deprecated in the current version of PHP (8) :
Reference
This notice can be turned off using native php error_reporting() function.
Reference
run time error reporting setting :
error_reporting(error_reporting() & ~E_DEPRECATED);
quazardous