Add support for endroid/qr-code 5 #194
ci.yml
on: push
Matrix: ci / unit-tests
Matrix: ci / static-analysis
Matrix: ci / mutation-tests
Matrix: ci / upload-coverage
ci
/
delete-artifacts
3s
Annotations
22 warnings
ci / upload-coverage (8.2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
ci / mutation-tests (8.3):
src/Cache/CacheFactory.php#L28
Escaped Mutant for Mutator "CastBool":
--- Original
+++ New
@@ @@
{
$apcuEnabled = ($this->apcuEnabled)();
$config = $container->get('config');
- $isDebug = (bool) ($config['debug'] ?? false);
+ $isDebug = $config['debug'] ?? false;
$redisConfig = $config['cache']['redis'] ?? null;
$lifetime = (int) ($config['cache']['default_lifetime'] ?? 0);
if ($isDebug || !$apcuEnabled && $redisConfig === null) {
|
ci / mutation-tests (8.3):
src/Cache/CacheFactory.php#L30
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
$config = $container->get('config');
$isDebug = (bool) ($config['debug'] ?? false);
$redisConfig = $config['cache']['redis'] ?? null;
- $lifetime = (int) ($config['cache']['default_lifetime'] ?? 0);
+ $lifetime = (int) ($config['cache']['default_lifetime'] ?? -1);
if ($isDebug || !$apcuEnabled && $redisConfig === null) {
return new Adapter\ArrayAdapter($lifetime);
}
|
ci / mutation-tests (8.3):
src/Cache/CacheFactory.php#L30
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
$config = $container->get('config');
$isDebug = (bool) ($config['debug'] ?? false);
$redisConfig = $config['cache']['redis'] ?? null;
- $lifetime = (int) ($config['cache']['default_lifetime'] ?? 0);
+ $lifetime = (int) ($config['cache']['default_lifetime'] ?? 1);
if ($isDebug || !$apcuEnabled && $redisConfig === null) {
return new Adapter\ArrayAdapter($lifetime);
}
|
ci / mutation-tests (8.3):
src/Cache/CacheFactory.php#L30
Escaped Mutant for Mutator "Coalesce":
--- Original
+++ New
@@ @@
$config = $container->get('config');
$isDebug = (bool) ($config['debug'] ?? false);
$redisConfig = $config['cache']['redis'] ?? null;
- $lifetime = (int) ($config['cache']['default_lifetime'] ?? 0);
+ $lifetime = (int) (0 ?? $config['cache']['default_lifetime']);
if ($isDebug || !$apcuEnabled && $redisConfig === null) {
return new Adapter\ArrayAdapter($lifetime);
}
|
ci / mutation-tests (8.3):
src/Cache/CacheFactory.php#L30
Escaped Mutant for Mutator "CastInt":
--- Original
+++ New
@@ @@
$config = $container->get('config');
$isDebug = (bool) ($config['debug'] ?? false);
$redisConfig = $config['cache']['redis'] ?? null;
- $lifetime = (int) ($config['cache']['default_lifetime'] ?? 0);
+ $lifetime = $config['cache']['default_lifetime'] ?? 0;
if ($isDebug || !$apcuEnabled && $redisConfig === null) {
return new Adapter\ArrayAdapter($lifetime);
}
|
ci / mutation-tests (8.3):
src/Cache/CacheFactory.php#L36
Escaped Mutant for Mutator "Coalesce":
--- Original
+++ New
@@ @@
if ($isDebug || !$apcuEnabled && $redisConfig === null) {
return new Adapter\ArrayAdapter($lifetime);
}
- $namespace = $config['cache']['namespace'] ?? '';
+ $namespace = '' ?? $config['cache']['namespace'];
if ($redisConfig === null) {
return new Adapter\ApcuAdapter($namespace, $lifetime);
}
|
ci / mutation-tests (8.3):
src/Cache/RedisFactory.php#L89
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
if ($sentinelService !== null) {
return ['replication' => 'sentinel', 'service' => $sentinelService];
}
- return !isset($servers[0]) ? null : ['cluster' => 'redis'];
+ return !isset($servers[1]) ? null : ['cluster' => 'redis'];
}
}
|
ci / mutation-tests (8.3):
src/Doctrine/EntityManagerFactory.php#L25
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
$emConfig = $globalConfig['entity_manager'] ?? [];
$connectionConfig = $emConfig['connection'] ?? [];
$ormConfig = $emConfig['orm'] ?? [];
- $funcStyle = $ormConfig['load_mappings_using_functional_style'] ?? false;
+ $funcStyle = $ormConfig['load_mappings_using_functional_style'] ?? true;
$defaultRepo = $ormConfig['default_repository_classname'] ?? null;
$this->registerTypes($ormConfig);
$config = $this->createConfiguration($isDevMode, $ormConfig['proxies_dir'] ?? '', $cache);
|
ci / mutation-tests (8.3):
src/Doctrine/EntityManagerFactory.php#L25
Escaped Mutant for Mutator "Coalesce":
--- Original
+++ New
@@ @@
$emConfig = $globalConfig['entity_manager'] ?? [];
$connectionConfig = $emConfig['connection'] ?? [];
$ormConfig = $emConfig['orm'] ?? [];
- $funcStyle = $ormConfig['load_mappings_using_functional_style'] ?? false;
+ $funcStyle = false ?? $ormConfig['load_mappings_using_functional_style'];
$defaultRepo = $ormConfig['default_repository_classname'] ?? null;
$this->registerTypes($ormConfig);
$config = $this->createConfiguration($isDevMode, $ormConfig['proxies_dir'] ?? '', $cache);
|
ci / mutation-tests (8.3):
src/Doctrine/EntityManagerFactory.php#L61
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
private function createConfiguration(bool $isDev, string $proxyDir, CacheItemPoolInterface $cache) : Configuration
{
$config = new Configuration();
- $config->setMetadataCache($cache);
+
$config->setQueryCache($cache);
$config->setResultCache($cache);
$config->setProxyDir($proxyDir);
|
ci / mutation-tests (8.2):
src/Cache/CacheFactory.php#L28
Escaped Mutant for Mutator "CastBool":
--- Original
+++ New
@@ @@
{
$apcuEnabled = ($this->apcuEnabled)();
$config = $container->get('config');
- $isDebug = (bool) ($config['debug'] ?? false);
+ $isDebug = $config['debug'] ?? false;
$redisConfig = $config['cache']['redis'] ?? null;
$lifetime = (int) ($config['cache']['default_lifetime'] ?? 0);
if ($isDebug || !$apcuEnabled && $redisConfig === null) {
|
ci / mutation-tests (8.2):
src/Cache/CacheFactory.php#L30
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
$config = $container->get('config');
$isDebug = (bool) ($config['debug'] ?? false);
$redisConfig = $config['cache']['redis'] ?? null;
- $lifetime = (int) ($config['cache']['default_lifetime'] ?? 0);
+ $lifetime = (int) ($config['cache']['default_lifetime'] ?? -1);
if ($isDebug || !$apcuEnabled && $redisConfig === null) {
return new Adapter\ArrayAdapter($lifetime);
}
|
ci / mutation-tests (8.2):
src/Cache/CacheFactory.php#L30
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
$config = $container->get('config');
$isDebug = (bool) ($config['debug'] ?? false);
$redisConfig = $config['cache']['redis'] ?? null;
- $lifetime = (int) ($config['cache']['default_lifetime'] ?? 0);
+ $lifetime = (int) ($config['cache']['default_lifetime'] ?? 1);
if ($isDebug || !$apcuEnabled && $redisConfig === null) {
return new Adapter\ArrayAdapter($lifetime);
}
|
ci / mutation-tests (8.2):
src/Cache/CacheFactory.php#L30
Escaped Mutant for Mutator "Coalesce":
--- Original
+++ New
@@ @@
$config = $container->get('config');
$isDebug = (bool) ($config['debug'] ?? false);
$redisConfig = $config['cache']['redis'] ?? null;
- $lifetime = (int) ($config['cache']['default_lifetime'] ?? 0);
+ $lifetime = (int) (0 ?? $config['cache']['default_lifetime']);
if ($isDebug || !$apcuEnabled && $redisConfig === null) {
return new Adapter\ArrayAdapter($lifetime);
}
|
ci / mutation-tests (8.2):
src/Cache/CacheFactory.php#L30
Escaped Mutant for Mutator "CastInt":
--- Original
+++ New
@@ @@
$config = $container->get('config');
$isDebug = (bool) ($config['debug'] ?? false);
$redisConfig = $config['cache']['redis'] ?? null;
- $lifetime = (int) ($config['cache']['default_lifetime'] ?? 0);
+ $lifetime = $config['cache']['default_lifetime'] ?? 0;
if ($isDebug || !$apcuEnabled && $redisConfig === null) {
return new Adapter\ArrayAdapter($lifetime);
}
|
ci / mutation-tests (8.2):
src/Cache/CacheFactory.php#L36
Escaped Mutant for Mutator "Coalesce":
--- Original
+++ New
@@ @@
if ($isDebug || !$apcuEnabled && $redisConfig === null) {
return new Adapter\ArrayAdapter($lifetime);
}
- $namespace = $config['cache']['namespace'] ?? '';
+ $namespace = '' ?? $config['cache']['namespace'];
if ($redisConfig === null) {
return new Adapter\ApcuAdapter($namespace, $lifetime);
}
|
ci / mutation-tests (8.2):
src/Cache/RedisFactory.php#L89
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
if ($sentinelService !== null) {
return ['replication' => 'sentinel', 'service' => $sentinelService];
}
- return !isset($servers[0]) ? null : ['cluster' => 'redis'];
+ return !isset($servers[1]) ? null : ['cluster' => 'redis'];
}
}
|
ci / mutation-tests (8.2):
src/Doctrine/EntityManagerFactory.php#L25
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
$emConfig = $globalConfig['entity_manager'] ?? [];
$connectionConfig = $emConfig['connection'] ?? [];
$ormConfig = $emConfig['orm'] ?? [];
- $funcStyle = $ormConfig['load_mappings_using_functional_style'] ?? false;
+ $funcStyle = $ormConfig['load_mappings_using_functional_style'] ?? true;
$defaultRepo = $ormConfig['default_repository_classname'] ?? null;
$this->registerTypes($ormConfig);
$config = $this->createConfiguration($isDevMode, $ormConfig['proxies_dir'] ?? '', $cache);
|
ci / mutation-tests (8.2):
src/Doctrine/EntityManagerFactory.php#L25
Escaped Mutant for Mutator "Coalesce":
--- Original
+++ New
@@ @@
$emConfig = $globalConfig['entity_manager'] ?? [];
$connectionConfig = $emConfig['connection'] ?? [];
$ormConfig = $emConfig['orm'] ?? [];
- $funcStyle = $ormConfig['load_mappings_using_functional_style'] ?? false;
+ $funcStyle = false ?? $ormConfig['load_mappings_using_functional_style'];
$defaultRepo = $ormConfig['default_repository_classname'] ?? null;
$this->registerTypes($ormConfig);
$config = $this->createConfiguration($isDevMode, $ormConfig['proxies_dir'] ?? '', $cache);
|
ci / mutation-tests (8.2):
src/Doctrine/EntityManagerFactory.php#L61
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
private function createConfiguration(bool $isDev, string $proxyDir, CacheItemPoolInterface $cache) : Configuration
{
$config = new Configuration();
- $config->setMetadataCache($cache);
+
$config->setQueryCache($cache);
$config->setResultCache($cache);
$config->setProxyDir($proxyDir);
|
ci / delete-artifacts
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: geekyeggo/delete-artifact@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
build-8.2
Expired
|
153 KB |
|
build-8.3
Expired
|
153 KB |
|