Closed youwe-petervanderwal closed 7 months ago
This resolves issue #11 which seems the last task for version/milestone 1.1.
That same milestone includes the PHP8.3 support. With upcoming Ubuntu 24.04 we'd really like to be ready to upgrade our clients.
As suggested by @fashxp in the issue I went with the ^4.0 || ^5.0 approach to avoid BC breaks. I tested them on both versions in the demo project.
^4.0 || ^5.0
Only change needed was that the builder is immutable as of 5.0. As those methods returned $this in 4.0, no hacks were needed to support both versions.
$this
Great, thanks a lot!
This resolves issue #11 which seems the last task for version/milestone 1.1.
That same milestone includes the PHP8.3 support. With upcoming Ubuntu 24.04 we'd really like to be ready to upgrade our clients.
As suggested by @fashxp in the issue I went with the
^4.0 || ^5.0
approach to avoid BC breaks. I tested them on both versions in the demo project.Only change needed was that the builder is immutable as of 5.0. As those methods returned
$this
in 4.0, no hacks were needed to support both versions.