Skip to content

Add migration notes for Collection::any()#8130

Merged
ADmad merged 1 commit into5.nextfrom
othercorey-patch-1
Nov 4, 2025
Merged

Add migration notes for Collection::any()#8130
ADmad merged 1 commit into5.nextfrom
othercorey-patch-1

Conversation

@othercorey
Copy link
Copy Markdown
Contributor

refs cakephp/cakephp#19036

Will update the detailed docs later.

@othercorey othercorey added this to the 5.next milestone Nov 4, 2025
Collection
----------

- ``Collectino::any()`` was added to replace ``Collection::some()`` with a more familiar name.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The method should also be added to core-libraries/collections.rst and description of some() be updated to state it's an alias for any().

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Like I said, I'll work on the detailed docs later. I wan to split up the block of method links into categories that match the rest of the page.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Sorry, didn't read your initial comment.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I would have left it open if you wanted, but will follow up.

@ADmad ADmad merged commit 5dfe761 into 5.next Nov 4, 2025
3 checks passed
@ADmad ADmad deleted the othercorey-patch-1 branch November 4, 2025 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants