PHP 8.1 erfordern, Code-Modernisierung, rexstan #4
check.yml
on: pull_request
php-cs-fixer
21s
rexstan
37s
Annotations
10 errors
rexstan:
src/addons/ydeploy/boot.php#L16
Only booleans are allowed in &&, mixed given on the right side.
|
rexstan:
src/addons/ydeploy/deployer/functions.php#L16
Construct empty() is not allowed. Use more strict comparison.
|
rexstan:
src/addons/ydeploy/deployer/functions.php#L32
Construct empty() is not allowed. Use more strict comparison.
|
rexstan:
src/addons/ydeploy/deployer/tasks/build/assets.php#L13
Only booleans are allowed in an if condition, mixed given.
|
rexstan:
src/addons/ydeploy/deployer/tasks/build/assets.php#L17
Only booleans are allowed in an if condition, mixed given.
|
rexstan:
src/addons/ydeploy/deployer/tasks/build/info.php#L10
Construct empty() is not allowed. Use more strict comparison.
|
rexstan:
src/addons/ydeploy/deployer/tasks/build/info.php#L14
Construct empty() is not allowed. Use more strict comparison.
|
rexstan:
src/addons/ydeploy/deployer/tasks/build/info.php#L17
Construct empty() is not allowed. Use more strict comparison.
|
rexstan:
src/addons/ydeploy/deployer/tasks/build/info.php#L22
Construct empty() is not allowed. Use more strict comparison.
|
rexstan:
src/addons/ydeploy/deployer/tasks/deploy/dump_info.php#L9
Short ternary operator is not allowed. Use null coalesce operator if applicable or consider using long ternary.
|