Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix
  • Loading branch information
staabm committed Apr 11, 2026
commit 7907e1232f15dfc4323425ba4054c55d6dc959af
1 change: 0 additions & 1 deletion src/Command/BisectCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ protected function execute(InputInterface $input, OutputInterface $output): int

try {
$commits = $this->getCommitsBetween($client, $good, $bad);
exit;
} catch (GuzzleException $e) {
$io->error(sprintf('Failed to fetch commits from GitHub: %s', $e->getMessage()));
return 1;
Expand Down
2 changes: 2 additions & 0 deletions src/Internal/HttpClientFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ final class HttpClientFactory
{

/**
* @param array<mixed> $config
*
* @see \GuzzleHttp\RequestOptions
*/
public static function createClient(array $config): Client
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be a service, not a static function. So we can pass options from config parameters

Expand Down