Skip to content

Fix compatibility with doctrine/collections v3 and bump phpstan to v2 - #51

Open
W0rma wants to merge 3 commits into
Codeception:mainfrom
W0rma:doctrine-collections-v3
Open

W0rma wants to merge 3 commits into
Codeception:mainfrom
W0rma:doctrine-collections-v3

Conversation

@W0rma

@W0rma W0rma commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

Relevant changes in doctrine/collections:

  • 3.0:
    • the parameter accessRawFieldValues is noop and deprecated
    • orderBy expects an instance of the Order enum
  • 3.1:
    • the Order enum was deprecated in favor of the SortDirection enum

I noticed that the phpstan job was red.
Therefore, this PR bumps the phpstan version as well.
Let me know if you prefer to do that in a dedicated PR.

@W0rma

W0rma commented Sep 16, 2026

Copy link
Copy Markdown
Contributor Author

@TavoNiievez WDYT?

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.

1 participant