[3.x] Add template annotations #109
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.
|