Skip to content

Update dependency vimeo/psalm to v6 #569

Update dependency vimeo/psalm to v6

Update dependency vimeo/psalm to v6 #569

Triggered via pull request February 3, 2025 13:15
Status Failure
Total duration 1m 30s
Artifacts

continuous-integration.yml

on: pull_request
ci  /  Generate job matrix
4s
ci / Generate job matrix
Matrix: ci / QA Checks
Fit to window
Zoom out
Zoom in

Annotations

10 errors
PossiblyNullArgument: src/AbstractOptions.php#L94
src/AbstractOptions.php:94:37: PossiblyNullArgument: Argument 1 of strtolower cannot be null, possibly null value provided (see https://psalm.dev/078)
PossiblyNullArrayOffset: src/AbstractOptions.php#L103
src/AbstractOptions.php:103:13: PossiblyNullArrayOffset: Cannot access value on variable $array[$normalizedKey] using possibly null offset null|string (see https://psalm.dev/125)
InvalidNullableReturnType: src/ConsoleHelper.php#L77
src/ConsoleHelper.php:77:16: InvalidNullableReturnType: The declared return type 'string' for Laminas\Stdlib\ConsoleHelper::colorize is not nullable, but 'null|string' contains null (see https://psalm.dev/144)
PossiblyNullArgument: src/ConsoleHelper.php#L85
src/ConsoleHelper.php:85:71: PossiblyNullArgument: Argument 3 of preg_replace cannot be null, possibly null value provided (see https://psalm.dev/078)
NullableReturnStatement: src/ConsoleHelper.php#L87
src/ConsoleHelper.php:87:16: NullableReturnStatement: The declared return type 'string' for Laminas\Stdlib\ConsoleHelper::colorize is not nullable, but the function returns 'null|string' (see https://psalm.dev/139)
PossiblyNullArgument: src/ConsoleHelper.php#L160
src/ConsoleHelper.php:160:55: PossiblyNullArgument: Argument 3 of str_replace cannot be null, possibly null value provided (see https://psalm.dev/078)
PossiblyNullArrayOffset: src/FastPriorityQueue.php#L173
src/FastPriorityQueue.php:173:23: PossiblyNullArrayOffset: Cannot access value on variable $this->values[$this->maxPriority] using possibly null offset int<0, max>|null (see https://psalm.dev/125)
PossiblyNullArrayOffset: src/FastPriorityQueue.php#L261
src/FastPriorityQueue.php:261:19: PossiblyNullArrayOffset: Cannot access value on variable $this->values[$this->maxPriority] using possibly null offset int<0, max>|null (see https://psalm.dev/125)
PossiblyNullArrayOffset: test/PriorityListTest.php#L226
test/PriorityListTest.php:226:13: PossiblyNullArrayOffset: Cannot access value on variable $orders1[null|string] using possibly null offset null|string (see https://psalm.dev/125)
PossiblyNullArrayOffset: test/PriorityListTest.php#L227
test/PriorityListTest.php:227:13: PossiblyNullArrayOffset: Cannot access value on variable $orders2[$key] using possibly null offset null|string (see https://psalm.dev/125)