Skip to content

Fix the crawler refactoring #16094

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
Oct 3, 2015
Merged

Fix the crawler refactoring #16094

merged 1 commit into from
Oct 3, 2015

Conversation

stof
Copy link
Member

@stof stof commented Oct 2, 2015

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets n/a
License MIT
Doc PR n/a

This fixes a few mistakes I spotted in #16075 for the DomCrawler component.

Regression tests are added separately in #16093 to be included in older branches too.

@stof stof force-pushed the fix_crawler_update branch from 8adeced to d128735 Compare October 2, 2015 23:41
@Tobion
Copy link
Contributor

Tobion commented Oct 2, 2015

👍

Status: Reviewed

@fabpot
Copy link
Member

fabpot commented Oct 3, 2015

Thank you @stof.

@fabpot fabpot merged commit d128735 into symfony:master Oct 3, 2015
fabpot added a commit that referenced this pull request Oct 3, 2015
This PR was merged into the 3.0-dev branch.

Discussion
----------

Fix the crawler refactoring

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | n/a

This fixes a few mistakes I spotted in #16075 for the DomCrawler component.

Regression tests are added separately in #16093 to be included in older branches too.

Commits
-------

d128735 Fix the crawler refactoring
@stof stof deleted the fix_crawler_update branch October 3, 2015 09:21
@stof
Copy link
Member Author

stof commented Oct 3, 2015

I just figured out that the switch from Iterator to IteratorAggregate still breaks BC though: in 2.3, the way to get a node from the crawler was to use the Iterator methods directly, because getNode was protected: https://github.com/minkphp/MinkBrowserKitDriver/blob/v1.3.0/src/BrowserKitDriver.php#L808

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.

4 participants