Skip to content

Enhancement: Add support for PHP 7.4 #830

Enhancement: Add support for PHP 7.4

Enhancement: Add support for PHP 7.4 #830

Triggered via pull request November 30, 2023 17:21
Status Success
Total duration 35s
Artifacts

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
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Mutation Tests (7.4, 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 (7.4, 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 (7.4, 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 (7.4, 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 (7.4, 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 (7.4, 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 (7.4, 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 (7.4, 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 (7.4, 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 (7.4, 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)]; } }