chore: Blame ignore coding standards #2
code-quality.yml
on: push
code-quality
/
Lint GitHub Actions workflows
5s
code-quality
/
Lint PHP files
14s
code-quality
/
PHPCS
14s
Annotations
11 errors and 6 warnings
code-quality / PHPCS:
src/Entity/NavMenuItem.php#L53
The default value of the $flags parameter for html_entity_decode() was changed from ENT_COMPAT to ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401 in PHP 8.1. For cross-version compatibility, the $flags parameter should be explicitly set.
|
code-quality / PHPCS:
src/Entity/NavMenuItem.php#L73
Use Yoda Condition checks, you must.
|
code-quality / PHPCS:
src/Entity/EntityInterface.php#L12
Method name "setCurrentId" in class EntityInterface is not in snake case format, try "set_current_id"
|
code-quality / PHPCS:
src/Entity/User.php#L66
The default value of the $flags parameter for html_entity_decode() was changed from ENT_COMPAT to ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401 in PHP 8.1. For cross-version compatibility, the $flags parameter should be explicitly set.
|
code-quality / PHPCS:
src/Entity/Term.php#L25
Use Yoda Condition checks, you must.
|
code-quality / PHPCS:
src/Entity/Term.php#L38
The default value of the $flags parameter for html_entity_decode() was changed from ENT_COMPAT to ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401 in PHP 8.1. For cross-version compatibility, the $flags parameter should be explicitly set.
|
code-quality / PHPCS:
src/Entity/Term.php#L80
The default value of the $flags parameter for html_entity_decode() was changed from ENT_COMPAT to ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401 in PHP 8.1. For cross-version compatibility, the $flags parameter should be explicitly set.
|
code-quality / PHPCS:
src/Entity/Term.php#L159
Use Yoda Condition checks, you must.
|
code-quality / PHPCS:
src/Provider/Picsum.php#L62
Variable "$fullPath" is not in valid snake_case format, try "$full_path"
|
code-quality / PHPCS:
src/Provider/Picsum.php#L104
Variable "$fullPath" is not in valid snake_case format, try "$full_path"
|
code-quality / PHPCS
Process completed with exit code 1.
|
code-quality / PHPCS:
src/Entity/Entity.php#L26
A "__construct()" magic method can not return a value. Found: "return $this->exists( $id ) ? $this->setCurrentId( $id ) : $this->setCurrentId( false );"
|
code-quality / PHPCS:
src/Entity/Entity.php#L46
The method parameter $k is never used
|
code-quality / PHPCS:
src/Entity/Entity.php#L107
It is recommended not to use reserved keyword "array" as function parameter name. Found: $array
|
code-quality / PHPCS:
src/Command.php#L145
It is recommended not to use reserved keyword "object" as function parameter name. Found: $object
|
code-quality / PHPCS:
src/Entity/Post.php#L102
This comment is 48% valid code; is this commented out code?
|
code-quality / PHPCS:
src/Entity/Post.php#L178
Not using strict comparison for in_array; supply true for $strict argument.
|