update project

This commit is contained in:
root
2026-05-30 01:11:35 -04:00
parent 3a0628ecc7
commit 2225f6bc72
9743 changed files with 1122482 additions and 59 deletions
+27
View File
@@ -0,0 +1,27 @@
<?php
namespace Orchestra\Sidekick;
use Symfony\Component\Process\ExecutableFinder;
use Symfony\Component\Process\PhpExecutableFinder as SymfonyPhpExecutableFinder;
/**
* @internal
*/
class PhpExecutableFinder extends SymfonyPhpExecutableFinder
{
/**
* {@inheritDoc}
*
* @codeCoverageIgnore
*/
#[\Override]
public function find(bool $includeArgs = true): string|false
{
if ($herdPath = getenv('HERD_HOME')) {
return (new ExecutableFinder)->find(name: 'php', extraDirs: [join_paths($herdPath, 'bin')]) ?? false;
}
return parent::find($includeArgs);
}
}