Update dependency psalm/plugin-phpunit to ^0.19.0 #763
Annotations
4 warnings
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run mutation tests with pcov and infection/infection:
src/DependencyInjection/NucleosLastFmExtension.php#L40
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$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);
|
Run mutation tests with pcov and infection/infection:
src/DependencyInjection/NucleosLastFmExtension.php#L43
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
if (isset($bundles['TwigBundle'])) {
$loader->load('action.php');
}
- $loader->load('services.php');
+
$this->configureApi($container, $config);
$this->configureHttpClient($container, $config);
}
|
Run mutation tests with pcov and infection/infection:
src/Session/SessionManager.php#L83
Escaped Mutant for Mutator "InstanceOf_":
--- Original
+++ New
@@ @@
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;
}
}
|
Loading