Skip to content

Add support for value-of<BackedEnum> #1235

Add support for value-of<BackedEnum>

Add support for value-of<BackedEnum> #1235

Triggered via pull request June 6, 2024 19:43
Status Failure
Total duration 37s
Artifacts

quality-assurance.yml

on: pull_request
Quality Assurance
27s
Quality Assurance
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
Quality Assurance: src/Type/Parser/Lexer/Token/ValueOfToken.php#L49
Parameter #1 $callback of function array_map expects (callable(UnitEnum): mixed)|null, Closure(BackedEnum): CuyZ\Valinor\Type\Type given.
Quality Assurance: tests/Integration/Mapping/EnumValueOfMappingTest.php#L35
Call to static method PHPUnit\Framework\Assert::assertSame() with 'FOO' and 'FOO' will always evaluate to true.
Quality Assurance
Process completed with exit code 1.
Quality Assurance
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3.2.5, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.