Skip to content

Document deprecation of $this in PHP config files#21990

Open
lacatoire wants to merge 2 commits intosymfony:7.4from
lacatoire:docs/deprecate-this-config-files
Open

Document deprecation of $this in PHP config files#21990
lacatoire wants to merge 2 commits intosymfony:7.4from
lacatoire:docs/deprecate-this-config-files

Conversation

@lacatoire
Copy link
Contributor

Documents the deprecation of using $this or the internal scope of the file loader in PHP configuration files. The $loader variable should be used instead.

Fixes #21441

@carsonbot carsonbot added this to the 7.4 milestone Feb 12, 2026
@carsonbot carsonbot changed the title Document deprecation of $this in PHP config files Document deprecation of $this in PHP config files Feb 12, 2026
@lacatoire lacatoire force-pushed the docs/deprecate-this-config-files branch from f078219 to a6dcd42 Compare February 12, 2026 18:14
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.

[Config][DependencyInjection][Routing] Deprecate using $this or the i…

2 participants