File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed
Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 88 "require" : {
99 "php" : " ^7.2 || ^8.0" ,
1010 "composer-plugin-api" : " ^2.0" ,
11- "phpstan/phpstan" : " ^1.8 .0"
11+ "phpstan/phpstan" : " ^1.9 .0"
1212 },
1313 "require-dev" : {
1414 "composer/composer" : " ^2.0" ,
Original file line number Diff line number Diff line change @@ -5,3 +5,9 @@ parameters:
55 level : 8
66 paths :
77 - src
8+
9+ ignoreErrors :
10+ -
11+ message : ' #^Strict comparison using \=\=\= between string and null will always evaluate to false\.$#'
12+ reportUnmatched : false
13+ path : src/Plugin.php
Original file line number Diff line number Diff line change @@ -135,6 +135,9 @@ public function process(Event $event): void
135135 }
136136
137137 $ installPath = $ installationManager ->getInstallPath ($ package );
138+ if ($ installPath === null ) {
139+ continue ;
140+ }
138141
139142 $ absoluteInstallPath = $ fs ->isAbsolutePath ($ installPath )
140143 ? $ installPath
You can’t perform that action at this time.
0 commit comments