Merge pull request #3 from phalcon/dependabot/composer/phpstan/phpsta… #26
continuous-integration.yml
on: push
Matrix: Validate Tests code style
Matrix: unit-tests
Annotations
1 error, 12 warnings, and 10 notices
Strict type checking rules violation:
src/Compiler.php#L1500
Return value type is not compatible with declaration
|
Unit tests / PHP-8.1-ts-ubuntu-gcc
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Qodana Analysis
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, JetBrains/qodana-action@v2023.2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Type mismatch in property assignment:
src/Compiler.php#L338
Incompatible types: Expected property of type 'array', 'object' provided
|
Incompatible return type:
src/Compiler.php#L1500
Return value type is not compatible with declared
|
Parameter type:
src/Compiler.php#L3210
Parameter '$path' type is not compatible with declaration
|
Undefined class:
tests_old/Compiler/CompileCest.php#L16
Undefined class 'IntegrationTester'
|
Undefined class:
tests_old/Compiler/CompileDoCest.php#L29
Undefined class 'IntegrationTester'
|
Undefined class:
tests_old/Compiler/CompileStringCest.php#L69
Undefined class 'IntegrationTester'
|
Undefined class:
tests_old/Compiler/FireExtensionEventCest.php#L29
Undefined class 'IntegrationTester'
|
Undefined class:
tests_old/CompilerFilesCest.php#L39
Undefined class 'IntegrationTester'
|
Undefined class:
tests_old/CompilerCest.php#L327
Undefined class 'IntegrationTester'
|
Undefined class:
tests_old/Compiler/GetFunctionsCest.php#L16
Undefined class 'IntegrationTester'
|
Duplicated code fragment:
src/Compiler.php#L3228
Duplicated code
|
PHP_CodeSniffer validation:
files/parser.php.php#L2999
phpcs: Line exceeds 120 characters; contains 192 characters
|
PHP_CodeSniffer validation:
files/parser.php.php#L3238
phpcs: Line exceeds 120 characters; contains 157 characters
|
PHP_CodeSniffer validation:
files/parser.php.php#L3083
phpcs: CASE statements must be defined using a colon
|
PHP_CodeSniffer validation:
files/parser.php.php#L2369
phpcs: TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
|
PHP_CodeSniffer validation:
files/parser.php.php#L120
phpcs: Visibility must be declared on all constants if your project supports PHP 7.1 or later
|
PHP_CodeSniffer validation:
files/parser.php.php#L3015
phpcs: TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
|
PHP_CodeSniffer validation:
files/parser.php.php#L1616
phpcs: Line exceeds 120 characters; contains 142 characters
|
PHP_CodeSniffer validation:
files/parser.php.php#L2369
phpcs: Line exceeds 120 characters; contains 171 characters
|
PHP_CodeSniffer validation:
files/parser.php.php#L3215
phpcs: Line indented incorrectly; expected 12 spaces, found 16
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
unit-8.1.coverage
Expired
|
21.7 KB |
|