Fix symfony deprecation #770
Annotations
4 warnings
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
src/DependencyInjection/NucleosLastFmExtension.php#L40
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
$bundles = $container->getParameter('kernel.bundles');
$loader = new Loader\PhpFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
if (isset($bundles['TwigBundle'])) {
- $loader->load('action.php');
+
}
$loader->load('services.php');
$this->configureApi($container, $config);
|
src/DependencyInjection/NucleosLastFmExtension.php#L43
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
if (isset($bundles['TwigBundle'])) {
$loader->load('action.php');
}
- $loader->load('services.php');
+
$this->configureApi($container, $config);
$this->configureHttpClient($container, $config);
}
|
src/Session/SessionManager.php#L83
Escaped Mutant for Mutator "InstanceOf_":
@@ @@
throw new RuntimeException('Could not retrieve request.');
}
$session = $request->hasSession() ? $request->getSession() : null;
- if (!$session instanceof Session) {
+ if (!true) {
throw new RuntimeException('Could not retrieve session from request.');
}
return $session;
}
}
|
This job succeeded
Loading