File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 27
27
"cdn77/coding-standard" : " ^7.0" ,
28
28
"infection/infection" : " ^0.29.0" ,
29
29
"phpstan/extension-installer" : " ^1.0" ,
30
- "phpstan/phpstan" : " ^1 " ,
31
- "phpstan/phpstan-phpunit" : " ^1 " ,
32
- "phpstan/phpstan-strict-rules" : " ^1 "
30
+ "phpstan/phpstan" : " ^2 " ,
31
+ "phpstan/phpstan-phpunit" : " ^2 " ,
32
+ "phpstan/phpstan-strict-rules" : " ^2 "
33
33
},
34
34
"config" : {
35
35
"allow-plugins" : {
Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ public function run(TestCase $testCaseContext): void
48
48
continue ;
49
49
}
50
50
51
+ /** @var array<string> $groups */
51
52
$ groups = array_map (
52
53
static fn ($ groupAttribute ) => $ groupAttribute ->getArguments ()[0 ],
53
54
$ classReflection ->getAttributes (Group::class),
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ public function testValueIsDefaultWhenNotSet(): void
18
18
19
19
$ stub = Stub::create (SimpleClass::class);
20
20
21
- $ stub ->getProperty1 ();
21
+ $ x = $ stub ->getProperty1 ();
22
22
}
23
23
24
24
public function testPropertyIsSetBypassingConstructor (): void
You can’t perform that action at this time.
0 commit comments