Skip to content

Draft: Drop support for PHP < 7.4 #114

Draft: Drop support for PHP < 7.4

Draft: Drop support for PHP < 7.4 #114

Triggered via pull request November 11, 2023 06:34
Status Failure
Total duration 32s
Artifacts

static-analysis.yaml

on: pull_request
Matrix: job
Fit to window
Zoom out
Zoom in

Annotations

11 errors
PHPStan: src/Capsule/Collection.php#L186
Method Facile\MongoDbBundle\Capsule\Collection::distinct() return type has no value type specified in iterable type array.
PHPStan: src/DependencyInjection/MongoDbBundleExtension.php#L1
Ignored error pattern #^Parameter \#2 \$debug of method Facile\\MongoDbBundle\\DependencyInjection\\MongoDbBundleExtension\:\:defineClientRegistry\(\) expects bool, array\|bool\|float\|int\|string\|null given\.$# in path /home/runner/work/mongodb-bundle/mongodb-bundle/src/DependencyInjection/MongoDbBundleExtension.php was not matched in reported errors.
PHPStan: src/DependencyInjection/MongoDbBundleExtension.php#L37
Parameter #2 $debug of method Facile\MongoDbBundle\DependencyInjection\MongoDbBundleExtension::defineClientRegistry() expects bool, array|bool|float|int|string|UnitEnum|null given.
PHPStan: tests/Functional/Capsule/CollectionTest.php#L32
Call to method reveal() on an unknown class Prophecy\Prophecy\ObjectProphecy.
PHPStan: tests/Functional/Capsule/CollectionTest.php#L43
Call to method reveal() on an unknown class Prophecy\Prophecy\ObjectProphecy.
PHPStan: tests/Functional/Capsule/CollectionTest.php#L54
Call to method reveal() on an unknown class Prophecy\Prophecy\ObjectProphecy.
PHPStan: tests/Functional/Capsule/CollectionTest.php#L65
Call to method reveal() on an unknown class Prophecy\Prophecy\ObjectProphecy.
PHPStan: tests/Functional/Capsule/CollectionTest.php#L76
Call to method reveal() on an unknown class Prophecy\Prophecy\ObjectProphecy.
PHPStan: tests/Functional/Capsule/CollectionTest.php#L87
Call to method reveal() on an unknown class Prophecy\Prophecy\ObjectProphecy.
PHPStan: tests/Functional/Capsule/CollectionTest.php#L98
Call to method reveal() on an unknown class Prophecy\Prophecy\ObjectProphecy.
Code style
The operation was canceled.