Skip to content

2.0.0

Choose a tag to compare

@ghostwriter ghostwriter released this 16 Dec 07:02
· 2336 commits to main since this release
60617f8

Added

  • Method freeze() was added to interface Ghostwriter\Clock\Interface\ClockInterface
  • Method freeze() was added to interface Ghostwriter\Clock\Interface\FrozenClockInterface
  • Method freeze() was added to interface Ghostwriter\Clock\Interface\LocalizedClockInterface
  • Method freeze() was added to interface Ghostwriter\Clock\Interface\SystemClockInterface
  • Method new() was added to interface Ghostwriter\Clock\Interface\FrozenClockInterface
  • Method new() was added to interface Ghostwriter\Clock\Interface\LocalizedClockInterface
  • Method new() was added to interface Ghostwriter\Clock\Interface\SystemClockInterface
  • Method withDateTimeZone() was added to interface Ghostwriter\Clock\Interface\ClockInterface
  • Method withDateTimeZone() was added to interface Ghostwriter\Clock\Interface\FrozenClockInterface
  • Method withDateTimeZone() was added to interface Ghostwriter\Clock\Interface\LocalizedClockInterface
  • Method withDateTimeZone() was added to interface Ghostwriter\Clock\Interface\SystemClockInterface
  • Method withSystemTimezone() was added to interface Ghostwriter\Clock\Interface\ClockInterface
  • Method withSystemTimezone() was added to interface Ghostwriter\Clock\Interface\FrozenClockInterface
  • Method withSystemTimezone() was added to interface Ghostwriter\Clock\Interface\LocalizedClockInterface
  • Method withSystemTimezone() was added to interface Ghostwriter\Clock\Interface\SystemClockInterface
  • Method withTimezone() was added to interface Ghostwriter\Clock\Interface\ClockInterface
  • Method withTimezone() was added to interface Ghostwriter\Clock\Interface\FrozenClockInterface
  • Method withTimezone() was added to interface Ghostwriter\Clock\Interface\LocalizedClockInterface
  • Method withTimezone() was added to interface Ghostwriter\Clock\Interface\SystemClockInterface

Changed

  • Method __construct() of class Ghostwriter\Clock\FrozenClock visibility reduced from public to private
  • Method __construct() of class Ghostwriter\Clock\LocalizedClock visibility reduced from public to private
  • Method freeze() of class Ghostwriter\Clock\Trait\ClockTrait changed from concrete to abstract
  • Method now() of class Ghostwriter\Clock\Trait\ClockTrait changed from concrete to abstract
  • Method withDateTimeZone() of class Ghostwriter\Clock\Trait\ClockTrait changed scope from static to instance
  • Method withDateTimeZone() of class Ghostwriter\Clock\Trait\ClockTrait changed scope from static to instance
  • Method withDateTimeZone() of class Ghostwriter\Clock\Trait\ClockTrait changed scope from static to instance
  • Method withDateTimeZone() of class Ghostwriter\Clock\Trait\ClockTrait changed scope from static to instance
  • Method withSystemTimezone() of class Ghostwriter\Clock\Trait\ClockTrait changed scope from static to instance
  • Method withSystemTimezone() of class Ghostwriter\Clock\Trait\ClockTrait changed scope from static to instance
  • Method withSystemTimezone() of class Ghostwriter\Clock\Trait\ClockTrait changed scope from static to instance
  • Method withSystemTimezone() of class Ghostwriter\Clock\Trait\ClockTrait changed scope from static to instance
  • Method withTimezone() of class Ghostwriter\Clock\Trait\ClockTrait changed scope from static to instance
  • Method withTimezone() of class Ghostwriter\Clock\Trait\ClockTrait changed scope from static to instance
  • Method withTimezone() of class Ghostwriter\Clock\Trait\ClockTrait changed scope from static to instance
  • Method withTimezone() of class Ghostwriter\Clock\Trait\ClockTrait changed scope from static to instance
  • The number of required arguments for Ghostwriter\Clock\FrozenClock#__construct() increased from 0 to 1
  • The number of required arguments for Ghostwriter\Clock\LocalizedClock#__construct() increased from 0 to 1

Removed

  • Class Ghostwriter\Clock\Exception\UnsupportedClockException has been deleted
  • Method Ghostwriter\Clock\FrozenClock#__construct() was removed
  • Method Ghostwriter\Clock\LocalizedClock#__construct() was removed
  • Method Ghostwriter\Clock\SystemClock::create() was removed

Full Changelog: 1.1.0...2.0.0