We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1ae068 commit 58118c9Copy full SHA for 58118c9
1 file changed
tests/PHPStan/Type/TypeCombinatorTest.php
@@ -5158,6 +5158,30 @@ public static function dataRemove(): array
5158
UnionType::class,
5159
'array<string>|ArrayObject',
5160
],
5161
+ [
5162
+ new IntersectionType([
5163
+ new StringType(),
5164
+ new AccessoryNumericStringType(),
5165
+ ]),
5166
5167
5168
+ new AccessoryDecimalIntegerStringType(),
5169
5170
+ IntersectionType::class,
5171
+ 'numeric-string'
5172
+ ],
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
+ NeverType::class,
5183
+ '*NEVER*=implicit'
5184
5185
[
5186
new ConstantBooleanType(true),
5187
new ConstantBooleanType(false),
0 commit comments