brick / date-time

Date and time library for PHP
MIT License
321 stars 29 forks source link

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

Closed tigitz closed 9 months ago

tigitz commented 9 months 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 9 months ago

Thank you, @tigitz!