removed pds #10
Annotations
1 error, 11 warnings, and 10 notices
src/Compiler.php#L1471
Return value type is not compatible with declaration
|
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/
|
src/Compiler.php#L334
Incompatible types: Expected property of type 'array', 'object' provided
|
src/Compiler.php#L1471
Return value type is not compatible with declared
|
src/Scanner/Scanner.php#L61
Statement has empty body
|
tests_old/Compiler/CompileCest.php#L16
Undefined class 'IntegrationTester'
|
tests_old/Compiler/CompileDoCest.php#L29
Undefined class 'IntegrationTester'
|
tests_old/Compiler/CompileStringCest.php#L69
Undefined class 'IntegrationTester'
|
tests_old/Compiler/FireExtensionEventCest.php#L29
Undefined class 'IntegrationTester'
|
tests_old/CompilerFilesCest.php#L39
Undefined class 'IntegrationTester'
|
tests_old/CompilerCest.php#L327
Undefined class 'IntegrationTester'
|
tests_old/Compiler/GetFunctionsCest.php#L16
Undefined class 'IntegrationTester'
|
src/Compiler.php#L3148
Duplicated code
|
files/parser.php.php#L2999
phpcs: Line exceeds 120 characters; contains 192 characters
|
files/parser.php.php#L3238
phpcs: Line exceeds 120 characters; contains 157 characters
|
files/parser.php.php#L3083
phpcs: CASE statements must be defined using a colon
|
files/parser.php.php#L2369
phpcs: TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
|
files/parser.php.php#L120
phpcs: Visibility must be declared on all constants if your project supports PHP 7.1 or later
|
files/parser.php.php#L3015
phpcs: TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
|
files/parser.php.php#L1616
phpcs: Line exceeds 120 characters; contains 142 characters
|
files/parser.php.php#L2369
phpcs: Line exceeds 120 characters; contains 171 characters
|
files/parser.php.php#L3215
phpcs: Line indented incorrectly; expected 12 spaces, found 16
|
This job succeeded
Loading