Skip to content

Releases: eclipxe13/enum

Version 0.2.6

18 Jun 02:18
Compare
Choose a tag to compare

There are no significant code changes, only some refactoring to improve testing and type understanding.

Integrate psalm and infection to build pipeline.

Change default branch from master to main

Move continuous integration to GitHub Actions. Thanks Travis-CI!

Version 0.2.5

09 Jun 00:34
Compare
Choose a tag to compare

Code changes:

  • Remove creational abstract static methods for exceptions.

Development changes:

  • Upgrade to friendsofphp/php-cs-fixer:^3.0.

CI:

  • Add PHP 8.0 to Travis matrix build.
  • Do not upgrade composer on scrutinizer since it is on a read-only file system.

Version 0.2.4 2020-01-09

09 Jan 17:56
Compare
Choose a tag to compare
  • It is not intented to create a breaking change, but strictly speaking there is one:
    The classes GenericOverrideException and GenericNotFoundException have changed making the class and create method abstract, also removed TYPE_NAME constant. It would only affect you in case that you are extending this clases.
  • Development:
    • Add psalm to composer dev:build.
    • Change phpstan/phpstan-shim to phpstan/phpstan.
    • Upgrade phpstan to ^0.12.
    • Scrutinizer-CI: remove all development dependences but phpunit.
  • Update license year.
  • Add more examples to compare two enums, use https on links.

Version 0.2.3

06 Dec 23:13
Compare
Choose a tag to compare
  • Improve development environment
  • Add PHP 7.4 to Travis CI

Version 0.2.2

30 Sep 21:45
Compare
Choose a tag to compare
  • Allow syntax @method static static name().
  • Improve library type system, psalm is 100% clean,
    not included as dev dependency yet. This fixes all issues at scrutinizer.
  • Create one more tests to probe inherit classes type system.
  • Package: include support information.

Version 0.2.1

20 Sep 19:41
Compare
Choose a tag to compare
  • Fix possible bug calling no-static method as static.
  • Allow @method declarations with lead spaces, tabs and asterisks.
  • Simplify travis builds, build coverage on Scrutinizer.
  • Improve development environment and dist package.

Version 0.2.0

26 Mar 00:20
Compare
Choose a tag to compare

Rewrite to support values and indices
Extract logic to independent classes
Make more clear Fixtures and usage tests