mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-05-22 23:52:12 +02:00
Tweaks from PR #58
This commit is contained in:
parent
f656675ace
commit
b6ab981f4d
|
@ -39,7 +39,7 @@ class Compiler
|
|||
$phar->startBuffering();
|
||||
|
||||
$iterator = new RecursiveIteratorIterator(new RecursiveDirectoryIterator(__DIR__), RecursiveIteratorIterator::CHILD_FIRST);
|
||||
/** @var $path \SplFileInfo */
|
||||
/** @var \SplFileInfo $path */
|
||||
foreach ($iterator as $path) {
|
||||
if ($path->isFile()) {
|
||||
$phar->addFromString(str_replace(dirname(__DIR__).'/', '', $path->getPathname()), file_get_contents($path));
|
||||
|
|
Loading…
Reference in a new issue