Bump phpstan/phpstan from 1.12.8 to 2.0.0 #2660
CI.yml
on: pull_request
Build
42s
PHP 7.4 compatibility
10s
Lint
43s
Annotations
10 errors
Lint:
src/php/class-skautis-integration.php#L131
If condition is always true.
|
Lint:
src/php/class-skautis-integration.php#L135
Unreachable statement - code above always terminates.
|
Lint:
src/php/src/admin/class-admin.php#L122
Call to function method_exists() with WP_Admin_Bar and 'get_node' will always evaluate to true.
|
Lint:
src/php/src/auth/class-connect-and-disconnect-wp-account.php#L54
PHPDoc tag @SuppressWarnings has invalid value ((PHPMD.ExitExpression)): Unexpected token ".ExitExpression)", expected ')' at offset 286 on line 9
|
Lint:
src/php/src/auth/class-connect-and-disconnect-wp-account.php#L113
PHPDoc tag @SuppressWarnings has invalid value ((PHPMD.ExitExpression)): Unexpected token ".ExitExpression)", expected ')' at offset 413 on line 10
|
Lint:
src/php/src/auth/class-connect-and-disconnect-wp-account.php#L189
PHPDoc tag @SuppressWarnings has invalid value ((PHPMD.ExitExpression)): Unexpected token ".ExitExpression)", expected ')' at offset 415 on line 12
|
Lint:
src/php/src/auth/class-connect-and-disconnect-wp-account.php#L205
Call to function is_array() with array{string, numeric-string} will always evaluate to true.
|
Lint:
src/php/src/auth/class-skautis-gateway.php#L98
PHPDoc tag @SuppressWarnings has invalid value ((PHPMD.ExitExpression)): Unexpected token ".ExitExpression)", expected ')' at offset 79 on line 4
|
Lint:
src/php/src/auth/class-skautis-login.php#L89
PHPDoc tag @SuppressWarnings has invalid value ((PHPMD.ExitExpression)): Unexpected token ".ExitExpression)", expected ')' at offset 580 on line 12
|
Lint:
src/php/src/auth/class-skautis-login.php#L118
PHPDoc tag @SuppressWarnings has invalid value ((PHPMD.ExitExpression)): Unexpected token ".ExitExpression)", expected ')' at offset 129 on line 6
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
build-artifact
|
821 KB |
|