File tree Expand file tree Collapse file tree 4 files changed +56
-4
lines changed
src/BitExpert_PHPStanTests Expand file tree Collapse file tree 4 files changed +56
-4
lines changed Original file line number Diff line number Diff line change 57
57
"magento/magento2-functional-testing-framework" : " ^3.7" ,
58
58
"pdepend/pdepend" : " ~2.10.0" ,
59
59
"phpmd/phpmd" : " ^2.12.0" ,
60
- "phpstan/extension-installer" : " ^1.1 " ,
61
- "phpstan/phpstan" : " ^1.8 " ,
60
+ "phpstan/extension-installer" : " ^1.4 " ,
61
+ "phpstan/phpstan" : " ^2.0 " ,
62
62
"phpunit/phpunit" : " ~9.5.20" ,
63
63
"sebastian/phpcpd" : " ^6.0.3" ,
64
64
"squizlabs/php_codesniffer" : " ~3.6.0" ,
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ declare (strict_types=1 );
4
+
5
+ namespace BitExpert \PHPStanTests \Setup \Patch \Data ;
6
+
7
+ use Magento \Framework \Setup \Patch \DataPatchInterface ;
8
+
9
+ class Patch1 implements DataPatchInterface
10
+ {
11
+ public function apply (): self
12
+ {
13
+ return $ this ;
14
+ }
15
+
16
+ public static function getDependencies ()
17
+ {
18
+ return [];
19
+ }
20
+
21
+ public function getAliases ()
22
+ {
23
+ return [];
24
+ }
25
+ }
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ declare (strict_types=1 );
4
+
5
+ namespace BitExpert \PHPStanTests \Setup \Patch \Data ;
6
+
7
+ use Magento \Framework \Setup \Patch \DataPatchInterface ;
8
+
9
+ class Patch2 implements DataPatchInterface
10
+ {
11
+ public function apply (): self
12
+ {
13
+ return $ this ;
14
+ }
15
+
16
+ public static function getDependencies ()
17
+ {
18
+ return [
19
+ Patch1::class,
20
+ ];
21
+ }
22
+
23
+ public function getAliases ()
24
+ {
25
+ return [];
26
+ }
27
+ }
Original file line number Diff line number Diff line change 27
27
}
28
28
},
29
29
"require-dev" : {
30
- "phpstan/phpstan" : " ^1.8 " ,
31
- "phpstan/extension-installer" : " ^1.1 " ,
30
+ "phpstan/phpstan" : " ^2.0 " ,
31
+ "phpstan/extension-installer" : " ^1.4 " ,
32
32
"bitexpert/phpstan-magento" : " dev-master"
33
33
}
34
34
}
You can’t perform that action at this time.
0 commit comments