FriendsOfPHP / Goutte

Goutte, a simple PHP Web Scraper
MIT License
9.26k stars 1.01k forks source link

[PHP 8.0] v4.0.1 -> v4.0.2 creates DomCrawler backwards incompatability #454

Open irfan-dahir opened 2 years ago

irfan-dahir commented 2 years ago

Upgrading from 4.0.1 to 4.0.2 throws an error

Call to undefined method Symfony\Component\DomCrawler\Crawler::parents()

This was caused by adding v6+ support: https://github.com/FriendsOfPHP/Goutte/commit/f51940fbe0db060bc4fc0b3f1d19bc4ff3054b17

Should this be a patch version release?