We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e733d3e commit b5b7972Copy full SHA for b5b7972
src/Traits/PrunesVendorDirectory.php
@@ -16,6 +16,7 @@ abstract protected function buildPath(string $path = ''): string;
16
protected function pruneVendorDirectory()
17
{
18
Process::path($this->buildPath())
19
+ ->timeout(300)
20
->run('composer install --no-dev', function (string $type, string $output) {
21
echo $output;
22
});
@@ -25,5 +26,11 @@ protected function pruneVendorDirectory()
25
26
$this->buildPath('/vendor/bin'),
27
$this->buildPath('/vendor/nativephp/php-bin'),
28
]);
29
+
30
+ // Remove custom php binary package directory
31
+ $binaryPackageDirectory = $this->binaryPackageDirectory();
32
+ if (! empty($binaryPackageDirectory)) {
33
+ $filesystem->remove($this->buildPath($binaryPackageDirectory));
34
+ }
35
}
36
0 commit comments