brick / date-time

Date and time library for PHP
MIT License
337 stars 30 forks source link

Call PHPUnit methods through `self::` instead of `$this->` #82

Closed tigitz closed 1 year ago

tigitz commented 1 year ago

This is for preference.

Related to https://github.com/brick/date-time/pull/77#issuecomment-1721904161

Note that custom assertX functions are not supported by the fixer, it only take into account PHPUnit ones.

I had to manually replace them to maintain consistency.

BenMorel commented 1 year ago

Thank you, @tigitz!