File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -141,6 +141,7 @@ public function __construct(InputInterface $input)
141141 public function read (): Repository
142142 {
143143 $ repository = new Repository ();
144+ $ disabledExtensions = [];
144145
145146 if ($ mode = $ this ->input ->getOption (self ::OPTION_MODE )) {
146147 $ repository ->set ([
@@ -236,7 +237,7 @@ public function read(): Repository
236237 }
237238
238239 if ($ this ->input ->getOption (self ::OPTION_WITHOUT_BLACKFIRE )) {
239- $ repository -> set ( self :: PHP_DISABLED_EXTENSIONS , ['blackfire ' => 'blackfire ' ]) ;
240+ $ disabledExtensions ['blackfire ' ] = 'blackfire ' ;
240241 }
241242
242243 if ($ this ->input ->getOption (self ::OPTION_SET_DOCKER_HOST_XDEBUG )) {
@@ -303,6 +304,7 @@ public function read(): Repository
303304 $ repository ->set (self ::SYSTEM_MAILHOG_HTTP_PORT , $ port );
304305 }
305306
307+ $ repository ->set (self ::PHP_DISABLED_EXTENSIONS , $ disabledExtensions );
306308 return $ repository ;
307309 }
308310}
You can’t perform that action at this time.
0 commit comments