Skip to content
Vlasta Neubauer edited this page May 3, 2020 · 17 revisions

Dogma

BC Breaks in coming v0.2:

  • Minimal version of PHP moved from 7.1 to 7.2
  • TimeInterval and DayOfYearInterval no longer implement Interval interface; introduced ModuloInterval interface instead
  • TimeInterval and DateTimeInterval no longer implement OpenClosedInterval
  • Enums and Sets are no longer singleton values (no longer comparable with ===); always use ->equals()
  • todo: Type is no longer singleton value
  • HttpResponseStatus now does not include Curl error codes; added HttpOrCurlStatus instead
  • System\Environment replaced by System\Os
  • PowersOfTwo renamed to Math\PowersOfTwo
  • All constructors called as new static() are now final
  • Removed doForEach() from Arr and ImmutableArray; use Call::with() and Call::withArgs() instead
  • Removed Language\Inflector; Method underscore() moved to Str
  • Removed experimental Database\SimplePdo and all database things; will be moved to separate repo under https://github.com/SQLFTW
  • Removed Collection
  • Removed RegExp
  • Removed Email\*
  • Removed NonIterable interface; use PHPStan checks instead
  • (???) Removed experimental Application/*; will be moved to separate repo
Clone this wiki locally