Feature/extension tests #32
coding-standards.yml
on: pull_request
Matrix: Coding Standards / Coding Standards
Annotations
10 errors and 5 warnings
Coding Standards / Coding Standards (8.2):
tests/Feature/TestCase.php#L12
Type LaravelDoctrineTest\Extensions\Entity\Artist is not used in this file.
|
Coding Standards / Coding Standards (8.2):
tests/Feature/TestCase.php#L27
Method \LaravelDoctrineTest\Extensions\Feature\TestCase::defineEnvironment() does not have parameter type hint nor @param annotation for its parameter $app.
|
Coding Standards / Coding Standards (8.2):
tests/Feature/TestCase.php#L27
Method \LaravelDoctrineTest\Extensions\Feature\TestCase::defineEnvironment() does not have void return type hint.
|
Coding Standards / Coding Standards (8.2):
tests/Feature/TestCase.php#L30
Function tap() should not be referenced via a fallback global name, but via a use statement.
|
Coding Standards / Coding Standards (8.2):
tests/Feature/TestCase.php#L30
Closure not using "$this" should be declared static.
|
Coding Standards / Coding Standards (8.2):
tests/Feature/TestCase.php#L30
Closure does not have void return type hint.
|
Coding Standards / Coding Standards (8.2):
tests/Feature/TestCase.php#L34
Multi-line array contains a single value; use single-line array instead
|
Coding Standards / Coding Standards (8.2):
tests/Feature/TestCase.php#L35
Multi-line arrays must have a trailing comma after the last element.
|
Coding Standards / Coding Standards (8.2):
tests/Feature/TestCase.php#L41
Multi-line arrays must have a trailing comma after the last element.
|
Coding Standards / Coding Standards (8.2):
tests/Feature/TestCase.php#L56
Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
|
Coding Standards / Coding Standards (8.2)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, ramsey/composer-install@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Coding Standards / Coding Standards (8.2)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, ramsey/composer-install@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Coding Standards / Coding Standards (8.2)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Coding Standards / Coding Standards (8.2)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Coding Standards / Coding Standards (8.2)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|