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

Added $logDepth which you can used to close log depth check. #1681

Closed
wants to merge 1 commit into from

Conversation

limingxinleo
Copy link
Contributor

@limingxinleo limingxinleo commented May 31, 2022

@limingxinleo
Copy link
Contributor Author

*/
private $logDepth = 0;
private $logDepth;
Copy link
Owner

Choose a reason for hiding this comment

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

Explicit null is better as it doesn't break with typed properties (3.x uses typed props and this will merge into it so rather be prepared)

Suggested change
private $logDepth;
private $logDepth = null;

@Seldaek
Copy link
Owner

Seldaek commented Jun 8, 2022

Decided to do this differently, see 9c1566a - It'll be part of 2.7.0 when I get to it.

@Seldaek Seldaek closed this Jun 8, 2022
@Seldaek
Copy link
Owner

Seldaek commented Jun 8, 2022

So I think you can already update your conflict rule to conflict with 2.6.*, and add a method_exists() check to disable that feature if the method is present?

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

Successfully merging this pull request may close these issues.

None yet

2 participants