File tree 3 files changed +10
-1
lines changed
3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 8
8
"require" : {
9
9
"php" : " ^7.2 || ^8.0" ,
10
10
"composer-plugin-api" : " ^2.0" ,
11
- "phpstan/phpstan" : " ^1.8 .0"
11
+ "phpstan/phpstan" : " ^1.9 .0"
12
12
},
13
13
"require-dev" : {
14
14
"composer/composer" : " ^2.0" ,
Original file line number Diff line number Diff line change @@ -5,3 +5,9 @@ parameters:
5
5
level : 8
6
6
paths :
7
7
- 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
135
135
}
136
136
137
137
$ installPath = $ installationManager ->getInstallPath ($ package );
138
+ if ($ installPath === null ) {
139
+ continue ;
140
+ }
138
141
139
142
$ absoluteInstallPath = $ fs ->isAbsolutePath ($ installPath )
140
143
? $ installPath
You can’t perform that action at this time.
0 commit comments