refactoring #1
Annotations
10 errors and 1 warning
phpstan:
doom-scroll.php#L33
Only booleans are allowed in a negated boolean, mixed given.
|
phpstan:
doom-scroll.php#L42
Only booleans are allowed in a negated boolean, mixed given.
|
phpstan:
doom-scroll.php#L57
Only booleans are allowed in a negated boolean, mixed given.
|
phpstan:
doom-scroll.php#L78
Only booleans are allowed in an if condition, mixed given.
|
phpstan:
doom-scroll.php#L295
Construct empty() is not allowed. Use more strict comparison.
|
phpstan:
doom-scroll.php#L349
Construct empty() is not allowed. Use more strict comparison.
|
phpstan:
doom-scroll.php#L368
Only booleans are allowed in &&, mixed given on the right side.
|
phpstan:
doom-scroll.php#L369
Construct empty() is not allowed. Use more strict comparison.
|
phpstan:
doom-scroll.php#L395
Only booleans are allowed in an if condition, mixed given.
|
phpstan:
doom-scroll.php#L436
Call to function in_array() requires parameter #3 to be set.
|
phpstan
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|