`grabParameter()`: Remove `UnitEnum` as return type
@OmarAsem27 is already working on this.
Since Nov 12, 2026.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 83/100
Research direction
Open src/Codeception/Module/Symfony/ParameterAssertionsTrait.php at the grabParameter() return docblock and check how the project handles Psalm types. Remove UnitEnum from the documented return type, then run the relevant Psalm check to confirm the missing-class diagnostic is resolved.
Written by the indexing model from the issue text.
Description
Psalm is reporting:
Docblock-defined class, interface or enum named App\Tests\Support_generated\UnitEnum does not exist (see https://psalm.dev/200)
for @return array<array-key, mixed>|bool|string|int|float|UnitEnum|null at https://github.com/Codeception/module-symfony/blob/main/src/Codeception/Module/Symfony/ParameterAssertionsTrait.php#L23
- Dominant language
- PHP
- Stars
- 96
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
-
area/import type/enhancement when/later
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
parime/glpi-iso27001-management#1165 ·
Maintainers usually reply within 1 day
-
15.0
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
opnsense/plugins#5976 · 1 comment ·
Maintainers usually reply within 1 day