Browse Source

Verifier que le fichier existe bien quand on instancie la class PharData Issue #4417

pull/4422/head
Cerdic 10 months ago
parent
commit
167958e266
  1. 5
      src/TarArchive.php

5
src/TarArchive.php

@ -26,6 +26,10 @@ class TarArchive implements ArchiveInterface
2
);
if ('' === $this->tar->getFilename()) {
return 0;
}
return 1;
}
@ -38,7 +42,6 @@ class TarArchive implements ArchiveInterface
if ('' === $this->tar->getPathname()) {
return $files;
}
$root_dir = dirname($this->tar->getPathname());
$source = new NoDotFilterIterator(
new \RecursiveIteratorIterator(

Loading…
Cancel
Save