Skip to content

[DomCrawler] Replace parents() by ancestors() #21031

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

Merged
merged 1 commit into from
Jun 2, 2025

Conversation

alamirault
Copy link
Contributor

DomCrawler parents() method, has been replaced by ancestors() in symfony 5.3 and removed in 6.0:

symfony/symfony#39684

@javiereguiluz
Copy link
Member

Good catch, thanks Antoine.

@javiereguiluz javiereguiluz merged commit f0a72e1 into symfony:6.4 Jun 2, 2025
2 of 3 checks passed
@alamirault alamirault deleted the sf-39684 branch June 2, 2025 09:04
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