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

Dogma

BC Breaks already in v0.1.x:

  • Minimal version of PHP moved from 7.1 to 7.2
  • Sequence refactored to interface; methods moved to IntCalc or individual sequence implementations

BC Breaks in coming v0.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()

  • 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

  • todo: Time interval formatters moved from Time\Interval to Time\Format

  • todo: Type and Mapper removed - needs refactoring due to non-FQN names, PHPStan compatible annotations and https://wiki.php.net/rfc/named_params

Clone this wiki locally