Skip to content

[4.x] Add template annotations #254

[4.x] Add template annotations

[4.x] Add template annotations #254

Triggered via pull request August 8, 2023 06:20
Status Failure
Total duration 30s
Artifacts

ci.yml

on: pull_request
Matrix: PHPStan
Matrix: PHPUnit
Fit to window
Zoom out
Zoom in

Annotations

20 errors
PHPStan (PHP 8.1): tests/CoroutineTest.php#L23
Parameter #1 $function of function React\Async\coroutine expects callable(mixed ...): (Generator<mixed, React\Promise\PromiseInterface<mixed>, mixed, int>|int), Closure(): Generator<int, null, mixed, 42> given.
PHPStan (PHP 8.1): tests/CoroutineTest.php#L54
Parameter #1 $function of function React\Async\coroutine expects callable(mixed ...): Generator<mixed, React\Promise\PromiseInterface<mixed>, mixed, never>, Closure(): Generator<int, null, mixed, never> given.
PHPStan (PHP 8.1): tests/CoroutineTest.php#L102
Parameter #1 $function of function React\Async\coroutine expects callable(mixed ...): (Generator<mixed, React\Promise\PromiseInterface<mixed>, mixed, void>|void), Closure(): Generator<int, 42, mixed, void> given.
PHPStan (PHP 8.1): tests/CoroutineTest.php#L170
Parameter #1 $function of function React\Async\coroutine expects callable(mixed ...): (Generator<mixed, React\Promise\PromiseInterface<mixed>, mixed, int>|int), Closure(): Generator<int, null, mixed, 42> given.
PHPStan (PHP 8.1): tests/CoroutineTest.php#L252
Parameter #1 $function of function React\Async\coroutine expects callable(mixed ...): (Generator<mixed, React\Promise\PromiseInterface<mixed>, mixed, void>|void), Closure(): Generator<int, 42, mixed, void> given.
PHPStan (PHP 8.1): tests/types/coroutine.php#L12
Expected type React\Promise\PromiseInterface<bool>, actual: React\Promise\PromiseInterface<mixed>
PHPStan (PHP 8.1): tests/types/coroutine.php#L22
Expected type React\Promise\PromiseInterface<bool>, actual: React\Promise\PromiseInterface<mixed>
PHPStan (PHP 8.1): tests/types/coroutine.php#L43
Expected type bool, actual: mixed
PHPStan (PHP 8.2): tests/CoroutineTest.php#L23
Parameter #1 $function of function React\Async\coroutine expects callable(mixed ...): (Generator<mixed, React\Promise\PromiseInterface<mixed>, mixed, int>|int), Closure(): Generator<int, null, mixed, 42> given.
PHPStan (PHP 8.2): tests/CoroutineTest.php#L54
Parameter #1 $function of function React\Async\coroutine expects callable(mixed ...): Generator<mixed, React\Promise\PromiseInterface<mixed>, mixed, never>, Closure(): Generator<int, null, mixed, never> given.
PHPStan (PHP 8.1): tests/types/waterfall.php#L10
Expected type React\Promise\PromiseInterface<array>, actual: React\Promise\PromiseInterface<mixed>
PHPStan (PHP 8.2): tests/CoroutineTest.php#L102
Parameter #1 $function of function React\Async\coroutine expects callable(mixed ...): (Generator<mixed, React\Promise\PromiseInterface<mixed>, mixed, void>|void), Closure(): Generator<int, 42, mixed, void> given.
PHPStan (PHP 8.2): tests/CoroutineTest.php#L170
Parameter #1 $function of function React\Async\coroutine expects callable(mixed ...): (Generator<mixed, React\Promise\PromiseInterface<mixed>, mixed, int>|int), Closure(): Generator<int, null, mixed, 42> given.
PHPStan (PHP 8.2): tests/CoroutineTest.php#L252
Parameter #1 $function of function React\Async\coroutine expects callable(mixed ...): (Generator<mixed, React\Promise\PromiseInterface<mixed>, mixed, void>|void), Closure(): Generator<int, 42, mixed, void> given.
PHPStan (PHP 8.2): tests/types/coroutine.php#L12
Expected type React\Promise\PromiseInterface<bool>, actual: React\Promise\PromiseInterface<mixed>
PHPStan (PHP 8.1)
Process completed with exit code 1.
PHPStan (PHP 8.2): tests/types/coroutine.php#L22
Expected type React\Promise\PromiseInterface<bool>, actual: React\Promise\PromiseInterface<mixed>
PHPStan (PHP 8.2): tests/types/coroutine.php#L43
Expected type bool, actual: mixed
PHPStan (PHP 8.2): tests/types/waterfall.php#L10
Expected type React\Promise\PromiseInterface<array>, actual: React\Promise\PromiseInterface<mixed>
PHPStan (PHP 8.2)
Process completed with exit code 1.