Skip to content
Triggered via schedule December 9, 2023 01:04
Status Success
Total duration 1m 40s
Artifacts

ci.yml

on: schedule
Fit to window
Zoom out
Zoom in

Annotations

30 warnings
PHP 8.1: src/DBAL/Tools/Console/Command/Database/CreateCommand.php#L51
Escaped Mutant for Mutator "LogicalAndSingleSubExprNegation": --- Original +++ New @@ @@ unset($params['dbname'], $params['path'], $params['url']); $tmpConnection = DriverManager::getConnection($params); $ifNotExists = $input->getOption('if-not-exists'); - $shouldNotCreateDatabase = $ifNotExists && \in_array($dbName, $tmpConnection->createSchemaManager()->listDatabases(), true); + $shouldNotCreateDatabase = $ifNotExists && !\in_array($dbName, $tmpConnection->createSchemaManager()->listDatabases(), true); // Only quote if we don't have a path if (!$isPath) { $dbName = $tmpConnection->getDatabasePlatform()->quoteSingleIdentifier($dbName);
PHP 8.1: src/ODM/MongoDB/Tools/Console/Command/DocumentManagerCommand.php#L50
Escaped Mutant for Mutator "CastInt": --- Original +++ New @@ @@ throw new \InvalidArgumentException(sprintf('Missing document manager with name "%s"', $documentManagerName), $serviceNotFoundException->getCode(), $serviceNotFoundException); } $this->command->setHelperSet(new HelperSet(['dm' => new DocumentManagerHelper($documentManager)])); - return (int) $this->command->run($input, $output); + return $this->command->run($input, $output); } }
PHP 8.1: src/ServiceFactory/Common/Cache/ApcuAdapterFactory.php#L18
Escaped Mutant for Mutator "Coalesce": --- Original +++ New @@ @@ public function __invoke(ContainerInterface $container) : ApcuAdapter { $config = $this->resolveConfig($container->get('config')['doctrine']['cache']['apcu'] ?? []); - $namespace = $config['namespace'] ?? ''; + $namespace = '' ?? $config['namespace']; $defaultLifetime = $config['defaultLifetime'] ?? 0; $version = $config['version'] ?? null; /** @var null|MarshallerInterface $marshaller */
PHP 8.1: src/ServiceFactory/Common/Cache/ApcuAdapterFactory.php#L19
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ { $config = $this->resolveConfig($container->get('config')['doctrine']['cache']['apcu'] ?? []); $namespace = $config['namespace'] ?? ''; - $defaultLifetime = $config['defaultLifetime'] ?? 0; + $defaultLifetime = $config['defaultLifetime'] ?? -1; $version = $config['version'] ?? null; /** @var null|MarshallerInterface $marshaller */ $marshaller = $this->resolveValue($container, $config['marshaller'] ?? null);
PHP 8.1: src/ServiceFactory/Common/Cache/ApcuAdapterFactory.php#L19
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ { $config = $this->resolveConfig($container->get('config')['doctrine']['cache']['apcu'] ?? []); $namespace = $config['namespace'] ?? ''; - $defaultLifetime = $config['defaultLifetime'] ?? 0; + $defaultLifetime = $config['defaultLifetime'] ?? 1; $version = $config['version'] ?? null; /** @var null|MarshallerInterface $marshaller */ $marshaller = $this->resolveValue($container, $config['marshaller'] ?? null);
PHP 8.1: src/ServiceFactory/Common/Cache/ApcuAdapterFactory.php#L19
Escaped Mutant for Mutator "Coalesce": --- Original +++ New @@ @@ { $config = $this->resolveConfig($container->get('config')['doctrine']['cache']['apcu'] ?? []); $namespace = $config['namespace'] ?? ''; - $defaultLifetime = $config['defaultLifetime'] ?? 0; + $defaultLifetime = 0 ?? $config['defaultLifetime']; $version = $config['version'] ?? null; /** @var null|MarshallerInterface $marshaller */ $marshaller = $this->resolveValue($container, $config['marshaller'] ?? null);
PHP 8.1: src/ServiceFactory/Common/Cache/ArrayAdapterFactory.php#L17
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ public function __invoke(ContainerInterface $container) : ArrayAdapter { $config = $this->resolveConfig($container->get('config')['doctrine']['cache']['array'] ?? []); - $defaultLifetime = $config['defaultLifetime'] ?? 0; + $defaultLifetime = $config['defaultLifetime'] ?? -1; $storeSerialized = $config['storeSerialized'] ?? true; $maxLifetime = $config['maxLifetime'] ?? 0; $maxItems = $config['maxItems'] ?? 0;
PHP 8.1: src/ServiceFactory/Common/Cache/ArrayAdapterFactory.php#L17
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ public function __invoke(ContainerInterface $container) : ArrayAdapter { $config = $this->resolveConfig($container->get('config')['doctrine']['cache']['array'] ?? []); - $defaultLifetime = $config['defaultLifetime'] ?? 0; + $defaultLifetime = $config['defaultLifetime'] ?? 1; $storeSerialized = $config['storeSerialized'] ?? true; $maxLifetime = $config['maxLifetime'] ?? 0; $maxItems = $config['maxItems'] ?? 0;
PHP 8.1: src/ServiceFactory/Common/Cache/ArrayAdapterFactory.php#L17
Escaped Mutant for Mutator "Coalesce": --- Original +++ New @@ @@ public function __invoke(ContainerInterface $container) : ArrayAdapter { $config = $this->resolveConfig($container->get('config')['doctrine']['cache']['array'] ?? []); - $defaultLifetime = $config['defaultLifetime'] ?? 0; + $defaultLifetime = 0 ?? $config['defaultLifetime']; $storeSerialized = $config['storeSerialized'] ?? true; $maxLifetime = $config['maxLifetime'] ?? 0; $maxItems = $config['maxItems'] ?? 0;
PHP 8.1: src/ServiceFactory/Common/Cache/ArrayAdapterFactory.php#L18
Escaped Mutant for Mutator "TrueValue": --- Original +++ New @@ @@ { $config = $this->resolveConfig($container->get('config')['doctrine']['cache']['array'] ?? []); $defaultLifetime = $config['defaultLifetime'] ?? 0; - $storeSerialized = $config['storeSerialized'] ?? true; + $storeSerialized = $config['storeSerialized'] ?? false; $maxLifetime = $config['maxLifetime'] ?? 0; $maxItems = $config['maxItems'] ?? 0; return new ArrayAdapter($defaultLifetime, $storeSerialized, $maxLifetime, $maxItems); } }
PHP 8.2: src/DBAL/Tools/Console/Command/Database/CreateCommand.php#L51
Escaped Mutant for Mutator "LogicalAndSingleSubExprNegation": --- Original +++ New @@ @@ unset($params['dbname'], $params['path'], $params['url']); $tmpConnection = DriverManager::getConnection($params); $ifNotExists = $input->getOption('if-not-exists'); - $shouldNotCreateDatabase = $ifNotExists && \in_array($dbName, $tmpConnection->createSchemaManager()->listDatabases(), true); + $shouldNotCreateDatabase = $ifNotExists && !\in_array($dbName, $tmpConnection->createSchemaManager()->listDatabases(), true); // Only quote if we don't have a path if (!$isPath) { $dbName = $tmpConnection->getDatabasePlatform()->quoteSingleIdentifier($dbName);
PHP 8.2: src/ODM/MongoDB/Tools/Console/Command/DocumentManagerCommand.php#L50
Escaped Mutant for Mutator "CastInt": --- Original +++ New @@ @@ throw new \InvalidArgumentException(sprintf('Missing document manager with name "%s"', $documentManagerName), $serviceNotFoundException->getCode(), $serviceNotFoundException); } $this->command->setHelperSet(new HelperSet(['dm' => new DocumentManagerHelper($documentManager)])); - return (int) $this->command->run($input, $output); + return $this->command->run($input, $output); } }
PHP 8.2: src/ServiceFactory/Common/Cache/ApcuAdapterFactory.php#L18
Escaped Mutant for Mutator "Coalesce": --- Original +++ New @@ @@ public function __invoke(ContainerInterface $container) : ApcuAdapter { $config = $this->resolveConfig($container->get('config')['doctrine']['cache']['apcu'] ?? []); - $namespace = $config['namespace'] ?? ''; + $namespace = '' ?? $config['namespace']; $defaultLifetime = $config['defaultLifetime'] ?? 0; $version = $config['version'] ?? null; /** @var null|MarshallerInterface $marshaller */
PHP 8.2: src/ServiceFactory/Common/Cache/ApcuAdapterFactory.php#L19
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ { $config = $this->resolveConfig($container->get('config')['doctrine']['cache']['apcu'] ?? []); $namespace = $config['namespace'] ?? ''; - $defaultLifetime = $config['defaultLifetime'] ?? 0; + $defaultLifetime = $config['defaultLifetime'] ?? -1; $version = $config['version'] ?? null; /** @var null|MarshallerInterface $marshaller */ $marshaller = $this->resolveValue($container, $config['marshaller'] ?? null);
PHP 8.2: src/ServiceFactory/Common/Cache/ApcuAdapterFactory.php#L19
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ { $config = $this->resolveConfig($container->get('config')['doctrine']['cache']['apcu'] ?? []); $namespace = $config['namespace'] ?? ''; - $defaultLifetime = $config['defaultLifetime'] ?? 0; + $defaultLifetime = $config['defaultLifetime'] ?? 1; $version = $config['version'] ?? null; /** @var null|MarshallerInterface $marshaller */ $marshaller = $this->resolveValue($container, $config['marshaller'] ?? null);
PHP 8.2: src/ServiceFactory/Common/Cache/ApcuAdapterFactory.php#L19
Escaped Mutant for Mutator "Coalesce": --- Original +++ New @@ @@ { $config = $this->resolveConfig($container->get('config')['doctrine']['cache']['apcu'] ?? []); $namespace = $config['namespace'] ?? ''; - $defaultLifetime = $config['defaultLifetime'] ?? 0; + $defaultLifetime = 0 ?? $config['defaultLifetime']; $version = $config['version'] ?? null; /** @var null|MarshallerInterface $marshaller */ $marshaller = $this->resolveValue($container, $config['marshaller'] ?? null);
PHP 8.2: src/ServiceFactory/Common/Cache/ArrayAdapterFactory.php#L17
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ public function __invoke(ContainerInterface $container) : ArrayAdapter { $config = $this->resolveConfig($container->get('config')['doctrine']['cache']['array'] ?? []); - $defaultLifetime = $config['defaultLifetime'] ?? 0; + $defaultLifetime = $config['defaultLifetime'] ?? -1; $storeSerialized = $config['storeSerialized'] ?? true; $maxLifetime = $config['maxLifetime'] ?? 0; $maxItems = $config['maxItems'] ?? 0;
PHP 8.2: src/ServiceFactory/Common/Cache/ArrayAdapterFactory.php#L17
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ public function __invoke(ContainerInterface $container) : ArrayAdapter { $config = $this->resolveConfig($container->get('config')['doctrine']['cache']['array'] ?? []); - $defaultLifetime = $config['defaultLifetime'] ?? 0; + $defaultLifetime = $config['defaultLifetime'] ?? 1; $storeSerialized = $config['storeSerialized'] ?? true; $maxLifetime = $config['maxLifetime'] ?? 0; $maxItems = $config['maxItems'] ?? 0;
PHP 8.2: src/ServiceFactory/Common/Cache/ArrayAdapterFactory.php#L17
Escaped Mutant for Mutator "Coalesce": --- Original +++ New @@ @@ public function __invoke(ContainerInterface $container) : ArrayAdapter { $config = $this->resolveConfig($container->get('config')['doctrine']['cache']['array'] ?? []); - $defaultLifetime = $config['defaultLifetime'] ?? 0; + $defaultLifetime = 0 ?? $config['defaultLifetime']; $storeSerialized = $config['storeSerialized'] ?? true; $maxLifetime = $config['maxLifetime'] ?? 0; $maxItems = $config['maxItems'] ?? 0;
PHP 8.2: src/ServiceFactory/Common/Cache/ArrayAdapterFactory.php#L18
Escaped Mutant for Mutator "TrueValue": --- Original +++ New @@ @@ { $config = $this->resolveConfig($container->get('config')['doctrine']['cache']['array'] ?? []); $defaultLifetime = $config['defaultLifetime'] ?? 0; - $storeSerialized = $config['storeSerialized'] ?? true; + $storeSerialized = $config['storeSerialized'] ?? false; $maxLifetime = $config['maxLifetime'] ?? 0; $maxItems = $config['maxItems'] ?? 0; return new ArrayAdapter($defaultLifetime, $storeSerialized, $maxLifetime, $maxItems); } }
PHP 8.3: src/DBAL/Tools/Console/Command/Database/CreateCommand.php#L51
Escaped Mutant for Mutator "LogicalAndSingleSubExprNegation": --- Original +++ New @@ @@ unset($params['dbname'], $params['path'], $params['url']); $tmpConnection = DriverManager::getConnection($params); $ifNotExists = $input->getOption('if-not-exists'); - $shouldNotCreateDatabase = $ifNotExists && \in_array($dbName, $tmpConnection->createSchemaManager()->listDatabases(), true); + $shouldNotCreateDatabase = $ifNotExists && !\in_array($dbName, $tmpConnection->createSchemaManager()->listDatabases(), true); // Only quote if we don't have a path if (!$isPath) { $dbName = $tmpConnection->getDatabasePlatform()->quoteSingleIdentifier($dbName);
PHP 8.3: src/ODM/MongoDB/Tools/Console/Command/DocumentManagerCommand.php#L50
Escaped Mutant for Mutator "CastInt": --- Original +++ New @@ @@ throw new \InvalidArgumentException(sprintf('Missing document manager with name "%s"', $documentManagerName), $serviceNotFoundException->getCode(), $serviceNotFoundException); } $this->command->setHelperSet(new HelperSet(['dm' => new DocumentManagerHelper($documentManager)])); - return (int) $this->command->run($input, $output); + return $this->command->run($input, $output); } }
PHP 8.3: src/ServiceFactory/Common/Cache/ApcuAdapterFactory.php#L18
Escaped Mutant for Mutator "Coalesce": --- Original +++ New @@ @@ public function __invoke(ContainerInterface $container) : ApcuAdapter { $config = $this->resolveConfig($container->get('config')['doctrine']['cache']['apcu'] ?? []); - $namespace = $config['namespace'] ?? ''; + $namespace = '' ?? $config['namespace']; $defaultLifetime = $config['defaultLifetime'] ?? 0; $version = $config['version'] ?? null; /** @var null|MarshallerInterface $marshaller */
PHP 8.3: src/ServiceFactory/Common/Cache/ApcuAdapterFactory.php#L19
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ { $config = $this->resolveConfig($container->get('config')['doctrine']['cache']['apcu'] ?? []); $namespace = $config['namespace'] ?? ''; - $defaultLifetime = $config['defaultLifetime'] ?? 0; + $defaultLifetime = $config['defaultLifetime'] ?? -1; $version = $config['version'] ?? null; /** @var null|MarshallerInterface $marshaller */ $marshaller = $this->resolveValue($container, $config['marshaller'] ?? null);
PHP 8.3: src/ServiceFactory/Common/Cache/ApcuAdapterFactory.php#L19
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ { $config = $this->resolveConfig($container->get('config')['doctrine']['cache']['apcu'] ?? []); $namespace = $config['namespace'] ?? ''; - $defaultLifetime = $config['defaultLifetime'] ?? 0; + $defaultLifetime = $config['defaultLifetime'] ?? 1; $version = $config['version'] ?? null; /** @var null|MarshallerInterface $marshaller */ $marshaller = $this->resolveValue($container, $config['marshaller'] ?? null);
PHP 8.3: src/ServiceFactory/Common/Cache/ApcuAdapterFactory.php#L19
Escaped Mutant for Mutator "Coalesce": --- Original +++ New @@ @@ { $config = $this->resolveConfig($container->get('config')['doctrine']['cache']['apcu'] ?? []); $namespace = $config['namespace'] ?? ''; - $defaultLifetime = $config['defaultLifetime'] ?? 0; + $defaultLifetime = 0 ?? $config['defaultLifetime']; $version = $config['version'] ?? null; /** @var null|MarshallerInterface $marshaller */ $marshaller = $this->resolveValue($container, $config['marshaller'] ?? null);
PHP 8.3: src/ServiceFactory/Common/Cache/ArrayAdapterFactory.php#L17
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ public function __invoke(ContainerInterface $container) : ArrayAdapter { $config = $this->resolveConfig($container->get('config')['doctrine']['cache']['array'] ?? []); - $defaultLifetime = $config['defaultLifetime'] ?? 0; + $defaultLifetime = $config['defaultLifetime'] ?? -1; $storeSerialized = $config['storeSerialized'] ?? true; $maxLifetime = $config['maxLifetime'] ?? 0; $maxItems = $config['maxItems'] ?? 0;
PHP 8.3: src/ServiceFactory/Common/Cache/ArrayAdapterFactory.php#L17
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ public function __invoke(ContainerInterface $container) : ArrayAdapter { $config = $this->resolveConfig($container->get('config')['doctrine']['cache']['array'] ?? []); - $defaultLifetime = $config['defaultLifetime'] ?? 0; + $defaultLifetime = $config['defaultLifetime'] ?? 1; $storeSerialized = $config['storeSerialized'] ?? true; $maxLifetime = $config['maxLifetime'] ?? 0; $maxItems = $config['maxItems'] ?? 0;
PHP 8.3: src/ServiceFactory/Common/Cache/ArrayAdapterFactory.php#L17
Escaped Mutant for Mutator "Coalesce": --- Original +++ New @@ @@ public function __invoke(ContainerInterface $container) : ArrayAdapter { $config = $this->resolveConfig($container->get('config')['doctrine']['cache']['array'] ?? []); - $defaultLifetime = $config['defaultLifetime'] ?? 0; + $defaultLifetime = 0 ?? $config['defaultLifetime']; $storeSerialized = $config['storeSerialized'] ?? true; $maxLifetime = $config['maxLifetime'] ?? 0; $maxItems = $config['maxItems'] ?? 0;
PHP 8.3: src/ServiceFactory/Common/Cache/ArrayAdapterFactory.php#L18
Escaped Mutant for Mutator "TrueValue": --- Original +++ New @@ @@ { $config = $this->resolveConfig($container->get('config')['doctrine']['cache']['array'] ?? []); $defaultLifetime = $config['defaultLifetime'] ?? 0; - $storeSerialized = $config['storeSerialized'] ?? true; + $storeSerialized = $config['storeSerialized'] ?? false; $maxLifetime = $config['maxLifetime'] ?? 0; $maxItems = $config['maxItems'] ?? 0; return new ArrayAdapter($defaultLifetime, $storeSerialized, $maxLifetime, $maxItems); } }