Update rector/rector requirement from ^0.18.0 to ^0.19.0 #711
Annotations
10 warnings
Run roave infection.:
src/Command/CopyCommand.php#L67
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
$filename = str_replace('/', '-', $file->filename());
$filesystem->copy($file->absolutePath(), "{$targetPath}/{$prefix}-{$filename}");
}
- return 0;
+ return -1;
}
/**
* @param PackageFile[] $packageFiles
|
Run roave infection.:
src/Command/RebuildCommand.php#L33
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
* @psalm-suppress DeprecatedMethod
*/
new MergePlanProcess($this->getComposer());
- return 0;
+ return -1;
}
}
|
Run roave infection.:
src/Composer/MergePlanProcess.php#L67
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
$isOptional = false;
if (Options::isOptional($file)) {
$isOptional = true;
- $file = substr($file, 1);
+ $file = substr($file, 2);
}
if (Options::isVariable($file)) {
$this->mergePlan->add($file, $packageName, $group);
|
Run roave infection.:
src/Composer/MergePlanProcess.php#L67
Escaped Mutant for Mutator "UnwrapSubstr":
--- Original
+++ New
@@ @@
$isOptional = false;
if (Options::isOptional($file)) {
$isOptional = true;
- $file = substr($file, 1);
+ $file = $file;
}
if (Options::isVariable($file)) {
$this->mergePlan->add($file, $packageName, $group);
|
Run roave infection.:
src/Composer/MergePlanProcess.php#L72
Escaped Mutant for Mutator "Continue_":
--- Original
+++ New
@@ @@
}
if (Options::isVariable($file)) {
$this->mergePlan->add($file, $packageName, $group);
- continue;
+ break;
}
$absoluteFilePath = $this->helper->getAbsolutePackageFilePath($package, $options, $file);
if (Options::containsWildcard($file)) {
|
Run roave infection.:
src/Composer/MergePlanProcess.php#L77
Escaped Mutant for Mutator "IfNegation":
--- Original
+++ New
@@ @@
continue;
}
$absoluteFilePath = $this->helper->getAbsolutePackageFilePath($package, $options, $file);
- if (Options::containsWildcard($file)) {
+ if (!Options::containsWildcard($file)) {
$matches = glob($absoluteFilePath);
if (empty($matches)) {
continue;
|
Run roave infection.:
src/Composer/MergePlanProcess.php#L81
Escaped Mutant for Mutator "Continue_":
--- Original
+++ New
@@ @@
if (Options::containsWildcard($file)) {
$matches = glob($absoluteFilePath);
if (empty($matches)) {
- continue;
+ break;
}
foreach ($matches as $match) {
$this->mergePlan->add($this->normalizePackageFilePath($package, $match, $isVendorOverrideLayer), $packageName, $group);
|
Run roave infection.:
src/Composer/MergePlanProcess.php#L96
Escaped Mutant for Mutator "Continue_":
--- Original
+++ New
@@ @@
continue;
}
if ($isOptional && !is_file($absoluteFilePath)) {
- continue;
+ break;
}
$this->mergePlan->add($this->normalizePackageFilePath($package, $absoluteFilePath, $isVendorOverrideLayer), $packageName, $group);
}
|
Run roave infection.:
src/Composer/MergePlanProcess.php#L124
Escaped Mutant for Mutator "Continue_":
--- Original
+++ New
@@ @@
{
foreach ($this->helper->getEnvironmentConfig() as $environment => $groups) {
if ($environment === Options::DEFAULT_ENVIRONMENT) {
- continue;
+ break;
}
if (empty($groups)) {
$this->mergePlan->addEnvironmentWithoutConfigs($environment);
|
Run roave infection.:
src/Composer/MergePlanProcess.php#L129
Escaped Mutant for Mutator "Continue_":
--- Original
+++ New
@@ @@
}
if (empty($groups)) {
$this->mergePlan->addEnvironmentWithoutConfigs($environment);
- continue;
+ break;
}
foreach ($groups as $group => $files) {
$this->mergePlan->addMultiple((array) $files, Options::ROOT_PACKAGE_NAME, $group, $environment);
|
The logs for this run have expired and are no longer available.
Loading