Add support template types #28
Annotations
124 errors and 12 warnings
PHPUnit (PHP 7.2 on ubuntu-20.04)
Process completed with exit code 255.
|
PHPStan (PHP 8 on ubuntu-20.04):
src/Notification.php#L27
Method Rx\Notification::accept() with return type void returns void but should not return anything.
|
PHPStan (PHP 8 on ubuntu-20.04):
src/Notification.php#L27
Parameter #1 $onNext of method Rx\Notification::doAccept() expects callable(T): void, (callable(T): void)|Rx\ObserverInterface given.
|
PHPStan (PHP 8 on ubuntu-20.04):
src/Notification.php#L27
Result of method Rx\Notification::doAccept() (void) is used.
|
PHPStan (PHP 8 on ubuntu-20.04):
src/Notification.php#L30
Method Rx\Notification::equals() has parameter $other with no type specified.
|
PHPStan (PHP 8 on ubuntu-20.04):
src/Notification.php#L32
Cannot cast $this(Rx\Notification) to string.
|
PHPStan (PHP 8 on ubuntu-20.04):
src/Notification/OnNextNotification.php#L39
Parameter #1 $ of callable callable(T): void expects T, T given.
|
PHPStan (PHP 8 on ubuntu-20.04):
src/Notification/OnNextNotification.php#L47
Method Rx\Notification\OnNextNotification::equals() has parameter $other with no type specified.
|
PHPStan (PHP 8 on ubuntu-20.04):
src/Observable.php#L101
Result of && is always false.
|
PHPStan (PHP 8 on ubuntu-20.04):
src/Observable.php#L115
Cannot call method onError() on Rx\Observer\CallbackObserver|null.
|
PHPStan (PHP 8 on ubuntu-20.04):
src/Observable.php#L174
PHPDoc tag @param for parameter $scheduler with type Rx\SchedulerInterface|null is not subtype of native type Rx\AsyncSchedulerInterface|null.
|
PHPStan (PHP 8.1 on ubuntu-20.04):
src/Notification.php#L27
Method Rx\Notification::accept() with return type void returns void but should not return anything.
|
PHPStan (PHP 8.1 on ubuntu-20.04):
src/Notification.php#L27
Parameter #1 $onNext of method Rx\Notification::doAccept() expects callable(T): void, (callable(T): void)|Rx\ObserverInterface given.
|
PHPStan (PHP 8.1 on ubuntu-20.04):
src/Notification.php#L27
Result of method Rx\Notification::doAccept() (void) is used.
|
PHPStan (PHP 8.1 on ubuntu-20.04):
src/Notification.php#L30
Method Rx\Notification::equals() has parameter $other with no type specified.
|
PHPStan (PHP 8.1 on ubuntu-20.04):
src/Notification.php#L32
Cannot cast $this(Rx\Notification) to string.
|
PHPStan (PHP 8.1 on ubuntu-20.04):
src/Notification/OnNextNotification.php#L39
Parameter #1 $ of callable callable(T): void expects T, T given.
|
PHPStan (PHP 8.1 on ubuntu-20.04):
src/Notification/OnNextNotification.php#L47
Method Rx\Notification\OnNextNotification::equals() has parameter $other with no type specified.
|
PHPStan (PHP 8.1 on ubuntu-20.04):
src/Observable.php#L101
Result of && is always false.
|
PHPStan (PHP 8.1 on ubuntu-20.04):
src/Observable.php#L115
Cannot call method onError() on Rx\Observer\CallbackObserver|null.
|
PHPStan (PHP 8.1 on ubuntu-20.04):
src/Observable.php#L174
PHPDoc tag @param for parameter $scheduler with type Rx\SchedulerInterface|null is not subtype of native type Rx\AsyncSchedulerInterface|null.
|
PHPStan (PHP 7.4 on ubuntu-20.04):
src/Notification.php#L27
Method Rx\Notification::accept() with return type void returns void but should not return anything.
|
PHPStan (PHP 7.4 on ubuntu-20.04):
src/Notification.php#L27
Parameter #1 $onNext of method Rx\Notification::doAccept() expects callable(T): void, (callable(T): void)|Rx\ObserverInterface given.
|
PHPStan (PHP 7.4 on ubuntu-20.04):
src/Notification.php#L27
Result of method Rx\Notification::doAccept() (void) is used.
|
PHPStan (PHP 7.4 on ubuntu-20.04):
src/Notification.php#L30
Method Rx\Notification::equals() has parameter $other with no type specified.
|
PHPStan (PHP 7.4 on ubuntu-20.04):
src/Notification.php#L32
Cannot cast $this(Rx\Notification) to string.
|
PHPStan (PHP 7.4 on ubuntu-20.04):
src/Notification/OnNextNotification.php#L39
Parameter #1 $ of callable callable(T): void expects T, T given.
|
PHPStan (PHP 7.4 on ubuntu-20.04):
src/Notification/OnNextNotification.php#L47
Method Rx\Notification\OnNextNotification::equals() has parameter $other with no type specified.
|
PHPStan (PHP 7.4 on ubuntu-20.04):
src/Observable.php#L101
Result of && is always false.
|
PHPStan (PHP 7.4 on ubuntu-20.04):
src/Observable.php#L115
Cannot call method onError() on Rx\Observer\CallbackObserver|null.
|
PHPStan (PHP 7.4 on ubuntu-20.04):
src/Observable.php#L174
PHPDoc tag @param for parameter $scheduler with type Rx\SchedulerInterface|null is not subtype of native type Rx\AsyncSchedulerInterface|null.
|
PHPStan (PHP 7.3 on ubuntu-20.04):
src/Notification.php#L27
Method Rx\Notification::accept() with return type void returns void but should not return anything.
|
PHPStan (PHP 7.3 on ubuntu-20.04):
src/Notification.php#L27
Parameter #1 $onNext of method Rx\Notification::doAccept() expects callable(T): void, (callable(T): void)|Rx\ObserverInterface given.
|
PHPStan (PHP 7.3 on ubuntu-20.04):
src/Notification.php#L27
Result of method Rx\Notification::doAccept() (void) is used.
|
PHPStan (PHP 7.3 on ubuntu-20.04):
src/Notification.php#L30
Method Rx\Notification::equals() has parameter $other with no type specified.
|
PHPStan (PHP 7.3 on ubuntu-20.04):
src/Notification.php#L32
Cannot cast $this(Rx\Notification) to string.
|
PHPStan (PHP 7.3 on ubuntu-20.04):
src/Notification/OnNextNotification.php#L39
Parameter #1 $ of callable callable(T): void expects T, T given.
|
PHPStan (PHP 7.3 on ubuntu-20.04):
src/Notification/OnNextNotification.php#L47
Method Rx\Notification\OnNextNotification::equals() has parameter $other with no type specified.
|
PHPStan (PHP 7.3 on ubuntu-20.04):
src/Observable.php#L101
Result of && is always false.
|
PHPStan (PHP 7.3 on ubuntu-20.04):
src/Observable.php#L115
Cannot call method onError() on Rx\Observer\CallbackObserver|null.
|
PHPStan (PHP 7.3 on ubuntu-20.04):
src/Observable.php#L174
PHPDoc tag @param for parameter $scheduler with type Rx\SchedulerInterface|null is not subtype of native type Rx\AsyncSchedulerInterface|null.
|
PHPStan (PHP 8.2 on ubuntu-20.04):
src/Notification.php#L27
Method Rx\Notification::accept() with return type void returns void but should not return anything.
|
PHPStan (PHP 8.2 on ubuntu-20.04):
src/Notification.php#L27
Parameter #1 $onNext of method Rx\Notification::doAccept() expects callable(T): void, (callable(T): void)|Rx\ObserverInterface given.
|
PHPStan (PHP 8.2 on ubuntu-20.04):
src/Notification.php#L27
Result of method Rx\Notification::doAccept() (void) is used.
|
PHPStan (PHP 8.2 on ubuntu-20.04):
src/Notification.php#L30
Method Rx\Notification::equals() has parameter $other with no type specified.
|
PHPStan (PHP 8.2 on ubuntu-20.04):
src/Notification.php#L32
Cannot cast $this(Rx\Notification) to string.
|
PHPStan (PHP 8.2 on ubuntu-20.04):
src/Notification/OnNextNotification.php#L39
Parameter #1 $ of callable callable(T): void expects T, T given.
|
PHPStan (PHP 8.2 on ubuntu-20.04):
src/Notification/OnNextNotification.php#L47
Method Rx\Notification\OnNextNotification::equals() has parameter $other with no type specified.
|
PHPStan (PHP 8.2 on ubuntu-20.04):
src/Observable.php#L101
Result of && is always false.
|
PHPStan (PHP 8.2 on ubuntu-20.04):
src/Observable.php#L115
Cannot call method onError() on Rx\Observer\CallbackObserver|null.
|
PHPStan (PHP 8.2 on ubuntu-20.04):
src/Observable.php#L174
PHPDoc tag @param for parameter $scheduler with type Rx\SchedulerInterface|null is not subtype of native type Rx\AsyncSchedulerInterface|null.
|
PHPUnit (PHP 7.3 on ubuntu-20.04)
Process completed with exit code 255.
|
PHPStan (PHP 7.2 on ubuntu-20.04):
src/Notification.php#L27
Method Rx\Notification::accept() with return type void returns void but should not return anything.
|
PHPStan (PHP 7.2 on ubuntu-20.04):
src/Notification.php#L27
Parameter #1 $onNext of method Rx\Notification::doAccept() expects callable(T): void, (callable(T): void)|Rx\ObserverInterface given.
|
PHPStan (PHP 7.2 on ubuntu-20.04):
src/Notification.php#L27
Result of method Rx\Notification::doAccept() (void) is used.
|
PHPStan (PHP 7.2 on ubuntu-20.04):
src/Notification.php#L30
Method Rx\Notification::equals() has parameter $other with no type specified.
|
PHPStan (PHP 7.2 on ubuntu-20.04):
src/Notification.php#L32
Cannot cast $this(Rx\Notification) to string.
|
PHPStan (PHP 7.2 on ubuntu-20.04):
src/Notification/OnNextNotification.php#L39
Parameter #1 $ of callable callable(T): void expects T, T given.
|
PHPStan (PHP 7.2 on ubuntu-20.04):
src/Notification/OnNextNotification.php#L47
Method Rx\Notification\OnNextNotification::equals() has parameter $other with no type specified.
|
PHPStan (PHP 7.2 on ubuntu-20.04):
src/Observable.php#L101
Result of && is always false.
|
PHPStan (PHP 7.2 on ubuntu-20.04):
src/Observable.php#L115
Cannot call method onError() on Rx\Observer\CallbackObserver|null.
|
PHPStan (PHP 7.2 on ubuntu-20.04):
src/Observable.php#L174
PHPDoc tag @param for parameter $scheduler with type Rx\SchedulerInterface|null is not subtype of native type Rx\AsyncSchedulerInterface|null.
|
PHPStan (PHP 7.4 on windows-2019):
src/Notification.php#L27
Method Rx\Notification::accept() with return type void returns void but should not return anything.
|
PHPStan (PHP 7.4 on windows-2019):
src/Notification.php#L27
Parameter #1 $onNext of method Rx\Notification::doAccept() expects callable(T): void, (callable(T): void)|Rx\ObserverInterface given.
|
PHPStan (PHP 7.4 on windows-2019):
src/Notification.php#L27
Result of method Rx\Notification::doAccept() (void) is used.
|
PHPStan (PHP 7.4 on windows-2019):
src/Notification.php#L30
Method Rx\Notification::equals() has parameter $other with no type specified.
|
PHPStan (PHP 7.4 on windows-2019):
src/Notification.php#L32
Cannot cast $this(Rx\Notification) to string.
|
PHPStan (PHP 7.4 on windows-2019):
src/Notification/OnNextNotification.php#L39
Parameter #1 $ of callable callable(T): void expects T, T given.
|
PHPStan (PHP 7.4 on windows-2019):
src/Notification/OnNextNotification.php#L47
Method Rx\Notification\OnNextNotification::equals() has parameter $other with no type specified.
|
PHPStan (PHP 7.4 on windows-2019):
src/Observable.php#L101
Result of && is always false.
|
PHPStan (PHP 7.4 on windows-2019):
src/Observable.php#L115
Cannot call method onError() on Rx\Observer\CallbackObserver|null.
|
PHPStan (PHP 7.4 on windows-2019):
src/Observable.php#L174
PHPDoc tag @param for parameter $scheduler with type Rx\SchedulerInterface|null is not subtype of native type Rx\AsyncSchedulerInterface|null.
|
PHPStan (PHP 8.1 on windows-2019):
src/Notification.php#L27
Method Rx\Notification::accept() with return type void returns void but should not return anything.
|
PHPStan (PHP 8.1 on windows-2019):
src/Notification.php#L27
Parameter #1 $onNext of method Rx\Notification::doAccept() expects callable(T): void, (callable(T): void)|Rx\ObserverInterface given.
|
PHPStan (PHP 8.1 on windows-2019):
src/Notification.php#L27
Result of method Rx\Notification::doAccept() (void) is used.
|
PHPStan (PHP 8.1 on windows-2019):
src/Notification.php#L30
Method Rx\Notification::equals() has parameter $other with no type specified.
|
PHPStan (PHP 8.1 on windows-2019):
src/Notification.php#L32
Cannot cast $this(Rx\Notification) to string.
|
PHPStan (PHP 8.1 on windows-2019):
src/Notification/OnNextNotification.php#L39
Parameter #1 $ of callable callable(T): void expects T, T given.
|
PHPStan (PHP 8.1 on windows-2019):
src/Notification/OnNextNotification.php#L47
Method Rx\Notification\OnNextNotification::equals() has parameter $other with no type specified.
|
PHPStan (PHP 8.1 on windows-2019):
src/Observable.php#L101
Result of && is always false.
|
PHPStan (PHP 8.1 on windows-2019):
src/Observable.php#L115
Cannot call method onError() on Rx\Observer\CallbackObserver|null.
|
PHPStan (PHP 8.1 on windows-2019):
src/Observable.php#L174
PHPDoc tag @param for parameter $scheduler with type Rx\SchedulerInterface|null is not subtype of native type Rx\AsyncSchedulerInterface|null.
|
PHPStan (PHP 7.3 on windows-2019):
src/Notification.php#L27
Method Rx\Notification::accept() with return type void returns void but should not return anything.
|
PHPStan (PHP 7.3 on windows-2019):
src/Notification.php#L27
Parameter #1 $onNext of method Rx\Notification::doAccept() expects callable(T): void, (callable(T): void)|Rx\ObserverInterface given.
|
PHPStan (PHP 7.3 on windows-2019):
src/Notification.php#L27
Result of method Rx\Notification::doAccept() (void) is used.
|
PHPStan (PHP 7.3 on windows-2019):
src/Notification.php#L30
Method Rx\Notification::equals() has parameter $other with no type specified.
|
PHPStan (PHP 7.3 on windows-2019):
src/Notification.php#L32
Cannot cast $this(Rx\Notification) to string.
|
PHPStan (PHP 7.3 on windows-2019):
src/Notification/OnNextNotification.php#L39
Parameter #1 $ of callable callable(T): void expects T, T given.
|
PHPStan (PHP 7.3 on windows-2019):
src/Notification/OnNextNotification.php#L47
Method Rx\Notification\OnNextNotification::equals() has parameter $other with no type specified.
|
PHPStan (PHP 7.3 on windows-2019):
src/Observable.php#L101
Result of && is always false.
|
PHPStan (PHP 7.3 on windows-2019):
src/Observable.php#L115
Cannot call method onError() on Rx\Observer\CallbackObserver|null.
|
PHPStan (PHP 7.3 on windows-2019):
src/Observable.php#L174
PHPDoc tag @param for parameter $scheduler with type Rx\SchedulerInterface|null is not subtype of native type Rx\AsyncSchedulerInterface|null.
|
PHPStan (PHP 8 on windows-2019):
src/Notification.php#L27
Method Rx\Notification::accept() with return type void returns void but should not return anything.
|
PHPStan (PHP 8 on windows-2019):
src/Notification.php#L27
Parameter #1 $onNext of method Rx\Notification::doAccept() expects callable(T): void, (callable(T): void)|Rx\ObserverInterface given.
|
PHPStan (PHP 8 on windows-2019):
src/Notification.php#L27
Result of method Rx\Notification::doAccept() (void) is used.
|
PHPStan (PHP 8 on windows-2019):
src/Notification.php#L30
Method Rx\Notification::equals() has parameter $other with no type specified.
|
PHPStan (PHP 8 on windows-2019):
src/Notification.php#L32
Cannot cast $this(Rx\Notification) to string.
|
PHPStan (PHP 8 on windows-2019):
src/Notification/OnNextNotification.php#L39
Parameter #1 $ of callable callable(T): void expects T, T given.
|
PHPStan (PHP 8 on windows-2019):
src/Notification/OnNextNotification.php#L47
Method Rx\Notification\OnNextNotification::equals() has parameter $other with no type specified.
|
PHPStan (PHP 8 on windows-2019):
src/Observable.php#L101
Result of && is always false.
|
PHPStan (PHP 8 on windows-2019):
src/Observable.php#L115
Cannot call method onError() on Rx\Observer\CallbackObserver|null.
|
PHPStan (PHP 8 on windows-2019):
src/Observable.php#L174
PHPDoc tag @param for parameter $scheduler with type Rx\SchedulerInterface|null is not subtype of native type Rx\AsyncSchedulerInterface|null.
|
PHPStan (PHP 8.2 on windows-2019):
src/Notification.php#L27
Method Rx\Notification::accept() with return type void returns void but should not return anything.
|
PHPStan (PHP 8.2 on windows-2019):
src/Notification.php#L27
Parameter #1 $onNext of method Rx\Notification::doAccept() expects callable(T): void, (callable(T): void)|Rx\ObserverInterface given.
|
PHPStan (PHP 8.2 on windows-2019):
src/Notification.php#L27
Result of method Rx\Notification::doAccept() (void) is used.
|
PHPStan (PHP 8.2 on windows-2019):
src/Notification.php#L30
Method Rx\Notification::equals() has parameter $other with no type specified.
|
PHPStan (PHP 8.2 on windows-2019):
src/Notification.php#L32
Cannot cast $this(Rx\Notification) to string.
|
PHPStan (PHP 8.2 on windows-2019):
src/Notification/OnNextNotification.php#L39
Parameter #1 $ of callable callable(T): void expects T, T given.
|
PHPStan (PHP 8.2 on windows-2019):
src/Notification/OnNextNotification.php#L47
Method Rx\Notification\OnNextNotification::equals() has parameter $other with no type specified.
|
PHPStan (PHP 8.2 on windows-2019):
src/Observable.php#L101
Result of && is always false.
|
PHPStan (PHP 8.2 on windows-2019):
src/Observable.php#L115
Cannot call method onError() on Rx\Observer\CallbackObserver|null.
|
PHPStan (PHP 8.2 on windows-2019):
src/Observable.php#L174
PHPDoc tag @param for parameter $scheduler with type Rx\SchedulerInterface|null is not subtype of native type Rx\AsyncSchedulerInterface|null.
|
PHPUnit (PHP 7.2 on windows-2019)
Process completed with exit code 1.
|
PHPStan (PHP 7.2 on windows-2019):
src/Notification.php#L27
Method Rx\Notification::accept() with return type void returns void but should not return anything.
|
PHPStan (PHP 7.2 on windows-2019):
src/Notification.php#L27
Parameter #1 $onNext of method Rx\Notification::doAccept() expects callable(T): void, (callable(T): void)|Rx\ObserverInterface given.
|
PHPStan (PHP 7.2 on windows-2019):
src/Notification.php#L27
Result of method Rx\Notification::doAccept() (void) is used.
|
PHPStan (PHP 7.2 on windows-2019):
src/Notification.php#L30
Method Rx\Notification::equals() has parameter $other with no type specified.
|
PHPStan (PHP 7.2 on windows-2019):
src/Notification.php#L32
Cannot cast $this(Rx\Notification) to string.
|
PHPStan (PHP 7.2 on windows-2019):
src/Notification/OnNextNotification.php#L39
Parameter #1 $ of callable callable(T): void expects T, T given.
|
PHPStan (PHP 7.2 on windows-2019):
src/Notification/OnNextNotification.php#L47
Method Rx\Notification\OnNextNotification::equals() has parameter $other with no type specified.
|
PHPStan (PHP 7.2 on windows-2019):
src/Observable.php#L101
Result of && is always false.
|
PHPStan (PHP 7.2 on windows-2019):
src/Observable.php#L115
Cannot call method onError() on Rx\Observer\CallbackObserver|null.
|
PHPStan (PHP 7.2 on windows-2019):
src/Observable.php#L174
PHPDoc tag @param for parameter $scheduler with type Rx\SchedulerInterface|null is not subtype of native type Rx\AsyncSchedulerInterface|null.
|
PHPUnit (PHP 7.3 on windows-2019)
Process completed with exit code 1.
|
PHPUnit (PHP 7.2 on ubuntu-20.04)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHPUnit (PHP 8.2 on ubuntu-20.04)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHPUnit (PHP 7.3 on ubuntu-20.04)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHPUnit (PHP 7.4 on ubuntu-20.04)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHPUnit (PHP 8 on ubuntu-20.04)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHPUnit (PHP 8.1 on ubuntu-20.04)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHPUnit (PHP 7.2 on windows-2019)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHPUnit (PHP 7.4 on windows-2019)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHPUnit (PHP 8.2 on windows-2019)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHPUnit (PHP 8 on windows-2019)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHPUnit (PHP 7.3 on windows-2019)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHPUnit (PHP 8.1 on windows-2019)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|