Skip to content

[3.x] Add template annotations #109

[3.x] Add template annotations

[3.x] Add template annotations #109

Triggered via push July 10, 2023 13:16
Status Failure
Total duration 57s
Artifacts

ci.yml

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

Annotations

33 errors
PHPStan (PHP 8.2): tests/types/chaining.php#L29
Expected type React\Promise\PromiseInterface<int>, actual: React\Promise\PromiseInterface<bool>
PHPStan (PHP 8.2): tests/types/chaining.php#L29
Parameter #1 $onFulfilled of method React\Promise\PromiseInterface<bool>::then() expects (callable(bool): (bool|React\Promise\PromiseInterface<bool>|void))|null, Closure(bool): int<1, max> given.
PHPStan (PHP 8.2): tests/types/chaining.php#L32
Expected type React\Promise\PromiseInterface<int>, actual: React\Promise\PromiseInterface<bool>
PHPStan (PHP 8.2): tests/types/chaining.php#L32
Parameter #1 $onFulfilled of method React\Promise\PromiseInterface<bool>::then() expects (callable(bool): (bool|React\Promise\PromiseInterface<bool>|void))|null, 'React\\Promise\\Types…' given.
PHPStan (PHP 8.2)
Process completed with exit code 1.
PHPStan (PHP 7.4): tests/types/chaining.php#L29
Expected type React\Promise\PromiseInterface<int>, actual: React\Promise\PromiseInterface<bool>
PHPStan (PHP 7.4): tests/types/chaining.php#L29
Parameter #1 $onFulfilled of method React\Promise\PromiseInterface<bool>::then() expects (callable(bool): (bool|React\Promise\PromiseInterface<bool>|void))|null, Closure(bool): int<1, max> given.
PHPStan (PHP 7.4): tests/types/chaining.php#L32
Expected type React\Promise\PromiseInterface<int>, actual: React\Promise\PromiseInterface<bool>
PHPStan (PHP 7.4): tests/types/chaining.php#L32
Parameter #1 $onFulfilled of method React\Promise\PromiseInterface<bool>::then() expects (callable(bool): (bool|React\Promise\PromiseInterface<bool>|void))|null, 'React\\Promise\\Types…' given.
PHPStan (PHP 7.4)
Process completed with exit code 1.
PHPStan (PHP 8): tests/types/chaining.php#L29
Expected type React\Promise\PromiseInterface<int>, actual: React\Promise\PromiseInterface<bool>
PHPStan (PHP 8): tests/types/chaining.php#L29
Parameter #1 $onFulfilled of method React\Promise\PromiseInterface<bool>::then() expects (callable(bool): (bool|React\Promise\PromiseInterface<bool>|void))|null, Closure(bool): int<1, max> given.
PHPStan (PHP 8): tests/types/chaining.php#L32
Expected type React\Promise\PromiseInterface<int>, actual: React\Promise\PromiseInterface<bool>
PHPStan (PHP 8): tests/types/chaining.php#L32
Parameter #1 $onFulfilled of method React\Promise\PromiseInterface<bool>::then() expects (callable(bool): (bool|React\Promise\PromiseInterface<bool>|void))|null, 'React\\Promise\\Types…' given.
PHPStan (PHP 8)
Process completed with exit code 1.
PHPStan (PHP 7.3): tests/types/chaining.php#L29
Expected type React\Promise\PromiseInterface<int>, actual: React\Promise\PromiseInterface<bool>
PHPStan (PHP 7.3): tests/types/chaining.php#L29
Parameter #1 $onFulfilled of method React\Promise\PromiseInterface<bool>::then() expects (callable(bool): (bool|React\Promise\PromiseInterface<bool>|void))|null, Closure(bool): int<1, max> given.
PHPStan (PHP 7.3): tests/types/chaining.php#L32
Expected type React\Promise\PromiseInterface<int>, actual: React\Promise\PromiseInterface<bool>
PHPStan (PHP 7.3): tests/types/chaining.php#L32
Parameter #1 $onFulfilled of method React\Promise\PromiseInterface<bool>::then() expects (callable(bool): (bool|React\Promise\PromiseInterface<bool>|void))|null, 'React\\Promise\\Types…' given.
PHPStan (PHP 7.3)
Process completed with exit code 1.
PHPStan (PHP 7.2): tests/types/chaining.php#L29
Expected type React\Promise\PromiseInterface<int>, actual: React\Promise\PromiseInterface<bool>
PHPStan (PHP 7.2): tests/types/chaining.php#L29
Parameter #1 $onFulfilled of method React\Promise\PromiseInterface<bool>::then() expects (callable(bool): (bool|React\Promise\PromiseInterface<bool>|void))|null, Closure(bool): int<1, max> given.
PHPStan (PHP 7.2): tests/types/chaining.php#L32
Expected type React\Promise\PromiseInterface<int>, actual: React\Promise\PromiseInterface<bool>
PHPStan (PHP 7.2): tests/types/chaining.php#L32
Parameter #1 $onFulfilled of method React\Promise\PromiseInterface<bool>::then() expects (callable(bool): (bool|React\Promise\PromiseInterface<bool>|void))|null, 'React\\Promise\\Types…' given.
PHPStan (PHP 7.2)
Process completed with exit code 1.
PHPStan (PHP 8.1): tests/types/chaining.php#L29
Expected type React\Promise\PromiseInterface<int>, actual: React\Promise\PromiseInterface<bool>
PHPStan (PHP 8.1): tests/types/chaining.php#L29
Parameter #1 $onFulfilled of method React\Promise\PromiseInterface<bool>::then() expects (callable(bool): (bool|React\Promise\PromiseInterface<bool>|void))|null, Closure(bool): int<1, max> given.
PHPStan (PHP 8.1): tests/types/chaining.php#L32
Expected type React\Promise\PromiseInterface<int>, actual: React\Promise\PromiseInterface<bool>
PHPStan (PHP 8.1): tests/types/chaining.php#L32
Parameter #1 $onFulfilled of method React\Promise\PromiseInterface<bool>::then() expects (callable(bool): (bool|React\Promise\PromiseInterface<bool>|void))|null, 'React\\Promise\\Types…' given.
PHPStan (PHP 8.1)
Process completed with exit code 1.
PHPStan (PHP 7.1): tests/types/chaining.php#L29
Expected type React\Promise\PromiseInterface<int>, actual: React\Promise\PromiseInterface<bool>
PHPStan (PHP 7.1): tests/types/chaining.php#L32
Expected type React\Promise\PromiseInterface<int>, actual: React\Promise\PromiseInterface<bool>
PHPStan (PHP 7.1)
Process completed with exit code 1.