Skip to content

Add phpdoc for transformation methods into other Collection stubs #1270

Add phpdoc for transformation methods into other Collection stubs

Add phpdoc for transformation methods into other Collection stubs #1270

Triggered via pull request October 29, 2024 08:05
Status Failure
Total duration 3m 7s
Artifacts

build.yml

on: pull_request
Coding Standard
28s
Coding Standard
Matrix: Lint
Matrix: PHPStan
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

83 errors
PHPStan (7.4): stubs/Collections/ArrayCollection.stub#L21
PHPDoc tag @param for parameter $p contains unresolvable type.
PHPStan (7.4): stubs/Collections/ArrayCollection.stub#L21
Parameter #1 $p (Doctrine\Common\Collections\Closure) of method Doctrine\Common\Collections\ArrayCollection::filter() should be contravariant with parameter $p (Closure(mixed, int|string): bool) of method Doctrine\Common\Collections\ReadableCollection<TKey of (int|string),T>::filter()
PHPStan (7.4): stubs/Collections/ArrayCollection.stub#L21
Parameter $p of method Doctrine\Common\Collections\ArrayCollection::filter() has invalid type Doctrine\Common\Collections\Closure.
PHPStan (7.4): stubs/Collections/ArrayCollection.stub#L32
PHPDoc tag @param for parameter $func contains unresolvable type.
PHPStan (7.4): stubs/Collections/ArrayCollection.stub#L32
Parameter #1 $func (Doctrine\Common\Collections\Closure) of method Doctrine\Common\Collections\ArrayCollection::map() should be contravariant with parameter $func (Closure(mixed): mixed) of method Doctrine\Common\Collections\ReadableCollection<TKey of (int|string),T>::map()
PHPStan (7.4): stubs/Collections/ArrayCollection.stub#L32
Parameter $func of method Doctrine\Common\Collections\ArrayCollection::map() has invalid type Doctrine\Common\Collections\Closure.
PHPStan (7.4): stubs/Collections/ArrayCollection.stub#L32
Template type U of method Doctrine\Common\Collections\ArrayCollection::map() is not referenced in a parameter.
PHPStan (7.4): stubs/Collections/ArrayCollection.stub#L41
PHPDoc tag @param for parameter $p contains unresolvable type.
PHPStan (7.4): stubs/Collections/ArrayCollection.stub#L41
Parameter #1 $p (Doctrine\Common\Collections\Closure) of method Doctrine\Common\Collections\ArrayCollection::partition() should be contravariant with parameter $p (Closure(int|string, mixed): bool) of method Doctrine\Common\Collections\ReadableCollection<TKey of (int|string),T>::partition()
PHPStan (7.4): stubs/Collections/ArrayCollection.stub#L41
Parameter $p of method Doctrine\Common\Collections\ArrayCollection::partition() has invalid type Doctrine\Common\Collections\Closure.
PHPStan (8.1): stubs/Collections/ArrayCollection.stub#L21
PHPDoc tag @param for parameter $p contains unresolvable type.
PHPStan (8.1): stubs/Collections/ArrayCollection.stub#L21
Parameter #1 $p (Doctrine\Common\Collections\Closure) of method Doctrine\Common\Collections\ArrayCollection::filter() should be contravariant with parameter $p (Closure(mixed, int|string): bool) of method Doctrine\Common\Collections\ReadableCollection<TKey of (int|string),T>::filter()
PHPStan (8.1): stubs/Collections/ArrayCollection.stub#L21
Parameter $p of method Doctrine\Common\Collections\ArrayCollection::filter() has invalid type Doctrine\Common\Collections\Closure.
PHPStan (8.1): stubs/Collections/ArrayCollection.stub#L32
PHPDoc tag @param for parameter $func contains unresolvable type.
PHPStan (8.1): stubs/Collections/ArrayCollection.stub#L32
Parameter #1 $func (Doctrine\Common\Collections\Closure) of method Doctrine\Common\Collections\ArrayCollection::map() should be contravariant with parameter $func (Closure(mixed): mixed) of method Doctrine\Common\Collections\ReadableCollection<TKey of (int|string),T>::map()
PHPStan (8.1): stubs/Collections/ArrayCollection.stub#L32
Parameter $func of method Doctrine\Common\Collections\ArrayCollection::map() has invalid type Doctrine\Common\Collections\Closure.
PHPStan (8.1): stubs/Collections/ArrayCollection.stub#L32
Template type U of method Doctrine\Common\Collections\ArrayCollection::map() is not referenced in a parameter.
PHPStan (8.1): stubs/Collections/ArrayCollection.stub#L41
PHPDoc tag @param for parameter $p contains unresolvable type.
PHPStan (8.1): stubs/Collections/ArrayCollection.stub#L41
Parameter #1 $p (Doctrine\Common\Collections\Closure) of method Doctrine\Common\Collections\ArrayCollection::partition() should be contravariant with parameter $p (Closure(int|string, mixed): bool) of method Doctrine\Common\Collections\ReadableCollection<TKey of (int|string),T>::partition()
PHPStan (8.1): stubs/Collections/ArrayCollection.stub#L41
Parameter $p of method Doctrine\Common\Collections\ArrayCollection::partition() has invalid type Doctrine\Common\Collections\Closure.
PHPStan (8.0): stubs/Collections/ArrayCollection.stub#L21
PHPDoc tag @param for parameter $p contains unresolvable type.
PHPStan (8.0): stubs/Collections/ArrayCollection.stub#L21
Parameter #1 $p (Doctrine\Common\Collections\Closure) of method Doctrine\Common\Collections\ArrayCollection::filter() should be contravariant with parameter $p (Closure(mixed, int|string): bool) of method Doctrine\Common\Collections\ReadableCollection<TKey of (int|string),T>::filter()
PHPStan (8.0): stubs/Collections/ArrayCollection.stub#L21
Parameter $p of method Doctrine\Common\Collections\ArrayCollection::filter() has invalid type Doctrine\Common\Collections\Closure.
PHPStan (8.0): stubs/Collections/ArrayCollection.stub#L32
PHPDoc tag @param for parameter $func contains unresolvable type.
PHPStan (8.0): stubs/Collections/ArrayCollection.stub#L32
Parameter #1 $func (Doctrine\Common\Collections\Closure) of method Doctrine\Common\Collections\ArrayCollection::map() should be contravariant with parameter $func (Closure(mixed): mixed) of method Doctrine\Common\Collections\ReadableCollection<TKey of (int|string),T>::map()
PHPStan (8.0): stubs/Collections/ArrayCollection.stub#L32
Parameter $func of method Doctrine\Common\Collections\ArrayCollection::map() has invalid type Doctrine\Common\Collections\Closure.
PHPStan (8.0): stubs/Collections/ArrayCollection.stub#L32
Template type U of method Doctrine\Common\Collections\ArrayCollection::map() is not referenced in a parameter.
PHPStan (8.0): stubs/Collections/ArrayCollection.stub#L41
PHPDoc tag @param for parameter $p contains unresolvable type.
PHPStan (8.0): stubs/Collections/ArrayCollection.stub#L41
Parameter #1 $p (Doctrine\Common\Collections\Closure) of method Doctrine\Common\Collections\ArrayCollection::partition() should be contravariant with parameter $p (Closure(int|string, mixed): bool) of method Doctrine\Common\Collections\ReadableCollection<TKey of (int|string),T>::partition()
PHPStan (8.0): stubs/Collections/ArrayCollection.stub#L41
Parameter $p of method Doctrine\Common\Collections\ArrayCollection::partition() has invalid type Doctrine\Common\Collections\Closure.
PHPStan (8.3, composer require --dev doctrine/orm:^3.0 doctrine/dbal:^4.0 carbonphp/carbon-doctri...: stubs/Collections/ArrayCollection.stub#L21
Parameter #1 $p (Doctrine\Common\Collections\Closure) of method Doctrine\Common\Collections\ArrayCollection::filter() should be contravariant with parameter $p (Closure(mixed, int|string): bool) of method Doctrine\Common\Collections\ReadableCollection<TKey of (int|string),T>::filter()
PHPStan (8.3, composer require --dev doctrine/orm:^3.0 doctrine/dbal:^4.0 carbonphp/carbon-doctri...: stubs/Collections/ArrayCollection.stub#L21
Parameter $p of method Doctrine\Common\Collections\ArrayCollection::filter() has invalid type Doctrine\Common\Collections\Closure.
PHPStan (8.3, composer require --dev doctrine/orm:^3.0 doctrine/dbal:^4.0 carbonphp/carbon-doctri...: stubs/Collections/ArrayCollection.stub#L32
Parameter #1 $func (Doctrine\Common\Collections\Closure) of method Doctrine\Common\Collections\ArrayCollection::map() should be contravariant with parameter $func (Closure(mixed): mixed) of method Doctrine\Common\Collections\ReadableCollection<TKey of (int|string),T>::map()
PHPStan (8.3, composer require --dev doctrine/orm:^3.0 doctrine/dbal:^4.0 carbonphp/carbon-doctri...: stubs/Collections/ArrayCollection.stub#L32
Parameter $func of method Doctrine\Common\Collections\ArrayCollection::map() has invalid type Doctrine\Common\Collections\Closure.
PHPStan (8.3, composer require --dev doctrine/orm:^3.0 doctrine/dbal:^4.0 carbonphp/carbon-doctri...: stubs/Collections/ArrayCollection.stub#L32
Template type U of method Doctrine\Common\Collections\ArrayCollection::map() is not referenced in a parameter.
PHPStan (8.3, composer require --dev doctrine/orm:^3.0 doctrine/dbal:^4.0 carbonphp/carbon-doctri...: stubs/Collections/ArrayCollection.stub#L41
Parameter #1 $p (Doctrine\Common\Collections\Closure) of method Doctrine\Common\Collections\ArrayCollection::partition() should be contravariant with parameter $p (Closure(int|string, mixed): bool) of method Doctrine\Common\Collections\ReadableCollection<TKey of (int|string),T>::partition()
PHPStan (8.3, composer require --dev doctrine/orm:^3.0 doctrine/dbal:^4.0 carbonphp/carbon-doctri...: stubs/Collections/ArrayCollection.stub#L41
Parameter $p of method Doctrine\Common\Collections\ArrayCollection::partition() has invalid type Doctrine\Common\Collections\Closure.
PHPStan (8.3): stubs/Collections/ArrayCollection.stub#L21
PHPDoc tag @param for parameter $p contains unresolvable type.
PHPStan (8.3): stubs/Collections/ArrayCollection.stub#L21
Parameter #1 $p (Doctrine\Common\Collections\Closure) of method Doctrine\Common\Collections\ArrayCollection::filter() should be contravariant with parameter $p (Closure(mixed, int|string): bool) of method Doctrine\Common\Collections\ReadableCollection<TKey of (int|string),T>::filter()
PHPStan (8.3): stubs/Collections/ArrayCollection.stub#L21
Parameter $p of method Doctrine\Common\Collections\ArrayCollection::filter() has invalid type Doctrine\Common\Collections\Closure.
PHPStan (8.3): stubs/Collections/ArrayCollection.stub#L32
PHPDoc tag @param for parameter $func contains unresolvable type.
PHPStan (8.3): stubs/Collections/ArrayCollection.stub#L32
Parameter #1 $func (Doctrine\Common\Collections\Closure) of method Doctrine\Common\Collections\ArrayCollection::map() should be contravariant with parameter $func (Closure(mixed): mixed) of method Doctrine\Common\Collections\ReadableCollection<TKey of (int|string),T>::map()
PHPStan (8.3): stubs/Collections/ArrayCollection.stub#L32
Parameter $func of method Doctrine\Common\Collections\ArrayCollection::map() has invalid type Doctrine\Common\Collections\Closure.
PHPStan (8.3): stubs/Collections/ArrayCollection.stub#L32
Template type U of method Doctrine\Common\Collections\ArrayCollection::map() is not referenced in a parameter.
PHPStan (8.3): stubs/Collections/ArrayCollection.stub#L41
PHPDoc tag @param for parameter $p contains unresolvable type.
PHPStan (8.3): stubs/Collections/ArrayCollection.stub#L41
Parameter #1 $p (Doctrine\Common\Collections\Closure) of method Doctrine\Common\Collections\ArrayCollection::partition() should be contravariant with parameter $p (Closure(int|string, mixed): bool) of method Doctrine\Common\Collections\ReadableCollection<TKey of (int|string),T>::partition()
PHPStan (8.3): stubs/Collections/ArrayCollection.stub#L41
Parameter $p of method Doctrine\Common\Collections\ArrayCollection::partition() has invalid type Doctrine\Common\Collections\Closure.
PHPStan (8.2): stubs/Collections/ArrayCollection.stub#L21
PHPDoc tag @param for parameter $p contains unresolvable type.
PHPStan (8.2): stubs/Collections/ArrayCollection.stub#L21
Parameter #1 $p (Doctrine\Common\Collections\Closure) of method Doctrine\Common\Collections\ArrayCollection::filter() should be contravariant with parameter $p (Closure(mixed, int|string): bool) of method Doctrine\Common\Collections\ReadableCollection<TKey of (int|string),T>::filter()
PHPStan (8.2): stubs/Collections/ArrayCollection.stub#L21
Parameter $p of method Doctrine\Common\Collections\ArrayCollection::filter() has invalid type Doctrine\Common\Collections\Closure.
PHPStan (8.2): stubs/Collections/ArrayCollection.stub#L32
PHPDoc tag @param for parameter $func contains unresolvable type.
PHPStan (8.2): stubs/Collections/ArrayCollection.stub#L32
Parameter #1 $func (Doctrine\Common\Collections\Closure) of method Doctrine\Common\Collections\ArrayCollection::map() should be contravariant with parameter $func (Closure(mixed): mixed) of method Doctrine\Common\Collections\ReadableCollection<TKey of (int|string),T>::map()
PHPStan (8.2): stubs/Collections/ArrayCollection.stub#L32
Parameter $func of method Doctrine\Common\Collections\ArrayCollection::map() has invalid type Doctrine\Common\Collections\Closure.
PHPStan (8.2): stubs/Collections/ArrayCollection.stub#L32
Template type U of method Doctrine\Common\Collections\ArrayCollection::map() is not referenced in a parameter.
PHPStan (8.2): stubs/Collections/ArrayCollection.stub#L41
PHPDoc tag @param for parameter $p contains unresolvable type.
PHPStan (8.2): stubs/Collections/ArrayCollection.stub#L41
Parameter #1 $p (Doctrine\Common\Collections\Closure) of method Doctrine\Common\Collections\ArrayCollection::partition() should be contravariant with parameter $p (Closure(int|string, mixed): bool) of method Doctrine\Common\Collections\ReadableCollection<TKey of (int|string),T>::partition()
PHPStan (8.2): stubs/Collections/ArrayCollection.stub#L41
Parameter $p of method Doctrine\Common\Collections\ArrayCollection::partition() has invalid type Doctrine\Common\Collections\Closure.
PHPStan (8.4): stubs/Collections/ArrayCollection.stub#L21
PHPDoc tag @param for parameter $p contains unresolvable type.
PHPStan (8.4): stubs/Collections/ArrayCollection.stub#L21
Parameter #1 $p (Doctrine\Common\Collections\Closure) of method Doctrine\Common\Collections\ArrayCollection::filter() should be contravariant with parameter $p (Closure(mixed, int|string): bool) of method Doctrine\Common\Collections\ReadableCollection<TKey of (int|string),T>::filter()
PHPStan (8.4): stubs/Collections/ArrayCollection.stub#L21
Parameter $p of method Doctrine\Common\Collections\ArrayCollection::filter() has invalid type Doctrine\Common\Collections\Closure.
PHPStan (8.4): stubs/Collections/ArrayCollection.stub#L32
PHPDoc tag @param for parameter $func contains unresolvable type.
PHPStan (8.4): stubs/Collections/ArrayCollection.stub#L32
Parameter #1 $func (Doctrine\Common\Collections\Closure) of method Doctrine\Common\Collections\ArrayCollection::map() should be contravariant with parameter $func (Closure(mixed): mixed) of method Doctrine\Common\Collections\ReadableCollection<TKey of (int|string),T>::map()
PHPStan (8.4): stubs/Collections/ArrayCollection.stub#L32
Parameter $func of method Doctrine\Common\Collections\ArrayCollection::map() has invalid type Doctrine\Common\Collections\Closure.
PHPStan (8.4): stubs/Collections/ArrayCollection.stub#L32
Template type U of method Doctrine\Common\Collections\ArrayCollection::map() is not referenced in a parameter.
PHPStan (8.4): stubs/Collections/ArrayCollection.stub#L41
PHPDoc tag @param for parameter $p contains unresolvable type.
PHPStan (8.4): stubs/Collections/ArrayCollection.stub#L41
Parameter #1 $p (Doctrine\Common\Collections\Closure) of method Doctrine\Common\Collections\ArrayCollection::partition() should be contravariant with parameter $p (Closure(int|string, mixed): bool) of method Doctrine\Common\Collections\ReadableCollection<TKey of (int|string),T>::partition()
PHPStan (8.4): stubs/Collections/ArrayCollection.stub#L41
Parameter $p of method Doctrine\Common\Collections\ArrayCollection::partition() has invalid type Doctrine\Common\Collections\Closure.
Tests (8.3, lowest)
Process completed with exit code 2.
Tests (8.3, highest)
Process completed with exit code 2.
Tests (8.2, highest)
Process completed with exit code 2.
Tests (8.1, lowest)
Process completed with exit code 2.
Tests (8.4, highest)
Process completed with exit code 2.
Tests (8.2, lowest)
Process completed with exit code 2.
Tests (8.0, lowest)
Process completed with exit code 2.
Tests (8.4, lowest)
Process completed with exit code 2.
Tests (8.1, highest)
Process completed with exit code 2.
Tests (8.0, highest)
Process completed with exit code 2.
Tests (7.4, highest)
Process completed with exit code 2.
Tests (7.4, lowest)
Process completed with exit code 2.