Update rector/rector requirement from ^0.18.3 to ^0.19.0 (#46) #221
Annotations
4 warnings
mutation / PHP 8.1-ubuntu-latest:
src/Json.php#L49
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
*
* @return string The encoding result.
*/
- public static function encode($value, int $options = JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE | JSON_THROW_ON_ERROR, int $depth = 512) : string
+ public static function encode($value, int $options = JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE | JSON_THROW_ON_ERROR, int $depth = 511) : string
{
if (is_array($value)) {
$value = self::processArray($value);
|
mutation / PHP 8.1-ubuntu-latest:
src/Json.php#L49
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
*
* @return string The encoding result.
*/
- public static function encode($value, int $options = JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE | JSON_THROW_ON_ERROR, int $depth = 512) : string
+ public static function encode($value, int $options = JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE | JSON_THROW_ON_ERROR, int $depth = 513) : string
{
if (is_array($value)) {
$value = self::processArray($value);
|
mutation / PHP 8.1-ubuntu-latest:
src/Json.php#L98
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
*
* @return mixed The PHP data.
*/
- public static function decode(string $json, bool $asArray = true, int $depth = 512, int $options = JSON_THROW_ON_ERROR)
+ public static function decode(string $json, bool $asArray = true, int $depth = 511, int $options = JSON_THROW_ON_ERROR)
{
if ($json === '') {
return null;
|
mutation / PHP 8.1-ubuntu-latest:
src/Json.php#L98
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
*
* @return mixed The PHP data.
*/
- public static function decode(string $json, bool $asArray = true, int $depth = 512, int $options = JSON_THROW_ON_ERROR)
+ public static function decode(string $json, bool $asArray = true, int $depth = 513, int $options = JSON_THROW_ON_ERROR)
{
if ($json === '') {
return null;
|