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
# ignore generic usage like `PromiseInterface<ResponseInterface>` until fixed upstream
12
+
- '/^PHPDoc tag @return contains generic type React\\Promise\\PromiseInterface<Psr\\Http\\Message\\ResponseInterface> but interface React\\Promise\\PromiseInterface is not generic\.$/'
13
+
# ignore unknown `Fiber` class (PHP 8.1+)
14
+
- '/^Instantiated class Fiber not found\.$/'
15
+
- '/^Call to method (start|isTerminated|getReturn)\(\) on an unknown class Fiber\.$/'
16
+
# ignore incomplete type information for mocks in legacy PHPUnit 7.5
17
+
- '/^Parameter #\d+ \$.+ of class .+ constructor expects .+, PHPUnit\\Framework\\MockObject\\MockObject given\.$/'
/** @var mixed $loader explicit type check for mixed if user ignores parameter type */
19
20
if (!\is_array($loader) && !$loaderinstanceof ContainerInterface) {
20
21
thrownew \TypeError(
21
22
'Argument #1 ($loader) must be of type array|Psr\Container\ContainerInterface, ' . (\is_object($loader) ? get_class($loader) : gettype($loader)) . ' given'
@@ -233,6 +234,7 @@ private function loadParameter(\ReflectionParameter $parameter, int $depth, bool
0 commit comments