Add sort operator to $search stage #988
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
static-analysis.yml
on: pull_request
Matrix: Static Analysis with PHPStan
Matrix: Static Analysis with Psalm
Annotations
5 errors and 2 warnings
Static Analysis with PHPStan (8.2):
lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search.php#L61
Property Doctrine\ODM\MongoDB\Aggregation\Stage\Search::$sort type has no value type specified in iterable type array.
|
Static Analysis with PHPStan (8.2):
lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search.php#L142
Return type (static(Doctrine\ODM\MongoDB\Aggregation\Stage\Search)) of method Doctrine\ODM\MongoDB\Aggregation\Stage\Search::sort() should be compatible with return type (Doctrine\ODM\MongoDB\Aggregation\Stage\Sort) of method Doctrine\ODM\MongoDB\Aggregation\Stage::sort()
|
Static Analysis with PHPStan (8.2):
lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/AbstractSearchOperator.php#L38
Return type (Doctrine\ODM\MongoDB\Aggregation\Stage\Search) of method Doctrine\ODM\MongoDB\Aggregation\Stage\Search\AbstractSearchOperator::sort() should be compatible with return type (Doctrine\ODM\MongoDB\Aggregation\Stage\Sort) of method Doctrine\ODM\MongoDB\Aggregation\Stage::sort()
|
Static Analysis with PHPStan (8.2):
tests/Doctrine/ODM/MongoDB/Tests/Aggregation/Stage/SearchTest.php#L1203
Method Doctrine\ODM\MongoDB\Tests\Aggregation\Stage\SearchTest::testSearchOperatorsWithSort() has parameter $expectedOperator with no value type specified in iterable type array.
|
Static Analysis with PHPStan (8.2)
Process completed with exit code 1.
|
Static Analysis with PHPStan (8.2)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Static Analysis with Psalm (8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
composer.lock
Expired
|
212 KB |
|