Skip to content

perf: reduce per-character overhead in hot parsing paths #33

perf: reduce per-character overhead in hot parsing paths

perf: reduce per-character overhead in hot parsing paths #33

Triggered via push March 20, 2026 00:08
Status Failure
Total duration 25s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

6 errors
phpstan
Process completed with exit code 1.
phpstan: src/Concerns/StateMachine.php (in context of class Cortex/JsonRepair/JsonRepairer)#L792
Method Cortex\JsonRepair\JsonRepairer::tryMatchKeyword() should return array{string, int}|null but returns array{mixed, mixed}.
phpstan: src/Concerns/StateMachine.php (in context of class Cortex/JsonRepair/JsonRepairer)#L788
Binary operation "+" between int and mixed results in an error.
phpstan: src/Concerns/StateMachine.php (in context of class Cortex/JsonRepair/JsonRepairer)#L787
Parameter #4 $length of function substr_compare expects int|null, mixed given.
phpstan: src/Concerns/StateMachine.php (in context of class Cortex/JsonRepair/JsonRepairer)#L787
Parameter #2 $needle of function substr_compare expects string, mixed given.
phpstan: src/Concerns/StateMachine.php (in context of class Cortex/JsonRepair/JsonRepairer)#L786
Argument of an invalid type mixed supplied for foreach, only iterables are supported.