Skip to content

Fix up role reading for BackedEnums #486

Fix up role reading for BackedEnums

Fix up role reading for BackedEnums #486

Triggered via push December 24, 2023 15:23
Status Failure
Total duration 39s
Artifacts

ci.yml

on: push
Coding Standard & Static Analysis
24s
Coding Standard & Static Analysis
Matrix: testsuite
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Coding Standard & Static Analysis: src/Auth/AclTrait.php (in context of class TinyAuth/Auth/TinyAuthorize)#L621
Instanceof between int and BackedEnum will always evaluate to false.
Coding Standard & Static Analysis: src/Auth/AclTrait.php (in context of class TinyAuth/Auth/TinyAuthorize)#L622
Instanceof between *NEVER* and Cake\Database\Type\EnumLabelInterface will always evaluate to false.
Coding Standard & Static Analysis: src/Auth/AclTrait.php (in context of class TinyAuth/Controller/Component/AuthComponent)#L621
Instanceof between int and BackedEnum will always evaluate to false.
Coding Standard & Static Analysis: src/Auth/AclTrait.php (in context of class TinyAuth/Controller/Component/AuthComponent)#L622
Instanceof between *NEVER* and Cake\Database\Type\EnumLabelInterface will always evaluate to false.
Coding Standard & Static Analysis: src/Auth/AclTrait.php (in context of class TinyAuth/Controller/Component/AuthUserComponent)#L621
Instanceof between int and BackedEnum will always evaluate to false.
Coding Standard & Static Analysis: src/Auth/AclTrait.php (in context of class TinyAuth/Controller/Component/AuthUserComponent)#L622
Instanceof between *NEVER* and Cake\Database\Type\EnumLabelInterface will always evaluate to false.
Coding Standard & Static Analysis: src/Auth/AclTrait.php (in context of class TinyAuth/Controller/Component/AuthorizationComponent)#L622
Instanceof between *NEVER* and Cake\Database\Type\EnumLabelInterface will always evaluate to false.
Coding Standard & Static Analysis: src/Auth/AclTrait.php (in context of class TinyAuth/Middleware/RequestAuthorizationMiddleware)#L622
Instanceof between *NEVER* and Cake\Database\Type\EnumLabelInterface will always evaluate to false.