Draft: Drop support for PHP < 7.4 #113
Annotations
10 errors and 6 warnings
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 following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, ramsey/composer-install@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Code style
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Validate composer.json
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, ramsey/composer-install@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Validate composer.json
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
PHPStan
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, ramsey/composer-install@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHPStan
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|