Skip to content

Bump symfony/dom-crawler from 7.4.6 to 8.0.12#173

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/composer/symfony/dom-crawler-8.0.12
Open

Bump symfony/dom-crawler from 7.4.6 to 8.0.12#173
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/composer/symfony/dom-crawler-8.0.12

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 27, 2026

Copy link
Copy Markdown
Contributor

Bumps symfony/dom-crawler from 7.4.6 to 8.0.12.

Release notes

Sourced from symfony/dom-crawler's releases.

v8.0.12

Changelog (symfony/dom-crawler@v8.0.1...v8.0.12)

v8.0.8

Changelog (symfony/dom-crawler@v8.0.7...v8.0.8)

  • no significant changes

v8.0.6

Changelog (symfony/dom-crawler@v8.0.5...v8.0.6)

  • no significant changes

v8.0.4

Changelog (symfony/dom-crawler@v8.0.3...v8.0.4)

  • no significant changes

v8.0.1

Changelog (symfony/dom-crawler@v8.0.0...v8.0.1)

v8.0.0

Changelog (symfony/dom-crawler@v8.0.0-RC3...v8.0.0)

  • no significant changes

v8.0.0-RC1

Changelog (symfony/dom-crawler@v8.0.0-BETA2...v8.0.0-RC1)

  • no significant changes

v8.0.0-BETA2

Changelog (symfony/dom-crawler@v8.0.0-BETA1...v8.0.0-BETA2)

v8.0.0-BETA1

Changelog (symfony/dom-crawler@v7.3.4...v8.0.0-BETA1)

... (truncated)

Changelog

Sourced from symfony/dom-crawler's changelog.

CHANGELOG

8.1

  • Make ChoiceFormField::addChoice() part of the supported public API
  • Always set LIBXML_NONET in Crawler::addXmlContent() so external entities cannot trigger network requests

8.0

  • Remove argument $useHtml5Parser of Crawler's constructor; the native HTML5 parser is used unconditionally

7.4

  • Disabling HTML5 parsing is deprecated; Symfony 8 will unconditionally use the native HTML5 parser

7.0

  • Add argument $normalizeWhitespace to Crawler::innerText()
  • Add argument $default to Crawler::attr()

6.4

  • Add CrawlerAnySelectorTextContains test constraint
  • Add CrawlerAnySelectorTextSame test constraint
  • Add argument $default to Crawler::attr()

6.3

  • Add $useHtml5Parser argument to Crawler
  • Add CrawlerSelectorCount test constraint
  • Add argument $normalizeWhitespace to Crawler::innerText()
  • Make Crawler::innerText() return the first non-empty text

6.0

  • Remove Crawler::parents() method, use ancestors() instead

5.4

  • Add Crawler::innerText method.

... (truncated)

Commits
  • 011b0ce Merge branch '7.4' into 8.0
  • b59b591 Merge branch '6.4' into 7.4
  • 7e65f76 Merge branch '5.4' into 6.4
  • 0366e1e Merge branch '7.4' into 8.0
  • b18373e Merge branch '6.4' into 7.4
  • 505deba [DomCrawler] Fix ChoiceFormField::addChoice() clobbering values on multi-se...
  • fe2f2b6 Merge branch '7.4' into 8.0
  • f474100 Update XSD references in phpunit.xml.dist files
  • b4cf17f [DomCrawler] Fix XXE in addXmlContent() by not enabling validateOnParse
  • 6d86f97 [Tests] Fix "Incomplete version" PHPUnit warnings
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Note

Medium Risk
Major DomCrawler upgrade with PHP >= 8.4 enforced in the lockfile and XML parsing/security behavior changes; impact is mostly on dev/test tooling unless production installs the same lock.

Overview
Updates composer.lock to pull symfony/dom-crawler from 7.4.6 to 8.0.12 (Symfony 8 major), along with related Symfony packages (deprecation-contracts, polyfill-ctype, polyfill-mbstring, polyfill-php80). The bump is transitive (e.g. Codeception / symfony/browser-kit); composer.json is unchanged.

8.x drops the masterminds/html5 dependency and raises the package’s PHP requirement to >= 8.4; HTML parsing shifts to PHP’s native HTML5 parser and the optional $useHtml5Parser constructor flag is removed. Release notes for this line include an XXE fix in addXmlContent() and fixes around multi-select form fields.

Reviewers should confirm local CI and dev environments run PHP 8.4+ before merging, since older PHP versions will no longer satisfy the locked tree.

Reviewed by Cursor Bugbot for commit e9769a4. Bugbot is set up for automated code reviews on this repo. Configure here.

Bumps [symfony/dom-crawler](https://github.com/symfony/dom-crawler) from 7.4.6 to 8.0.12.
- [Release notes](https://github.com/symfony/dom-crawler/releases)
- [Changelog](https://github.com/symfony/dom-crawler/blob/8.1/CHANGELOG.md)
- [Commits](symfony/dom-crawler@v7.4.6...v8.0.12)

---
updated-dependencies:
- dependency-name: symfony/dom-crawler
  dependency-version: 8.0.12
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels May 27, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit e9769a4. Configure here.

Comment thread composer.lock
"symfony/deprecation-contracts": "^2.5|^3",
"symfony/polyfill-ctype": "~1.8",
"symfony/polyfill-mbstring": "~1.0"
"php": ">=8.4",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Major version bump requires PHP 8.4, CI uses 8.3

High Severity

The bumped symfony/dom-crawler v8.0.12 requires "php": ">=8.4", but both CI workflows (.github/workflows/php.yml and release-version.yml) are configured with php-version: 8.3. The composer install step in the Quality workflow will fail because PHP 8.3 does not satisfy the >=8.4 constraint. This is a major version bump (7.x → 8.x) that raises the minimum PHP requirement and will break CI.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit e9769a4. Configure here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants