We have decided to step away from having Carbon as a dependency in favor of returning native PHP DateTime objects.
Changing the methods immediately would be a breaking change, so we have decided to deprecate the existing ones instead and have both options available. Later in another major release the old methods may be removed.
[x] Deprecate Carbon returning public API methods
[x] Implement new {oldMethodName}Native() methods returning a DateTime
[x] Update tests to use native DateTime assertions
We have decided to step away from having
Carbon
as a dependency in favor of returning native PHPDateTime
objects. Changing the methods immediately would be a breaking change, so we have decided to deprecate the existing ones instead and have both options available. Later in another major release the old methods may be removed.Carbon
returning public API methods{oldMethodName}Native()
methods returning aDateTime
DateTime
assertionsRelated to #86