Added an internal cache layer on top of the CssSelectorConverter
Added UriResolver to resolve an URI according to a base URI
5.0.0
Added argument $selector to ``Crawler::children()`
Added argument $default to ``Crawler::text()andhtml()`
4.4.0
Added Form::getName() method.
Added Crawler::matches() method.
Added Crawler::closest() method.
Added Crawler::outerHtml() method.
Added an argument to the Crawler::text() method to opt-in normalizing whitespaces.
4.3.0
Added PHPUnit constraints: CrawlerSelectorAttributeValueSame, CrawlerSelectorExists, CrawlerSelectorTextContains
and CrawlerSelectorTextSame
Added return of element name (_name) in extract() method.
Added ability to return a default value in text() and html() instead of throwing an exception when node is empty.
When available, the html5-php library is used to
parse HTML added to a Crawler for better support of HTML5 tags.
4.2.0
The $currentUri constructor argument of the AbstractUriElement, Link and
Image classes is now optional.
The Crawler::children() method will have a new $selector argument in version 5.0,
not defining it is deprecated.
3.1.0
All the URI parsing logic have been abstracted in the AbstractUriElement class.
The Link class is now a child of AbstractUriElement.
Added an Image class to crawl images and parse their src attribute,
and selectImage, image, images methods in the Crawler (the image version of the equivalent link methods).
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.
If all status checks pass Dependabot will automatically merge this pull request.
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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps symfony/dom-crawler from 3.2.14 to 4.4.17.
Release notes
Sourced from symfony/dom-crawler's releases.
Changelog
Sourced from symfony/dom-crawler's changelog.
Commits
30ad9ac
Merge branch '3.4' into 4.4ef97bcf
Remove branch-version (keep them for contracts only)0e6f784
Merge branch '3.4' into 4.4d11f83f
Fix branch-version3d951c9
Merge branch '3.4' into 4.4f07a482
Remove "version" from composer.json files, use "branch-version" instead2ee7985
Merge branch '3.4' into 4.46b871c3
Update versions in composer.json49da201
Merge branch '3.4' into 4.4d7dcac1
Remove "branch-alias", populate "version"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
.If all status checks pass Dependabot will automatically merge this pull request.
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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)