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

[Finder] make reverse sorting a bit more generic#28802

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

Conversation

@nicolas-grekas
Copy link
Member

QA
Branch?master
Bug fix?no
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#27967 (comment)
LicenseMIT
Doc PR-

@fabpot
Copy link
Member

Thank you@nicolas-grekas.

@fabpotfabpot merged commitce861d1 intosymfony:masterOct 10, 2018
fabpot added a commit that referenced this pull requestOct 10, 2018
…s-grekas)This PR was merged into the 4.2-dev branch.Discussion----------[Finder] make reverse sorting a bit more generic| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#27967 (comment)| License       | MIT| Doc PR        | -Commits-------ce861d1 [Finder] make reverse sorting a bit more generic
@nicolas-grekasnicolas-grekas deleted the finder-reverse-iterator branchOctober 10, 2018 12:32
*
* @author Grégoire Pineau <lyrixx@lyrixx.info>
*/
class ReverseSortingIteratorimplements \IteratorAggregate
Copy link
Member

Choose a reason for hiding this comment

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

this class should be deprecated, not removed, as it was not marked internal

Copy link
Member

Choose a reason for hiding this comment

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

This class only exists in master (as the PR was merged a few hours ago only).

Copy link
Member

Choose a reason for hiding this comment

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

hmm indeed, I missed that

};
}elseif (self::SORT_BY_NONE ===$sort) {
$this->sort =$order;
}elseif (\is_callable($sort)) {
Copy link
Member

Choose a reason for hiding this comment

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

what about order support for this case ?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

fixed in4d70a0b

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

Reviewers

@fabpotfabpotfabpot approved these changes

@stofstofstof left review comments

Assignees

No one assigned

Projects

None yet

Milestone

4.2

Development

Successfully merging this pull request may close these issues.

4 participants

@nicolas-grekas@fabpot@stof@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp