Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(symfony): fetch api-platform/symfony version debug bar #6722

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

soyuka
Copy link
Member

@soyuka soyuka commented Oct 14, 2024

fixes #6709

@soyuka soyuka force-pushed the fix/6709 branch 2 times, most recently from f5b9a50 to a945940 Compare October 14, 2024 11:58
@@ -73,7 +73,16 @@ public function getVersion(): ?string
return null;
}

$version = Versions::getVersion('api-platform/core');
try {
$version = Versions::getVersion('api-platform/core');
Copy link
Member

Choose a reason for hiding this comment

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

In the end, almost all users will upgrade to api-platform/symfony, so we should test it first to prevent a useless catch.

@soyuka soyuka force-pushed the fix/6709 branch 4 times, most recently from 54de22d to 639e898 Compare October 16, 2024 08:10
@soyuka soyuka merged commit e7fb04f into api-platform:3.4 Oct 16, 2024
78 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants