Skip to content

Add template types #142

Add template types

Add template types #142

Triggered via pull request November 30, 2023 22:35
Status Failure
Total duration 3m 17s
Artifacts

ci.yml

on: pull_request
Continuous Integration  /  ...  /  Supported Versions Matrix
3s
Continuous Integration / Continuous Integration / Supported Versions Matrix
Continuous Integration  /  ...  /  Supported Checks Matrix
8s
Continuous Integration / Continuous Integration / Supported Checks Matrix
Continuous Integration  /  ...  /  Package Name
4s
Continuous Integration / Continuous Integration / Package Name
Continuous Integration  /  ...  /  Supported Versions Matrix
5s
Continuous Integration / Set Milestone / Supported Versions Matrix
Continuous Integration  /  ...  /  Check Markdown links
20s
Continuous Integration / Check Markdown links / Check Markdown links
Continuous Integration  /  ...  /  Comment composer.lock diff
11s
Continuous Integration / Composer Diff / Comment composer.lock diff
Matrix: Continuous Integration / Continuous Integration / qa
Matrix: Continuous Integration / Continuous Integration / tests-directly-on-os
Matrix: Continuous Integration / Continuous Integration / can-require
Continuous Integration  /  ...  /  Set Milestone
0s
Continuous Integration / Set Milestone / Set Milestone
Continuous Integration  /  ...  /  ✔️
0s
Continuous Integration / Continuous Integration / ✔️
Fit to window
Zoom out
Zoom in

Annotations

36 errors and 2 warnings
Continuous Integration / Continuous Integration / Run stan on PHP 8.2 with locked dependency preference: src/AwaitingIterator.php#L31
PHPDoc tag @param for parameter $observable contains generic type Rx\ObservableInterface<mixed> but interface Rx\ObservableInterface is not generic.
Continuous Integration / Continuous Integration / Run stan on PHP 8.2 with locked dependency preference: src/AwaitingIterator.php#L62
Parameter #1 $value of method React\Promise\Deferred<T>::resolve() expects T, true given.
Continuous Integration / Continuous Integration / Run stan on PHP 8.2 with locked dependency preference: src/AwaitingIterator.php#L74
Parameter #1 $value of method React\Promise\Deferred<T>::resolve() expects T, false given.
Continuous Integration / Continuous Integration / Run stan on PHP 8.2 with highest dependency preference: src/AwaitingIterator.php#L31
PHPDoc tag @param for parameter $observable contains generic type Rx\ObservableInterface<mixed> but interface Rx\ObservableInterface is not generic.
Continuous Integration / Continuous Integration / Run stan on PHP 8.2 with highest dependency preference: src/AwaitingIterator.php#L62
Parameter #1 $value of method React\Promise\Deferred<T>::resolve() expects T, true given.
Continuous Integration / Continuous Integration / Run stan on PHP 8.2 with highest dependency preference: src/AwaitingIterator.php#L74
Parameter #1 $value of method React\Promise\Deferred<T>::resolve() expects T, false given.
Continuous Integration / Continuous Integration / Run stan on PHP 8.2 with highest dependency preference: src/AwaitingIterator.php#L110
Property WyriHaximus\React\AwaitingIterator<T>::$valid (React\Promise\Deferred<T>|null) does not accept React\Promise\Deferred<mixed>.
TooManyTemplateParams: ../../src/AwaitingIterator.php#L30
../../src/AwaitingIterator.php:30:16: TooManyTemplateParams: Rx\ObservableInterface<T:WyriHaximus\React\AwaitingIterator as mixed> has too many template params, expecting 0 (see https://psalm.dev/184)
InvalidArgument: ../../src/AwaitingIterator.php#L62
../../src/AwaitingIterator.php:62:25: InvalidArgument: Argument 1 of React\Promise\Deferred::resolve expects T:WyriHaximus\React\AwaitingIterator as mixed, but true provided (see https://psalm.dev/004)
InvalidArgument: ../../src/AwaitingIterator.php#L74
../../src/AwaitingIterator.php:74:25: InvalidArgument: Argument 1 of React\Promise\Deferred::resolve cannot be false, T:WyriHaximus\React\AwaitingIterator as mixed value expected (see https://psalm.dev/004)
MixedInferredReturnType: ../../src/AwaitingIterator.php#L79
../../src/AwaitingIterator.php:79:16: MixedInferredReturnType: Could not verify return type 'T' for WyriHaximus\React\AwaitingIterator::current (see https://psalm.dev/047)
MixedReturnStatement: ../../src/AwaitingIterator.php#L83
../../src/AwaitingIterator.php:83:16: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
Continuous Integration / Continuous Integration / Run stan on PHP 8.2 with lowest dependency preference: src/AwaitingIterator.php#L31
PHPDoc tag @param for parameter $observable contains generic type Rx\ObservableInterface<mixed> but interface Rx\ObservableInterface is not generic.
Continuous Integration / Continuous Integration / Run stan on PHP 8.2 with lowest dependency preference: src/AwaitingIterator.php#L62
Parameter #1 $value of method React\Promise\Deferred<T>::resolve() expects T, true given.
Continuous Integration / Continuous Integration / Run stan on PHP 8.2 with lowest dependency preference: src/AwaitingIterator.php#L74
Parameter #1 $value of method React\Promise\Deferred<T>::resolve() expects T, false given.
Continuous Integration / Continuous Integration / Run stan on PHP 8.3 with highest dependency preference: src/AwaitingIterator.php#L31
PHPDoc tag @param for parameter $observable contains generic type Rx\ObservableInterface<mixed> but interface Rx\ObservableInterface is not generic.
Continuous Integration / Continuous Integration / Run stan on PHP 8.3 with highest dependency preference: src/AwaitingIterator.php#L62
Parameter #1 $value of method React\Promise\Deferred<T>::resolve() expects T, true given.
Continuous Integration / Continuous Integration / Run stan on PHP 8.3 with highest dependency preference: src/AwaitingIterator.php#L74
Parameter #1 $value of method React\Promise\Deferred<T>::resolve() expects T, false given.
Continuous Integration / Continuous Integration / Run stan on PHP 8.3 with highest dependency preference: src/AwaitingIterator.php#L110
Property WyriHaximus\React\AwaitingIterator<T>::$valid (React\Promise\Deferred<T>|null) does not accept React\Promise\Deferred<mixed>.
Continuous Integration / Continuous Integration / Run stan on PHP 8.3 with locked dependency preference: src/AwaitingIterator.php#L31
PHPDoc tag @param for parameter $observable contains generic type Rx\ObservableInterface<mixed> but interface Rx\ObservableInterface is not generic.
Continuous Integration / Continuous Integration / Run stan on PHP 8.3 with locked dependency preference: src/AwaitingIterator.php#L62
Parameter #1 $value of method React\Promise\Deferred<T>::resolve() expects T, true given.
Continuous Integration / Continuous Integration / Run stan on PHP 8.3 with locked dependency preference: src/AwaitingIterator.php#L74
Parameter #1 $value of method React\Promise\Deferred<T>::resolve() expects T, false given.
TooManyTemplateParams: ../../src/AwaitingIterator.php#L30
../../src/AwaitingIterator.php:30:16: TooManyTemplateParams: Rx\ObservableInterface<T:WyriHaximus\React\AwaitingIterator as mixed> has too many template params, expecting 0 (see https://psalm.dev/184)
InvalidArgument: ../../src/AwaitingIterator.php#L62
../../src/AwaitingIterator.php:62:25: InvalidArgument: Argument 1 of React\Promise\Deferred::resolve expects T:WyriHaximus\React\AwaitingIterator as mixed, but true provided (see https://psalm.dev/004)
InvalidArgument: ../../src/AwaitingIterator.php#L74
../../src/AwaitingIterator.php:74:25: InvalidArgument: Argument 1 of React\Promise\Deferred::resolve cannot be false, T:WyriHaximus\React\AwaitingIterator as mixed value expected (see https://psalm.dev/004)
MixedInferredReturnType: ../../src/AwaitingIterator.php#L79
../../src/AwaitingIterator.php:79:16: MixedInferredReturnType: Could not verify return type 'T' for WyriHaximus\React\AwaitingIterator::current (see https://psalm.dev/047)
MixedReturnStatement: ../../src/AwaitingIterator.php#L83
../../src/AwaitingIterator.php:83:16: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
Continuous Integration / Continuous Integration / Run stan on PHP 8.3 with lowest dependency preference: src/AwaitingIterator.php#L31
PHPDoc tag @param for parameter $observable contains generic type Rx\ObservableInterface<mixed> but interface Rx\ObservableInterface is not generic.
Continuous Integration / Continuous Integration / Run stan on PHP 8.3 with lowest dependency preference: src/AwaitingIterator.php#L62
Parameter #1 $value of method React\Promise\Deferred<T>::resolve() expects T, true given.
Continuous Integration / Continuous Integration / Run stan on PHP 8.3 with lowest dependency preference: src/AwaitingIterator.php#L74
Parameter #1 $value of method React\Promise\Deferred<T>::resolve() expects T, false given.
Continuous Integration / Continuous Integration / Package Name
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Continuous Integration / Continuous Integration / Supported Checks Matrix
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/