composer(deps-dev): Bump vimeo/psalm from 5.13.1 to 5.14.1 #649
integrate.yaml
on: pull_request
Matrix: Code Coverage
Matrix: Coding Standards
Matrix: Dependency Analysis
Matrix: Mutation Tests
Matrix: Refactoring
Matrix: Security Analysis
Matrix: Static Code Analysis
Matrix: Tests
Annotations
2 errors and 10 warnings
ArgumentTypeCoercion:
test/Util/Specification/Pattern.php#L33
test/Util/Specification/Pattern.php:33:34: ArgumentTypeCoercion: Argument 1 of preg_match expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
|
Static Code Analysis (8.1, locked)
Process completed with exit code 2.
|
Mutation Tests (8.1, locked):
src/FloatProvider.php#L94
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
private static function values() : array
{
$faker = self::faker();
- return ['float-less-than-minus-one' => -1 * \PHP_FLOAT_EPSILON - $faker->randomFloat(null, 1), 'float-minus-one' => -1.0, 'float-zero' => 0.0, 'float-plus-one' => 1.0, 'float-greater-than-plus-one' => \PHP_FLOAT_EPSILON + $faker->randomFloat(null, 1)];
+ return ['float-less-than-minus-one' => -2 * \PHP_FLOAT_EPSILON - $faker->randomFloat(null, 1), 'float-minus-one' => -1.0, 'float-zero' => 0.0, 'float-plus-one' => 1.0, 'float-greater-than-plus-one' => \PHP_FLOAT_EPSILON + $faker->randomFloat(null, 1)];
}
}
|
Mutation Tests (8.1, locked):
src/FloatProvider.php#L94
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
private static function values() : array
{
$faker = self::faker();
- return ['float-less-than-minus-one' => -1 * \PHP_FLOAT_EPSILON - $faker->randomFloat(null, 1), 'float-minus-one' => -1.0, 'float-zero' => 0.0, 'float-plus-one' => 1.0, 'float-greater-than-plus-one' => \PHP_FLOAT_EPSILON + $faker->randomFloat(null, 1)];
+ return ['float-less-than-minus-one' => -0 * \PHP_FLOAT_EPSILON - $faker->randomFloat(null, 1), 'float-minus-one' => -1.0, 'float-zero' => 0.0, 'float-plus-one' => 1.0, 'float-greater-than-plus-one' => \PHP_FLOAT_EPSILON + $faker->randomFloat(null, 1)];
}
}
|
Mutation Tests (8.1, locked):
src/FloatProvider.php#L94
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
private static function values() : array
{
$faker = self::faker();
- return ['float-less-than-minus-one' => -1 * \PHP_FLOAT_EPSILON - $faker->randomFloat(null, 1), 'float-minus-one' => -1.0, 'float-zero' => 0.0, 'float-plus-one' => 1.0, 'float-greater-than-plus-one' => \PHP_FLOAT_EPSILON + $faker->randomFloat(null, 1)];
+ return ['float-less-than-minus-one' => -1 * \PHP_FLOAT_EPSILON - $faker->randomFloat(null, 0), 'float-minus-one' => -1.0, 'float-zero' => 0.0, 'float-plus-one' => 1.0, 'float-greater-than-plus-one' => \PHP_FLOAT_EPSILON + $faker->randomFloat(null, 1)];
}
}
|
Mutation Tests (8.1, locked):
src/FloatProvider.php#L94
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
private static function values() : array
{
$faker = self::faker();
- return ['float-less-than-minus-one' => -1 * \PHP_FLOAT_EPSILON - $faker->randomFloat(null, 1), 'float-minus-one' => -1.0, 'float-zero' => 0.0, 'float-plus-one' => 1.0, 'float-greater-than-plus-one' => \PHP_FLOAT_EPSILON + $faker->randomFloat(null, 1)];
+ return ['float-less-than-minus-one' => -1 * \PHP_FLOAT_EPSILON - $faker->randomFloat(null, 2), 'float-minus-one' => -1.0, 'float-zero' => 0.0, 'float-plus-one' => 1.0, 'float-greater-than-plus-one' => \PHP_FLOAT_EPSILON + $faker->randomFloat(null, 1)];
}
}
|
Mutation Tests (8.1, locked):
src/FloatProvider.php#L98
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
private static function values() : array
{
$faker = self::faker();
- return ['float-less-than-minus-one' => -1 * \PHP_FLOAT_EPSILON - $faker->randomFloat(null, 1), 'float-minus-one' => -1.0, 'float-zero' => 0.0, 'float-plus-one' => 1.0, 'float-greater-than-plus-one' => \PHP_FLOAT_EPSILON + $faker->randomFloat(null, 1)];
+ return ['float-less-than-minus-one' => -1 * \PHP_FLOAT_EPSILON - $faker->randomFloat(null, 1), 'float-minus-one' => -1.0, 'float-zero' => 0.0, 'float-plus-one' => 1.0, 'float-greater-than-plus-one' => \PHP_FLOAT_EPSILON + $faker->randomFloat(null, 0)];
}
}
|
Mutation Tests (8.1, locked):
src/FloatProvider.php#L98
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
private static function values() : array
{
$faker = self::faker();
- return ['float-less-than-minus-one' => -1 * \PHP_FLOAT_EPSILON - $faker->randomFloat(null, 1), 'float-minus-one' => -1.0, 'float-zero' => 0.0, 'float-plus-one' => 1.0, 'float-greater-than-plus-one' => \PHP_FLOAT_EPSILON + $faker->randomFloat(null, 1)];
+ return ['float-less-than-minus-one' => -1 * \PHP_FLOAT_EPSILON - $faker->randomFloat(null, 1), 'float-minus-one' => -1.0, 'float-zero' => 0.0, 'float-plus-one' => 1.0, 'float-greater-than-plus-one' => \PHP_FLOAT_EPSILON + $faker->randomFloat(null, 2)];
}
}
|
Mutation Tests (8.1, locked):
src/IntProvider.php#L94
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
private static function values() : array
{
$faker = self::faker();
- return ['int-less-than-minus-one' => -1 * $faker->numberBetween(1), 'int-minus-one' => -1, 'int-zero' => 0, 'int-plus-one' => 1, 'int-greater-than-plus-one' => $faker->numberBetween(1)];
+ return ['int-less-than-minus-one' => -2 * $faker->numberBetween(1), 'int-minus-one' => -1, 'int-zero' => 0, 'int-plus-one' => 1, 'int-greater-than-plus-one' => $faker->numberBetween(1)];
}
}
|
Mutation Tests (8.1, locked):
src/IntProvider.php#L94
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
private static function values() : array
{
$faker = self::faker();
- return ['int-less-than-minus-one' => -1 * $faker->numberBetween(1), 'int-minus-one' => -1, 'int-zero' => 0, 'int-plus-one' => 1, 'int-greater-than-plus-one' => $faker->numberBetween(1)];
+ return ['int-less-than-minus-one' => -1 * $faker->numberBetween(0), 'int-minus-one' => -1, 'int-zero' => 0, 'int-plus-one' => 1, 'int-greater-than-plus-one' => $faker->numberBetween(1)];
}
}
|
Mutation Tests (8.1, locked):
src/IntProvider.php#L94
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
private static function values() : array
{
$faker = self::faker();
- return ['int-less-than-minus-one' => -1 * $faker->numberBetween(1), 'int-minus-one' => -1, 'int-zero' => 0, 'int-plus-one' => 1, 'int-greater-than-plus-one' => $faker->numberBetween(1)];
+ return ['int-less-than-minus-one' => -1 * $faker->numberBetween(2), 'int-minus-one' => -1, 'int-zero' => 0, 'int-plus-one' => 1, 'int-greater-than-plus-one' => $faker->numberBetween(1)];
}
}
|
Mutation Tests (8.1, locked):
src/IntProvider.php#L98
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
private static function values() : array
{
$faker = self::faker();
- return ['int-less-than-minus-one' => -1 * $faker->numberBetween(1), 'int-minus-one' => -1, 'int-zero' => 0, 'int-plus-one' => 1, 'int-greater-than-plus-one' => $faker->numberBetween(1)];
+ return ['int-less-than-minus-one' => -1 * $faker->numberBetween(1), 'int-minus-one' => -1, 'int-zero' => 0, 'int-plus-one' => 1, 'int-greater-than-plus-one' => $faker->numberBetween(0)];
}
}
|