chore: Logging plugin admin view #358
code-quality.yml
on: pull_request
Detect plugins has php code quality configuration
38s
Matrix: quality-checks
Annotations
5 errors
|
wpgraphql-logging php code quality checks
Process completed with exit code 2.
|
|
PossiblyInvalidCast:
src/Admin/View/List/List_Table.php#L161
src/Admin/View/List/List_Table.php:161:77: PossiblyInvalidCast: non-empty-array<int|non-empty-string, array<int|non-empty-string, mixed>|string> cannot be cast to string (see https://psalm.dev/190)
|
|
RedundantCondition:
src/Admin/View/List/List_Table.php#L140
src/Admin/View/List/List_Table.php:140:11: RedundantCondition: Type non-empty-array<int|non-empty-string, mixed> for $ids is never falsy (see https://psalm.dev/122)
|
|
RedundantCondition:
src/Admin/View/List/List_Table.php#L140
src/Admin/View/List/List_Table.php:140:9: RedundantCondition: Operand of type true is always truthy (see https://psalm.dev/122)
|
|
PossiblyInvalidArgument:
src/Admin/View/List/List_Table.php#L131
src/Admin/View/List/List_Table.php:131:35: PossiblyInvalidArgument: Argument 1 of wp_verify_nonce expects string, but possibly different type non-empty-array<int|non-empty-string, array<int|non-empty-string, mixed>|string>|string provided (see https://psalm.dev/092)
|