Fix incorrect type hint #991
lint-and-analyse-php.yml
on: pull_request
lint-php
1m 23s
Matrix: analyse-php
Annotations
18 errors and 1 warning
|
UnusedBaselineEntry:
tests/Lexer/ContextTest.php#L0
tests/Lexer/ContextTest.php:0:0: UnusedBaselineEntry: Baseline for issue "PossiblyUnusedMethod" has 4 extra entries. (see https://psalm.dev/316)
|
|
UnusedBaselineEntry:
tests/Components/LockExpressionTest.php#L0
tests/Components/LockExpressionTest.php:0:0: UnusedBaselineEntry: Baseline for issue "PossiblyUnusedMethod" has 1 extra entry. (see https://psalm.dev/316)
|
|
UnusedBaselineEntry:
tests/Components/LimitTest.php#L0
tests/Components/LimitTest.php:0:0: UnusedBaselineEntry: Baseline for issue "PossiblyUnusedMethod" has 1 extra entry. (see https://psalm.dev/316)
|
|
UnusedBaselineEntry:
tests/Components/GroupKeywordTest.php#L0
tests/Components/GroupKeywordTest.php:0:0: UnusedBaselineEntry: Baseline for issue "PossiblyUnusedMethod" has 1 extra entry. (see https://psalm.dev/316)
|
|
UnusedBaselineEntry:
tests/Components/ExpressionTest.php#L0
tests/Components/ExpressionTest.php:0:0: UnusedBaselineEntry: Baseline for issue "PossiblyUnusedMethod" has 2 extra entries. (see https://psalm.dev/316)
|
|
UnusedBaselineEntry:
tests/Components/ArrayObjTest.php#L0
tests/Components/ArrayObjTest.php:0:0: UnusedBaselineEntry: Baseline for issue "PossiblyUnusedMethod" has 1 extra entry. (see https://psalm.dev/316)
|
|
UnusedBaselineEntry:
tests/Builder/StatementTest.php#L0
tests/Builder/StatementTest.php:0:0: UnusedBaselineEntry: Baseline for issue "PossiblyUnusedMethod" has 1 extra entry. (see https://psalm.dev/316)
|
|
UnusedBaselineEntry:
tests/Builder/CreateStatementTest.php#L0
tests/Builder/CreateStatementTest.php:0:0: UnusedBaselineEntry: Baseline for issue "PossiblyUnusedMethod" has 1 extra entry. (see https://psalm.dev/316)
|
|
UnusedBaselineEntry:
tests/Builder/AlterStatementTest.php#L0
tests/Builder/AlterStatementTest.php:0:0: UnusedBaselineEntry: Baseline for issue "PossiblyUnusedMethod" has 2 extra entries. (see https://psalm.dev/316)
|
|
InvalidArgument:
tests/Parser/KillStatementTest.php#L37
tests/Parser/KillStatementTest.php:37:21: InvalidArgument: Argument 1 of PhpMyAdmin\SqlParser\Tests\Parser\KillStatementTest::testBuildKill is not optional, but possibly undefined string provided by PhpMyAdmin\SqlParser\Tests\Parser\KillStatementTest::buildkillprovider():(list<list<string>>) (see https://psalm.dev/004)
|
|
analyse-php (8.2)
Process completed with exit code 1.
|
|
analyse-php (8.2):
tests/benchmarks/UtfStringBench.php#L55
Call to method PhpMyAdmin\SqlParser\UtfString::offsetGet() on a separate line has no effect.
|
|
analyse-php (8.2):
tests/benchmarks/UtfStringBench.php#L54
Call to method PhpMyAdmin\SqlParser\UtfString::offsetGet() on a separate line has no effect.
|
|
analyse-php (8.2):
tests/benchmarks/UtfStringBench.php#L53
Call to method PhpMyAdmin\SqlParser\UtfString::offsetGet() on a separate line has no effect.
|
|
analyse-php (8.2):
tests/benchmarks/UtfStringBench.php#L52
Call to method PhpMyAdmin\SqlParser\UtfString::offsetGet() on a separate line has no effect.
|
|
analyse-php (8.2):
src/Tools/ContextGenerator.php#L0
Ignored error pattern #^Offset 2 might not exist on array\{0\?\: string, 1\?\: non\-empty\-string, 2\?\: numeric\-string\}\.$# (offsetAccess.notFound) in path /home/runner/work/sql-parser/sql-parser/src/Tools/ContextGenerator.php was not matched in reported errors.
|
|
analyse-php (8.2):
src/Tools/ContextGenerator.php#L0
Ignored error pattern #^Offset 1 might not exist on array\{0\?\: string, 1\?\: non\-empty\-string, 2\?\: numeric\-string\}\.$# (offsetAccess.notFound) in path /home/runner/work/sql-parser/sql-parser/src/Tools/ContextGenerator.php was not matched in reported errors.
|
|
analyse-php (8.2):
src/Statements/CreateStatement.php#L0
Ignored error pattern #^Binary operation "\.\=" between mixed and string results in an error\.$# (assignOp.invalid) in path /home/runner/work/sql-parser/sql-parser/src/Statements/CreateStatement.php was not matched in reported errors.
|
|
analyse-php (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/
|