Skip to content

Upgrade to ORM 2.10 #527

@gregcorbett

Description

@gregcorbett

Upgrading to ORM 2.10 requires changes to the codebase. Some of those changes have been captured here: gregcorbett@18349e2.

However, they are not sufficient to get the unit tests to run successfully, with all the test throwing the error:

Exception: Serialization of 'Closure' is not allowed

This would seem to be caused by our version of PHPUnit. Upgrading is not trivial, as simple bumping the PHPUnit version results in different errors.

PHPUnit 9.6 is the last version to support PHP7, so using that version would be ideal. But not knowing the scale of this issue, I would suggest we step through the following PHPUnit versions, which should all work under PHP7.4, and potentially make PRs for each if the changes start to become too numerous.

  • 6.5
  • 7.5
  • 8.5
  • 9.6

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions