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 18265cf commit 5a7ff1bCopy full SHA for 5a7ff1b
src/GenerateFlexEndpointCommand.php
@@ -80,7 +80,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
80
'versions' => $contrib ? [] : HttpClient::create()->request('GET', 'https://flex.symfony.com/versions.json')->toArray(),
81
'git_url' => sprintf('https://github.com/%s.git', $repository),
82
'tree_template' => sprintf('https://github.com/%s/tree/{tree}/{package}/{version}', $repository),
83
- 'recipe_template' => sprintf('https://raw.githubusercontent.com/%s/%s/{package_dotted}.{version}.json', $repository, $flexBranch),
+ 'recipe_template' => sprintf('https://api.github.com/repos/%s/contents/{package_dotted}.{version}.json?ref=%s', $repository, $flexBranch),
84
'is_contrib' => $contrib,
85
], JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES));
86
0 commit comments