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 5757 "magento/magento2-functional-testing-framework" : " ^3.7" ,
5858 "pdepend/pdepend" : " ~2.10.0" ,
5959 "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 " ,
6262 "phpunit/phpunit" : " ~9.5.20" ,
6363 "sebastian/phpcpd" : " ^6.0.3" ,
6464 "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 2727 }
2828 },
2929 "require-dev" : {
30- "phpstan/phpstan" : " ^1.8 " ,
31- "phpstan/extension-installer" : " ^1.1 " ,
30+ "phpstan/phpstan" : " ^2.0 " ,
31+ "phpstan/extension-installer" : " ^1.4 " ,
3232 "bitexpert/phpstan-magento" : " dev-master"
3333 }
3434}
You can’t perform that action at this time.
0 commit comments