Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[DomCrawler] extract(): fix a bug when the attribute list is empty#26433

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 1 commit intosymfony:2.7fromdunglas:dom-crawler-bug-extract
Mar 13, 2018

Conversation

@dunglas
Copy link
Member

QA
Branch?2.7
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed ticketsn/a
LicenseMIT
Doc PRn/a

@stof
Copy link
Member

stof commentedMar 7, 2018

does it even make sense to support an empty list of extracted attributes ?

@dunglas
Copy link
MemberAuthor

@stof the method should either return an empty array (like in my patch) or throw, but a notice isn't acceptable. Returning an empty array if an empty list of args has been provided looks ok to me, but I can change to an exception, your call.

@nicolas-grekasnicolas-grekas added this to the2.7 milestoneMar 12, 2018
@fabpot
Copy link
Member

Thank you@dunglas.

@fabpotfabpot merged commit028c9f2 intosymfony:2.7Mar 13, 2018
fabpot added a commit that referenced this pull requestMar 13, 2018
…is empty (dunglas)This PR was merged into the 2.7 branch.Discussion----------[DomCrawler] extract(): fix a bug when the attribute list is empty| Q             | A| ------------- | ---| Branch?       | 2.7| Bug fix?      | yes| New feature?  | no <!-- don't forget to update src/**/CHANGELOG.md files -->| BC breaks?    | no     <!-- seehttps://symfony.com/bc -->| Deprecations? | no <!-- don't forget to update UPGRADE-*.md files -->| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->| Fixed tickets | n/a   <!-- #-prefixed issue number(s), if any -->| License       | MIT| Doc PR        | n/aCommits-------028c9f2 [DomCrawler] extract(): fix a bug when the attribute list is empty
@dunglasdunglas deleted the dom-crawler-bug-extract branchMarch 13, 2018 12:50
This was referencedApr 2, 2018
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

+1 more reviewer

@SimperfitSimperfitSimperfit approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

2.7

Development

Successfully merging this pull request may close these issues.

6 participants

@dunglas@stof@fabpot@nicolas-grekas@Simperfit@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp