Skip to content

Conversation

fabpot
Copy link
Contributor

@fabpot fabpot commented Sep 9, 2024

No description provided.

@fabpot fabpot force-pushed the non-used-private-method branch from 8391c57 to 28dc912 Compare September 9, 2024 06:24
@@ -418,14 +418,6 @@ protected function compileIsTraitable(Compiler $compiler)
continue;
}

if ($node instanceof TextNode && ctype_space($node->getAttribute('data'))) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

For a child template, these nodes are removed before getting here anyway.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In Parser::filterBodyNodes()

continue;
}

if ($node instanceof BlockReferenceNode) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

For a child template, these nodes are removed before getting here anyway.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In Parser::filterBodyNodes()

@fabpot fabpot changed the title Remove unused private method Remove unused private methods Sep 9, 2024
@fabpot fabpot merged commit 6420791 into twigphp:3.x Sep 9, 2024
48 of 49 checks passed
@fabpot fabpot deleted the non-used-private-method branch September 9, 2024 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant