Skip to content

Fix UniqueValidator with new identifierFieldNames parameter #786

Fix UniqueValidator with new identifierFieldNames parameter

Fix UniqueValidator with new identifierFieldNames parameter #786

Re-run triggered September 4, 2025 14:01
Status Failure
Total duration 42s
Artifacts

static-analysis.yml

on: pull_request
static-analysis  /  PHPStan (PHP: 8.4)
24s
static-analysis / PHPStan (PHP: 8.4)
Fit to window
Zoom out
Zoom in

Annotations

7 errors
static-analysis / PHPStan (PHP: 8.4)
Process completed with exit code 1.
static-analysis / PHPStan (PHP: 8.4): tests/DependencyInjection/DoctrineMongoDBExtensionTest.php#L0
Ignored error pattern #^Call to an undefined method Doctrine\\ODM\\MongoDB\\Configuration\:\:getDriverOptions\(\)\.$# (method.notFound) in path /home/runner/work/DoctrineMongoDBBundle/DoctrineMongoDBBundle/tests/DependencyInjection/DoctrineMongoDBExtensionTest.php was not matched in reported errors.
static-analysis / PHPStan (PHP: 8.4): tests/DependencyInjection/DoctrineMongoDBExtensionTest.php#L0
Ignored error pattern #^Call to an undefined method Doctrine\\ODM\\MongoDB\\Configuration\:\:getDefaultMasterKey\(\)\.$# (method.notFound) in path /home/runner/work/DoctrineMongoDBBundle/DoctrineMongoDBBundle/tests/DependencyInjection/DoctrineMongoDBExtensionTest.php was not matched in reported errors.
static-analysis / PHPStan (PHP: 8.4): tests/DependencyInjection/DoctrineMongoDBExtensionTest.php#L0
Ignored error pattern #^Call to an undefined method Doctrine\\ODM\\MongoDB\\Configuration\:\:getDefaultKmsProvider\(\)\.$# (method.notFound) in path /home/runner/work/DoctrineMongoDBBundle/DoctrineMongoDBBundle/tests/DependencyInjection/DoctrineMongoDBExtensionTest.php was not matched in reported errors.
static-analysis / PHPStan (PHP: 8.4): src/Validator/Constraints/Unique.php#L38
Property Doctrine\Bundle\MongoDBBundle\Validator\Constraints\Unique::$service overriding property Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity::$service (string) should also have native type string.
static-analysis / PHPStan (PHP: 8.4): src/Validator/Constraints/Unique.php#L36
Parse error in @phpstan-ignore: Unexpected T_OTHER '@var' after end, expected comma (,) or end or T_OPEN_PARENTHESIS
static-analysis / PHPStan (PHP: 8.4): src/DependencyInjection/DoctrineMongoDBExtension.php#L296
Call to function method_exists() with 'Doctrine\\ODM\\MongoDB\\Configuration' and 'setAutoEncryption' will always evaluate to true.