github thecodingmachine/safe v1.2.0

latest releases: v2.5.0, v2.4.0, v2.3.1...
3 years ago

Changelog:

  • Added DateTimeImmutable->getInnerDateTime() and DateTimeImmutable::createFromRegular() (technically already existed but it is now a public method) to switch easily between safe and regular versions (see #229 )
    This is because a bug with DatePeriod was found (thanks @rodnaph in #227). Since the bug comes fromphp itself, we can only add workarounds: like reverting to a regular DateTimeImmutable with ->getInnerDateTime()

  • Fixed a bug with rector0.7 (the RenameFunction rule was, ironically, renamed) (#234 )

  • improved our github workflows (for example #230 )

Don't miss a new safe release

NewReleases is sending notifications on new releases.