Skip to content

Commit

Permalink
CI: Allow any integer in PHPStan error for Token's constructor (#8000)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wirone committed May 9, 2024
1 parent 91b20b9 commit d50fa11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev-tools/phpstan/baseline.php
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@
'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitDedicateAssertFixer.php',
];
$ignoreErrors[] = [
'message' => '#^Parameter \\#1 \\$token of class PhpCsFixer\\\\Tokenizer\\\\Token constructor expects array\\{int, string\\}\\|string, array\\{262, int\\|string\\|true\\} given\\.$#',
'message' => '#^Parameter \\#1 \\$token of class PhpCsFixer\\\\Tokenizer\\\\Token constructor expects array\\{int, string\\}\\|string, array\\{[0-9]+, int\\|string\\|true\\} given\\.$#',
'count' => 1,
'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitDedicateAssertFixer.php',
];
Expand Down

0 comments on commit d50fa11

Please sign in to comment.