-
Notifications
You must be signed in to change notification settings - Fork 428
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
90cc560
commit 989dcd7
Showing
7 changed files
with
22 additions
and
101 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
@package rector/rector | ||
|
||
--- packages/PHPStanStaticTypeMapper/TypeMapper/BooleanTypeMapper.php 2021-12-31 13:57:22.000000000 +0100 | ||
+++ packages/PHPStanStaticTypeMapper/TypeMapper/BooleanTypeMapper.php 2022-01-05 00:05:20.000000000 +0100 | ||
@@ -45,7 +45,7 @@ | ||
} | ||
if ($type instanceof \PHPStan\Type\Constant\ConstantBooleanType) { | ||
// cannot be parent of union | ||
- return new \PHPStan\PhpDocParser\Ast\Type\IdentifierTypeNode('true'); | ||
+ return new \PHPStan\PhpDocParser\Ast\Type\IdentifierTypeNode('false'); | ||
} | ||
return new \PHPStan\PhpDocParser\Ast\Type\IdentifierTypeNode('bool'); | ||
} |
13 changes: 0 additions & 13 deletions
13
patches/DowngradeTrailingCommasInFunctionCallsRector.patch
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.