Add compatibility layer with setono/client-bundle #81
build.yaml
on: pull_request
Matrix: Code Coverage
Matrix: Coding Standards
Matrix: Dependency Analysis
Matrix: Mutation tests
Matrix: Static Code Analysis
Matrix: Unit tests
Annotations
1 warning
Mutation tests (8.2, highest):
src/DependencyInjection/Compiler/RegisterClientIdTypePass.php#L22
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
}
/** @psalm-suppress UndefinedDocblockClass */
$typeDefinitions = $container->getParameter('doctrine.dbal.connection_factory.types');
- Assert::isArray($typeDefinitions);
+
if (!isset($typeDefinitions['client_id'])) {
$typeDefinitions['client_id'] = ['class' => ClientIdType::class, 'commented' => null];
}
|