Skip to content

Commit bfa855d

Browse files
phpstan :)
1 parent e8592eb commit bfa855d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

ci/phpstan/baselines/lexer-constants.neon renamed to ci/phpstan/baselines/lexer-variations.neon

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ parameters:
1111
- '#Fetching deprecated class constant T_DISTINCT of class Doctrine\\ORM\\Query\\Lexer#'
1212
- '#Parameter \#1 \$token of method Doctrine\\ORM\\Query\\Parser::match\(\) expects Doctrine\\ORM\\Query\\TokenType, mixed given.#'
1313
- '#Parameter \#1 \$type of method Doctrine\\Common\\Lexer\\AbstractLexer<Doctrine\\ORM\\Query\\TokenType,string>::isNextToken\(\) expects Doctrine\\ORM\\Query\\TokenType, mixed given.#'
14+
- '#Parameter \#1 \$token of method Doctrine\\ORM\\Query\\Parser::match\(\) expects int\|string, mixed given.#'
15+
- '#Parameter \#1 \$type of method Doctrine\\Common\\Lexer\\AbstractLexer<int\|string,string>::isNextToken\(\) expects int\|string, mixed given.#'

ci/phpstan/config.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ includes:
44
- ../../vendor/phpstan/phpstan-doctrine/extension.neon
55
- ../../vendor/phpstan/phpstan-phpunit/extension.neon
66
- ./baselines/deprecated-methods.neon
7-
- ./baselines/lexer-constants.neon
7+
- ./baselines/lexer-variations.neon
88
- ./baselines/phpstan-identifiers.neon
99
- ./baselines/type-mismatches.neon
1010

0 commit comments

Comments
 (0)