Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

[Console] Fixed support for Kernel as command#59979

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 1 commit intosymfony:7.3fromyceruto:kernel_command
Mar 14, 2025

Conversation

yceruto
Copy link
Member

@ycerutoyceruto commentedMar 14, 2025
edited
Loading

QA
Branch?7.3
Bug fix?no
New feature?no
Deprecations?no
Issues-
LicenseMIT

Currently, registering the Kernel as a command (see the example here:#59340 (comment)) results in an error:

Undefined array key "kernel"

I added the test case that highlights the issue and the fix (adding the'container.no_preload' tag to the invokable service is incorrect, as it is not the command service).

@@ -58,6 +57,8 @@ public function process(ContainerBuilder $container): void
$invokableRef = null;
}

$definition->addTag('container.no_preload');
Copy link
MemberAuthor

Choose a reason for hiding this comment

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

See line 54, where the$definition variable is redefined as the new command service

@fabpot
Copy link
Member

Thank you@yceruto.

@fabpotfabpot merged commitd768193 intosymfony:7.3Mar 14, 2025
11 checks passed
@ycerutoyceruto deleted the kernel_command branchMarch 14, 2025 23:48
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@fabpotfabpotfabpot approved these changes

@chalasrchalasrchalasr approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
7.3
Development

Successfully merging this pull request may close these issues.

4 participants
@yceruto@fabpot@chalasr@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp