Able to include specific finle in phar in "files" option in composer
@@ -534,6 +534,10 @@ EOF;
}
+ if (preg_match('/\.phar.+$/', $path)) {
+ $baseDir = "'phar://' . " . $baseDir;
+ }
+
return $baseDir . (($path !== false) ? var_export($path, true) : "");