Drop php-cs-fixer and setup phpcs #16
coding-standards.yml
on: pull_request
Matrix: coding-standards / Coding Standards
Annotations
10 errors and 1 warning
coding-standards / Coding Standards (8.3):
src/Query/Mysql/Cast.php#L15
Type assert is not used in this file.
|
coding-standards / Coding Standards (8.3):
src/Query/Mysql/Cast.php#L49
Use assertion instead of inline documentation comment.
|
coding-standards / Coding Standards (8.3):
src/Query/Mysql/Cast.php#L50
Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
|
coding-standards / Coding Standards (8.3):
src/Query/Mysql/MatchAgainst.php#L18
@var annotation of property \DoctrineExtensions\Query\Mysql\MatchAgainst::$pathExp does not specify type hint for its items.
|
coding-standards / Coding Standards (8.3):
src/Query/Mysql/Div.php#L24
Language constructs must be followed by a single space; expected 1 space but found "\n"
|
coding-standards / Coding Standards (8.3):
tests/Query/Oracle/YearTest.php#L14
String "SELECT YEAR(2) from DoctrineExtensions\Tests\Entities\Blank b" does not require double quotes; use single quotes instead
|
coding-standards / Coding Standards (8.3):
tests/Query/Oracle/SecondTest.php#L14
String "SELECT SECOND(2) from DoctrineExtensions\Tests\Entities\Blank b" does not require double quotes; use single quotes instead
|
coding-standards / Coding Standards (8.3):
tests/Query/Postgresql/MonthTest.php#L14
String "SELECT MONTH(2) from DoctrineExtensions\Tests\Entities\Blank b" does not require double quotes; use single quotes instead
|
coding-standards / Coding Standards (8.3):
tests/Query/Postgresql/DayTest.php#L14
String "SELECT DAY(2) from DoctrineExtensions\Tests\Entities\Blank b" does not require double quotes; use single quotes instead
|
coding-standards / Coding Standards (8.3):
tests/Query/Postgresql/GreatestTest.php#L14
String "SELECT GREATEST(2, 5, 8) from DoctrineExtensions\Tests\Entities\Blank b" does not require double quotes; use single quotes instead
|
coding-standards / Coding Standards (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|