Introduction of phpstan #197
php-qa.yml
on: pull_request
coding-standards-analysis
/
coding-standards-php
21s
Matrix: lint
Matrix: static-code-analysis
Annotations
13 errors and 10 warnings
coding-standards-analysis / coding-standards-php
Process completed with exit code 2.
|
coding-standards-analysis / coding-standards-php:
tests/unit/Container/ContainerConfiguratorTest.php#L449
Space after opening parenthesis of function call prohibited
|
coding-standards-analysis / coding-standards-php:
tests/unit/Container/ContainerConfiguratorTest.php#L449
Expected 0 spaces before closing parenthesis; 1 found
|
coding-standards-analysis / coding-standards-php
Process completed with exit code 1.
|
static-code-analysis (7.4) / static-analysis-php:
tests/unit/PackageTest.php#L505
Method class@anonymous/tests/unit/PackageTest.php:490::works() has invalid return type Inpsyde\Modularity\Tests\Unit\null.
|
static-code-analysis (7.4) / static-analysis-php:
tests/unit/PackageTest.php#L505
Method class@anonymous/tests/unit/PackageTest.php:490::works() never returns Inpsyde\Modularity\Tests\Unit\null so it can be removed from the return type.
|
static-code-analysis (7.4) / static-analysis-php:
tests/unit/PackageTest.php#L505
Method class@anonymous/tests/unit/PackageTest.php:490::works() uses native union types but they're supported only on PHP 8.0 and later.
|
static-code-analysis (7.4) / static-analysis-php:
tests/unit/PackageTest.php#L507
Method class@anonymous/tests/unit/PackageTest.php:490::works() should return Inpsyde\Modularity\Tests\Unit\null|string but returns string|null.
|
static-code-analysis (7.4) / static-analysis-php
Process completed with exit code 1.
|
static-code-analysis (8.1) / static-analysis-php
FailFast: cancelling since parallel instance has failed
|
static-code-analysis (8.2) / static-analysis-php
FailFast: cancelling since parallel instance has failed
|
static-code-analysis (8.3) / static-analysis-php
FailFast: cancelling since parallel instance has failed
|
static-code-analysis (8.3) / static-analysis-php
The operation was canceled.
|
lint (8.0) / lint-php
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint (7.4) / lint-php
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint (8.1) / lint-php
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint (8.2) / lint-php
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint (8.3) / lint-php
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
static-code-analysis (8.0) / static-analysis-php
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
coding-standards-analysis / coding-standards-php
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
coding-standards-analysis / coding-standards-php:
tests/unit/Container/ReadOnlyContainerTest.php#L219
In functions where arguments declaration spans across multiple lines, function body should start with a blank line.
|
coding-standards-analysis / coding-standards-php:
tests/unit/Container/ReadOnlyContainerTest.php#L224
The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line
|
static-code-analysis (7.4) / static-analysis-php
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|