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

Raise default max nesting level #910

Closed
wants to merge 2 commits into from
Closed

Conversation

curry684
Copy link
Contributor

@curry684 curry684 commented Sep 8, 2023

As shown in symfony/symfony#48515 it is currently possible with basic Symfony projects to trigger the default max_nesting_level of 256 during DI container compilation.

As it's more important that there is a limit than its specific number we should ensure that the defaults continue to work in (almost) all regular situations with common tools and libraries. I think we should therefore raise the default limit to 512.

derickr added a commit that referenced this pull request Sep 18, 2023
@derickr
Copy link
Contributor

derickr commented Sep 18, 2023

I have merged this after creating a ticket as per contributing guidelines.

I have not pushed the changes to xdebug.ini, as the top of the file states:

; This file is generated by the 'xdebug.org:html/docs/convert.php' robot
; for Xdebug 3.3.0alpha2 — do not modify by hand

@derickr derickr closed this Sep 18, 2023
@curry684 curry684 deleted the patch-1 branch September 18, 2023 14:04
@curry684
Copy link
Contributor Author

Hah, real programmers don't read comments! 😉

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants