Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[11.x] Fix Symfony 7.3 deprecations #55711

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

Merged
merged 1 commit into from
May 12, 2025
Merged

[11.x] Fix Symfony 7.3 deprecations #55711

merged 1 commit into from
May 12, 2025

Conversation

crynobone
Copy link
Member

No description provided.

@crynobone crynobone changed the title Fix Symfony 7.3 deprecations [11.x] Fix Symfony 7.3 deprecations May 12, 2025
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
@crynobone crynobone marked this pull request as ready for review May 12, 2025 04:48
@@ -239,12 +241,18 @@ protected function addToParent(SymfonyCommand $command)
*/
public function resolve($command)
{
if (is_subclass_of($command, SymfonyCommand::class) && ($commandName = $command::getDefaultName())) {
Copy link
Member Author

Choose a reason for hiding this comment

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

Overriding Command::getDefaultName() will trigger a deprecation in Symfony 7.3. And the method will be removed in Symfony 8.0

protected function tearDown(): void
{
$this->tearDownTheTestEnvironmentUsingMockery();
}
Copy link
Member Author

@crynobone crynobone May 12, 2025

Choose a reason for hiding this comment

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

Test uses Mockery but doesn't close on teardown.

@taylorotwell taylorotwell merged commit 43bcb81 into 11.x May 12, 2025
58 checks passed
@taylorotwell taylorotwell deleted the 11/symfony-73 branch May 12, 2025 13:30
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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.