Bump codecov/codecov-action from 4.4.0 to 4.4.1 #320
php.yml
on: pull_request
Static code analysis
21s
Rector
16s
Matrix: test
Annotations
28 warnings
Tests on PHP 8.3:
src/API/Geokoordinaten.php#L52
Escaped Mutant for Mutator "OneZeroFloat":
--- Original
+++ New
@@ @@
$this->laengengrad = $laengengrad;
return $this;
}
- public function __construct(float $breitengrad = 0.0, float $laengengrad = 0.0)
+ public function __construct(float $breitengrad = 1.0, float $laengengrad = 0.0)
{
$this->breitengrad = $breitengrad;
$this->laengengrad = $laengengrad;
}
}
|
Tests on PHP 8.3:
src/API/Geokoordinaten.php#L52
Escaped Mutant for Mutator "OneZeroFloat":
--- Original
+++ New
@@ @@
$this->laengengrad = $laengengrad;
return $this;
}
- public function __construct(float $breitengrad = 0.0, float $laengengrad = 0.0)
+ public function __construct(float $breitengrad = 0.0, float $laengengrad = 1.0)
{
$this->breitengrad = $breitengrad;
$this->laengengrad = $laengengrad;
}
}
|
Tests on PHP 8.3:
src/API/Master.php#L55
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
$this->value = $value;
return $this;
}
- public function __construct(bool $visible = false, ?string $value = null)
+ public function __construct(bool $visible = true, ?string $value = null)
{
$this->visible = $visible;
$this->value = $value;
}
}
|
Tests on PHP 8.3:
src/API/Nutzungsart.php#L93
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
$this->waz = $waz;
return $this;
}
- public function __construct(bool $wohnen = false, bool $gewerbe = false, ?bool $anlage = null, ?bool $waz = null)
+ public function __construct(bool $wohnen = true, bool $gewerbe = false, ?bool $anlage = null, ?bool $waz = null)
{
$this->wohnen = $wohnen;
$this->gewerbe = $gewerbe;
|
Tests on PHP 8.3:
src/API/Nutzungsart.php#L93
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
$this->waz = $waz;
return $this;
}
- public function __construct(bool $wohnen = false, bool $gewerbe = false, ?bool $anlage = null, ?bool $waz = null)
+ public function __construct(bool $wohnen = false, bool $gewerbe = true, ?bool $anlage = null, ?bool $waz = null)
{
$this->wohnen = $wohnen;
$this->gewerbe = $gewerbe;
|
Tests on PHP 8.3:
src/API/Vermarktungsart.php#L94
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
$this->leasing = $leasing;
return $this;
}
- public function __construct(bool $kauf = false, bool $mietePacht = false, ?bool $erbpacht = null, ?bool $leasing = null)
+ public function __construct(bool $kauf = true, bool $mietePacht = false, ?bool $erbpacht = null, ?bool $leasing = null)
{
$this->kauf = $kauf;
$this->mietePacht = $mietePacht;
|
Tests on PHP 8.3:
src/API/Vermarktungsart.php#L95
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
$this->leasing = $leasing;
return $this;
}
- public function __construct(bool $kauf = false, bool $mietePacht = false, ?bool $erbpacht = null, ?bool $leasing = null)
+ public function __construct(bool $kauf = false, bool $mietePacht = true, ?bool $erbpacht = null, ?bool $leasing = null)
{
$this->kauf = $kauf;
$this->mietePacht = $mietePacht;
|
Tests on PHP 8.3
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4.4.1/dist/codecov' failed with exit code 1
|
Tests on PHP 8.2
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4.4.1/dist/codecov' failed with exit code 1
|
Tests on PHP 8.2:
src/API/Geokoordinaten.php#L52
Escaped Mutant for Mutator "OneZeroFloat":
--- Original
+++ New
@@ @@
$this->laengengrad = $laengengrad;
return $this;
}
- public function __construct(float $breitengrad = 0.0, float $laengengrad = 0.0)
+ public function __construct(float $breitengrad = 1.0, float $laengengrad = 0.0)
{
$this->breitengrad = $breitengrad;
$this->laengengrad = $laengengrad;
}
}
|
Tests on PHP 8.2:
src/API/Geokoordinaten.php#L52
Escaped Mutant for Mutator "OneZeroFloat":
--- Original
+++ New
@@ @@
$this->laengengrad = $laengengrad;
return $this;
}
- public function __construct(float $breitengrad = 0.0, float $laengengrad = 0.0)
+ public function __construct(float $breitengrad = 0.0, float $laengengrad = 1.0)
{
$this->breitengrad = $breitengrad;
$this->laengengrad = $laengengrad;
}
}
|
Tests on PHP 8.2:
src/API/Master.php#L55
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
$this->value = $value;
return $this;
}
- public function __construct(bool $visible = false, ?string $value = null)
+ public function __construct(bool $visible = true, ?string $value = null)
{
$this->visible = $visible;
$this->value = $value;
}
}
|
Tests on PHP 8.2:
src/API/Nutzungsart.php#L93
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
$this->waz = $waz;
return $this;
}
- public function __construct(bool $wohnen = false, bool $gewerbe = false, ?bool $anlage = null, ?bool $waz = null)
+ public function __construct(bool $wohnen = true, bool $gewerbe = false, ?bool $anlage = null, ?bool $waz = null)
{
$this->wohnen = $wohnen;
$this->gewerbe = $gewerbe;
|
Tests on PHP 8.2:
src/API/Nutzungsart.php#L93
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
$this->waz = $waz;
return $this;
}
- public function __construct(bool $wohnen = false, bool $gewerbe = false, ?bool $anlage = null, ?bool $waz = null)
+ public function __construct(bool $wohnen = false, bool $gewerbe = true, ?bool $anlage = null, ?bool $waz = null)
{
$this->wohnen = $wohnen;
$this->gewerbe = $gewerbe;
|
Tests on PHP 8.2:
src/API/Vermarktungsart.php#L94
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
$this->leasing = $leasing;
return $this;
}
- public function __construct(bool $kauf = false, bool $mietePacht = false, ?bool $erbpacht = null, ?bool $leasing = null)
+ public function __construct(bool $kauf = true, bool $mietePacht = false, ?bool $erbpacht = null, ?bool $leasing = null)
{
$this->kauf = $kauf;
$this->mietePacht = $mietePacht;
|
Tests on PHP 8.2:
src/API/Vermarktungsart.php#L95
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
$this->leasing = $leasing;
return $this;
}
- public function __construct(bool $kauf = false, bool $mietePacht = false, ?bool $erbpacht = null, ?bool $leasing = null)
+ public function __construct(bool $kauf = false, bool $mietePacht = true, ?bool $erbpacht = null, ?bool $leasing = null)
{
$this->kauf = $kauf;
$this->mietePacht = $mietePacht;
|
Tests on PHP 8.2:
src/Generator/ApiGenerator.php#L222
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
}
$classProperty->setType($phpType)->setNullable($nullable);
if ($nullable) {
- $classProperty->setValue(null);
+
} else {
$classProperty->setValue(TypeUtil::getDefaultValueForType($phpType, $nullable))->addComment('@SkipWhenEmpty');
$namespace->addUse(SkipWhenEmpty::class);
|
Tests on PHP 8.2:
src/Generator/CodeGenUtil.php#L24
Escaped Mutant for Mutator "Ternary":
--- Original
+++ New
@@ @@
if ('' === trim($comment)) {
$currentDescriptionParts = [];
} else {
- $currentDescriptionParts = explode($separator ?: self::DESCRIPTION_PART_DELIMTER, $comment);
+ $currentDescriptionParts = explode($separator ? self::DESCRIPTION_PART_DELIMTER : $separator, $comment);
}
$currentDescriptionParts[] = $descriptionPart;
$classProperty->setComment(implode($separator, $currentDescriptionParts));
|
Tests on PHP 8.1:
src/API/Geokoordinaten.php#L52
Escaped Mutant for Mutator "OneZeroFloat":
--- Original
+++ New
@@ @@
$this->laengengrad = $laengengrad;
return $this;
}
- public function __construct(float $breitengrad = 0.0, float $laengengrad = 0.0)
+ public function __construct(float $breitengrad = 1.0, float $laengengrad = 0.0)
{
$this->breitengrad = $breitengrad;
$this->laengengrad = $laengengrad;
}
}
|
Tests on PHP 8.1:
src/API/Geokoordinaten.php#L52
Escaped Mutant for Mutator "OneZeroFloat":
--- Original
+++ New
@@ @@
$this->laengengrad = $laengengrad;
return $this;
}
- public function __construct(float $breitengrad = 0.0, float $laengengrad = 0.0)
+ public function __construct(float $breitengrad = 0.0, float $laengengrad = 1.0)
{
$this->breitengrad = $breitengrad;
$this->laengengrad = $laengengrad;
}
}
|
Tests on PHP 8.1:
src/API/Master.php#L55
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
$this->value = $value;
return $this;
}
- public function __construct(bool $visible = false, ?string $value = null)
+ public function __construct(bool $visible = true, ?string $value = null)
{
$this->visible = $visible;
$this->value = $value;
}
}
|
Tests on PHP 8.1:
src/API/Nutzungsart.php#L93
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
$this->waz = $waz;
return $this;
}
- public function __construct(bool $wohnen = false, bool $gewerbe = false, ?bool $anlage = null, ?bool $waz = null)
+ public function __construct(bool $wohnen = true, bool $gewerbe = false, ?bool $anlage = null, ?bool $waz = null)
{
$this->wohnen = $wohnen;
$this->gewerbe = $gewerbe;
|
Tests on PHP 8.1:
src/API/Nutzungsart.php#L93
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
$this->waz = $waz;
return $this;
}
- public function __construct(bool $wohnen = false, bool $gewerbe = false, ?bool $anlage = null, ?bool $waz = null)
+ public function __construct(bool $wohnen = false, bool $gewerbe = true, ?bool $anlage = null, ?bool $waz = null)
{
$this->wohnen = $wohnen;
$this->gewerbe = $gewerbe;
|
Tests on PHP 8.1:
src/API/Vermarktungsart.php#L94
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
$this->leasing = $leasing;
return $this;
}
- public function __construct(bool $kauf = false, bool $mietePacht = false, ?bool $erbpacht = null, ?bool $leasing = null)
+ public function __construct(bool $kauf = true, bool $mietePacht = false, ?bool $erbpacht = null, ?bool $leasing = null)
{
$this->kauf = $kauf;
$this->mietePacht = $mietePacht;
|
Tests on PHP 8.1:
src/API/Vermarktungsart.php#L95
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
$this->leasing = $leasing;
return $this;
}
- public function __construct(bool $kauf = false, bool $mietePacht = false, ?bool $erbpacht = null, ?bool $leasing = null)
+ public function __construct(bool $kauf = false, bool $mietePacht = true, ?bool $erbpacht = null, ?bool $leasing = null)
{
$this->kauf = $kauf;
$this->mietePacht = $mietePacht;
|
Tests on PHP 8.1:
src/Generator/ApiGenerator.php#L215
Escaped Mutant for Mutator "TrueValue":
--- Original
+++ New
@@ @@
$nullable = !$isArray && $property->getMin() === 0;
// if the property type is an object, it should be nullable
if ('\DateTime' === $phpType || str_starts_with($serializerType, TypeUtil::OPENIMMO_NAMESPACE)) {
- $nullable = true;
+ $nullable = false;
}
$classProperty->setType($phpType)->setNullable($nullable);
if ($nullable) {
|
Tests on PHP 8.1:
src/Generator/CodeGenUtil.php#L24
Escaped Mutant for Mutator "Ternary":
--- Original
+++ New
@@ @@
if ('' === trim($comment)) {
$currentDescriptionParts = [];
} else {
- $currentDescriptionParts = explode($separator ?: self::DESCRIPTION_PART_DELIMTER, $comment);
+ $currentDescriptionParts = explode($separator ? self::DESCRIPTION_PART_DELIMTER : $separator, $comment);
}
$currentDescriptionParts[] = $descriptionPart;
$classProperty->setComment(implode($separator, $currentDescriptionParts));
|
Tests on PHP 8.1
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4.4.1/dist/codecov' failed with exit code 1
|