Skip to content

Consider named argument flags:JSON_THROW_ON_ERROR for json_ functions as "Safe" #4

Consider named argument flags:JSON_THROW_ON_ERROR for json_ functions as "Safe"

Consider named argument flags:JSON_THROW_ON_ERROR for json_ functions as "Safe" #4

Re-run triggered November 25, 2024 21:35
Status Failure
Total duration 30s
Artifacts

tests.yaml

on: pull_request
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

20 errors
PHP 8.0: src/Rules/UseSafeFunctionsRule.php#L38
Access to an undefined property PhpParser\Node\Arg|PhpParser\Node\VariadicPlaceholder::$name.
PHP 8.0: src/Rules/UseSafeFunctionsRule.php#L39
Parameter #1 $arg of method TheCodingMachine\Safe\PHPStan\Rules\UseSafeFunctionsRule::argValueIncludeJSONTHROWONERROR() expects PhpParser\Node\Arg|null, PhpParser\Node\Arg|PhpParser\Node\VariadicPlaceholder given.
PHP 8.0
Process completed with exit code 1.
PHP 7.4
The job was canceled because "_8_0_highest" failed.
PHP 7.4: src/Rules/UseSafeFunctionsRule.php#L38
Access to an undefined property PhpParser\Node\Arg|PhpParser\Node\VariadicPlaceholder::$name.
PHP 7.4: src/Rules/UseSafeFunctionsRule.php#L39
Parameter #1 $arg of method TheCodingMachine\Safe\PHPStan\Rules\UseSafeFunctionsRule::argValueIncludeJSONTHROWONERROR() expects PhpParser\Node\Arg|null, PhpParser\Node\Arg|PhpParser\Node\VariadicPlaceholder given.
PHP 7.4
Process completed with exit code 1.
PHP 7.4 (lowest)
The job was canceled because "_8_0_highest" failed.
PHP 7.4 (lowest): src/Rules/UseSafeFunctionsRule.php#L38
Access to an undefined property PhpParser\Node\Arg|PhpParser\Node\VariadicPlaceholder::$name.
PHP 7.4 (lowest): src/Rules/UseSafeFunctionsRule.php#L39
Parameter #1 $arg of method TheCodingMachine\Safe\PHPStan\Rules\UseSafeFunctionsRule::argValueIncludeJSONTHROWONERROR() expects PhpParser\Node\Arg|null, PhpParser\Node\Arg|PhpParser\Node\VariadicPlaceholder given.
PHP 7.4 (lowest): src/Rules/UseSafeFunctionsRule.php#L75
Call to an undefined method PhpParser\Node\Name::getParts().
PHP 7.4 (lowest): src/Rules/UseSafeFunctionsRule.php#L75
Parameter #2 ...$args of function array_merge expects array, mixed given.
PHP 7.4 (lowest)
Process completed with exit code 1.
PHP 8.4
The job was canceled because "_8_0_highest" failed.
PHP 8.3
The job was canceled because "_8_0_highest" failed.
PHP 8.2
The job was canceled because "_8_0_highest" failed.
PHP 8.1
The job was canceled because "_8_0_highest" failed.
PHP 8.1: src/Rules/UseSafeFunctionsRule.php#L38
Access to an undefined property PhpParser\Node\Arg|PhpParser\Node\VariadicPlaceholder::$name.
PHP 8.1: src/Rules/UseSafeFunctionsRule.php#L39
Parameter #1 $arg of method TheCodingMachine\Safe\PHPStan\Rules\UseSafeFunctionsRule::argValueIncludeJSONTHROWONERROR() expects PhpParser\Node\Arg|null, PhpParser\Node\Arg|PhpParser\Node\VariadicPlaceholder given.
PHP 8.1
The operation was canceled.