Skip to content

Add enum support

Add enum support #4612

Triggered via pull request July 27, 2024 07:20
Status Failure
Total duration 38s
Artifacts

static.yml

on: pull_request
Matrix: psalm / psalm
Matrix: psalm83 / psalm
Fit to window
Zoom out
Zoom in

Annotations

10 errors
InvalidStringClass: src/Rule/InEnum.php#L109
src/Rule/InEnum.php:109:29: InvalidStringClass: String cannot be used as a class (see https://psalm.dev/160)
MixedArgument: src/Rule/InEnum.php#L109
src/Rule/InEnum.php:109:29: MixedArgument: Argument 1 of array_column cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
psalm / PHP 8.1-ubuntu-latest
Process completed with exit code 2.
psalm / PHP 8.2-ubuntu-latest
The job was canceled because "ubuntu-latest_8_1" failed.
InvalidStringClass: src/Rule/InEnum.php#L109
src/Rule/InEnum.php:109:29: InvalidStringClass: String cannot be used as a class (see https://psalm.dev/160)
MixedArgument: src/Rule/InEnum.php#L109
src/Rule/InEnum.php:109:29: MixedArgument: Argument 1 of array_column cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
psalm / PHP 8.2-ubuntu-latest
Process completed with exit code 2.
InvalidStringClass: src/Rule/InEnum.php#L109
src/Rule/InEnum.php:109:29: InvalidStringClass: String cannot be used as a class (see https://psalm.dev/160)
MixedArgument: src/Rule/InEnum.php#L109
src/Rule/InEnum.php:109:29: MixedArgument: Argument 1 of array_column cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
psalm83 / PHP 8.3-ubuntu-latest
Process completed with exit code 2.