-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix IntegrationPrinterWithPhpParserTest
* Fix IntegrationPrinterWithPhpParserTest * rais min php-parser version * Update PhpPrinterIndentationDetectorVisitor.php * Update phpstan-baseline.neon * manual cs fix
- Loading branch information
Showing
5 changed files
with
24 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,31 @@ | ||
parameters: | ||
ignoreErrors: | ||
- | ||
message: "#^Method PHPStan\\\\PhpDocParser\\\\Ast\\\\ConstExpr\\\\ConstExprStringNode\\:\\:escapeDoubleQuotedString\\(\\) should return string but returns string\\|null\\.$#" | ||
message: '#^Method PHPStan\\PhpDocParser\\Ast\\ConstExpr\\ConstExprStringNode\:\:escapeDoubleQuotedString\(\) should return string but returns string\|null\.$#' | ||
identifier: return.type | ||
count: 1 | ||
path: src/Ast/ConstExpr/ConstExprStringNode.php | ||
|
||
- | ||
message: "#^Cannot use array destructuring on array\\<int, array\\<PHPStan\\\\PhpDocParser\\\\Ast\\\\Node\\>\\|int\\|string\\>\\|null\\.$#" | ||
message: '#^Cannot use array destructuring on list\<array\<PHPStan\\PhpDocParser\\Ast\\Node\>\|int\|string\>\|null\.$#' | ||
identifier: offsetAccess.nonArray | ||
count: 1 | ||
path: src/Ast/NodeTraverser.php | ||
|
||
- | ||
message: "#^Variable property access on PHPStan\\\\PhpDocParser\\\\Ast\\\\Node\\.$#" | ||
message: '#^Variable property access on PHPStan\\PhpDocParser\\Ast\\Node\.$#' | ||
identifier: property.dynamicName | ||
count: 1 | ||
path: src/Ast/NodeTraverser.php | ||
|
||
- | ||
message: "#^Method PHPStan\\\\PhpDocParser\\\\Parser\\\\StringUnescaper\\:\\:parseEscapeSequences\\(\\) should return string but returns string\\|null\\.$#" | ||
message: '#^Method PHPStan\\PhpDocParser\\Parser\\StringUnescaper\:\:parseEscapeSequences\(\) should return string but returns string\|null\.$#' | ||
identifier: return.type | ||
count: 1 | ||
path: src/Parser/StringUnescaper.php | ||
|
||
- | ||
message: "#^Variable property access on PHPStan\\\\PhpDocParser\\\\Ast\\\\Node\\.$#" | ||
message: '#^Variable property access on PHPStan\\PhpDocParser\\Ast\\Node\.$#' | ||
identifier: property.dynamicName | ||
count: 2 | ||
path: src/Printer/Printer.php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters