Merge pull request #82 from ujamii/dependabot/github_actions/codecov/… #284
Annotations
9 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 PHPInfection:
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;
}
}
|
Run PHPInfection:
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;
}
}
|
Run PHPInfection:
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;
}
}
|
Run PHPInfection:
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;
|
Run PHPInfection:
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;
|
Run PHPInfection:
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;
|
Run PHPInfection:
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;
|
Run PHPInfection:
src/Generator/ApiGenerator.php#L221
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) {
|
Loading