File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed
tests/Type/Doctrine/Query Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 7
7
],
8
8
"require" : {
9
9
"php" : " ^7.2 || ^8.0" ,
10
- "phpstan/phpstan" : " ^ 1.12"
10
+ "phpstan/phpstan" : " 1.12.6 "
11
11
},
12
12
"conflict" : {
13
13
"doctrine/collections" : " <1.0" ,
Original file line number Diff line number Diff line change 11
11
use PHPStan \Php \PhpVersion ;
12
12
use PHPStan \Testing \PHPStanTestCase ;
13
13
use PHPStan \Type \Accessory \AccessoryArrayListType ;
14
+ use PHPStan \Type \Accessory \AccessoryLowercaseStringType ;
14
15
use PHPStan \Type \Accessory \AccessoryNumericStringType ;
15
16
use PHPStan \Type \ArrayType ;
16
17
use PHPStan \Type \Constant \ConstantArrayTypeBuilder ;
@@ -312,6 +313,7 @@ private static function numericString(): Type
312
313
{
313
314
return new IntersectionType ([
314
315
new StringType (),
316
+ new AccessoryLowercaseStringType (),
315
317
new AccessoryNumericStringType (),
316
318
]);
317
319
}
Original file line number Diff line number Diff line change 15
15
use PHPStan \Php \PhpVersion ;
16
16
use PHPStan \Testing \PHPStanTestCase ;
17
17
use PHPStan \Type \Accessory \AccessoryArrayListType ;
18
+ use PHPStan \Type \Accessory \AccessoryLowercaseStringType ;
18
19
use PHPStan \Type \Accessory \AccessoryNumericStringType ;
19
20
use PHPStan \Type \ArrayType ;
20
21
use PHPStan \Type \Constant \ConstantArrayTypeBuilder ;
@@ -1626,6 +1627,7 @@ private function numericString(): Type
1626
1627
{
1627
1628
return new IntersectionType ([
1628
1629
new StringType (),
1630
+ new AccessoryLowercaseStringType (),
1629
1631
new AccessoryNumericStringType (),
1630
1632
]);
1631
1633
}
You can’t perform that action at this time.
0 commit comments