2025.3.11

This commit is contained in:
2025-03-11 13:34:12 +08:00
commit 0b95eb8bf0
2161 changed files with 219203 additions and 0 deletions
@@ -0,0 +1,22 @@
<?php
namespace Illuminate\Support\Process;
use Symfony\Component\Process\ExecutableFinder;
use Symfony\Component\Process\PhpExecutableFinder as SymfonyPhpExecutableFinder;
class PhpExecutableFinder extends SymfonyPhpExecutableFinder
{
/**
* Finds The PHP executable.
*/
#[\Override]
public function find(bool $includeArgs = true): string|false
{
if ($herdPath = getenv('HERD_HOME')) {
return (new ExecutableFinder)->find('php', false, [implode(DIRECTORY_SEPARATOR, [$herdPath, 'bin'])]);
}
return parent::find($includeArgs);
}
}