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

[HttpKernel] Fix allowing invalid #[Autowire] references in controller arguments#63724

Merged
nicolas-grekas merged 1 commit into
symfony:6.4symfony/symfony:6.4from
valtzu:fix-invalid-autowired-controllersvaltzu/symfony:fix-invalid-autowired-controllersCopy head branch name to clipboard
Mar 23, 2026
Merged

[HttpKernel] Fix allowing invalid #[Autowire] references in controller arguments#63724
nicolas-grekas merged 1 commit into
symfony:6.4symfony/symfony:6.4from
valtzu:fix-invalid-autowired-controllersvaltzu/symfony:fix-invalid-autowired-controllersCopy head branch name to clipboard

Conversation

@valtzu
Copy link
Copy Markdown
Contributor

@valtzu valtzu commented Mar 22, 2026

Q A
Branch? 6.4
Bug fix? yes
New feature? no
Deprecations? no
Issues Related to #63697
License MIT

If a controller argument has #[Autowire] attribute, it should be validated build-time instead of runtime.

@nicolas-grekas
Copy link
Copy Markdown
Member

Thank you @valtzu.

@nicolas-grekas nicolas-grekas merged commit 17e61cf into symfony:6.4 Mar 23, 2026
10 of 12 checks passed
This was referenced Mar 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.