Skip to content

Releases: jimbo2150/php-comparable

2.0.4

01 Mar 01:25
Compare
Choose a tag to compare
  • Now using the jimbo2150/php-utilities library to check if a class uses a trait

2.0.3

25 Feb 00:28
Compare
Choose a tag to compare
  • Fixed passing the wrong variable that was not checked

2.0.2

23 Feb 19:11
Compare
Choose a tag to compare
  • Fixed not recursing up traits for used traits (inherited traits)

2.0.1

23 Feb 02:33
Compare
Choose a tag to compare
  • Fixed not checking class ancestors for the comparable trait

2.0

23 Feb 01:00
Compare
Choose a tag to compare
2.0
  • Simpler, requiring only to use the ComparableTrait trait
  • Values are no longer public at all (unless you provide getter method(s) or make your own properties public)
  • Custom comparisons now utilize a callable/callback/Closure which is passed the current object's comparison value, the comparison value of the object being compared to, and the operator enumeration

1.0.3

17 Feb 01:02
Compare
Choose a tag to compare
  • Updated phpunit version requirement

1.0.2

17 Feb 00:53
Compare
Choose a tag to compare
  • Fixed license ID

1.0.1

17 Feb 00:51
Compare
Choose a tag to compare

Updated release version 1.0.1.

1.0

17 Feb 00:49
Compare
Choose a tag to compare
1.0

First version released.