Add more precise types for ElasticaAdapter #116
Annotations
3 errors and 1 warning
PHPStan:
lib/Adapter/Elastica/ElasticaAdapter.php#L1
Ignored error pattern #^Method Pagerfanta\\Elastica\\ElasticaAdapter\:\:getSlice\(\) should return iterable\<\(int\|string\), T\> but returns Elastica\\ResultSet\.$# (return.type) in path /home/runner/work/Pagerfanta/Pagerfanta/lib/Adapter/Elastica/ElasticaAdapter.php was not matched in reported errors.
|
PHPStan:
lib/Adapter/Elastica/Tests/ElasticaAdapterTest.php#L29
PHPDoc tag @var for property Pagerfanta\Elastica\Tests\ElasticaAdapterTest::$adapter contains generic type Pagerfanta\Elastica\ElasticaAdapter<mixed> but class Pagerfanta\Elastica\ElasticaAdapter is not generic.
|
PHPStan
Process completed with exit code 1.
|
PHPStan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|