Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 713e413c55 | |||
| 9de8dd6af0 | |||
| 10ecb065a8 | |||
| 69eb48d986 | |||
| 9e7874e81a | |||
| d4f326e7ce |
@@ -11,7 +11,6 @@ Dossier requires PHP 7.2+ and the following extensions enabled:
|
||||
|
||||
* Phar
|
||||
* SPL
|
||||
* Date
|
||||
* fileinfo
|
||||
* mbstring
|
||||
* Bz2
|
||||
|
||||
1
bin/.gitignore
vendored
1
bin/.gitignore
vendored
@@ -2,3 +2,4 @@
|
||||
lessc
|
||||
pscss
|
||||
.directory
|
||||
/phpca
|
||||
|
||||
@@ -32,12 +32,12 @@
|
||||
"mnapoli/front-yaml" : "^1.6",
|
||||
"oyejorge/less.php" : "v1.7.0.14",
|
||||
"erusev/parsedown-extra" : "^0.7.1",
|
||||
"zaininnari/html-minifier" : "*",
|
||||
"leafo/scssphp" : "^0.7.6",
|
||||
"adbario/php-dot-notation" : "^2.0",
|
||||
"magdev/console-form" : "^0.0.7",
|
||||
"monolog/monolog" : "^1.23",
|
||||
"pdfshift/pdfshift-php" : "~1.0.2"
|
||||
"pdfshift/pdfshift-php" : "~1.0.2",
|
||||
"raivisdejus/html-minifier" : "~0.5"
|
||||
},
|
||||
"config" : {
|
||||
"bin-dir" : "bin"
|
||||
@@ -64,5 +64,8 @@
|
||||
"url" : "git@github.com:magdev/console-form.git",
|
||||
"name" : "magdev/console-form"
|
||||
}
|
||||
]
|
||||
],
|
||||
"require-dev" : {
|
||||
"wapmorgan/php-code-analyzer" : "^1.0"
|
||||
}
|
||||
}
|
||||
655
composer.lock
generated
655
composer.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -130,7 +130,10 @@ class PharHelperService
|
||||
*/
|
||||
public function copy(string $source, string $target): bool
|
||||
{
|
||||
return copy($this->getPharUrl($source), $target);
|
||||
if ($this->isInPhar() && substr($source, 0, 4) !== 'phar') {
|
||||
$source = $this->getPharUrl($source);
|
||||
}
|
||||
return copy($source, $target);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user