π v0.5.2 #41
Annotations
3 warnings
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Run Infection:
src/DependencyInjection/CompilerPass/TagAdapterServicesCompilerPass.php#L29
Escaped Mutant for Mutator "GreaterThan":
--- Original
+++ New
@@ @@
$config = $container->getParameter(WebfFlysystemDsnExtension::CONFIG_PARAMETER_NAME);
foreach ($config['adapters'] as $adapter) {
$matches = [];
- if (preg_match_all('#service://([a-zA-Z0-9_.-\\\\]+)#', $adapter['dsn'], $matches) > 0) {
+ if (preg_match_all('#service://([a-zA-Z0-9_.-\\\\]+)#', $adapter['dsn'], $matches) >= 0) {
foreach ($matches[1] as $serviceId) {
if ($container->hasDefinition($serviceId)) {
$container->getDefinition($serviceId)->addTag(WebfFlysystemDsnExtension::ADAPTER_SERVICE_TAG_NAME);
|
Loading