1
0
Fork 0
mirror of https://github.com/archtechx/enums.git synced 2025-12-12 06:44:04 +00:00

Comparable enum (#20)

* feat: comparable enum

* test: comparable enum

* ci: php-cs-fixer in repository scope

* chore: add `Comparable` usage in README

* ci: globally use `php-cs-fixer`

* improve Comparable logic

* test more PHP versions in CI

* update ci job name

* remove class name quoting in exceptions to match PHP behavior

* migrate pest config

* add comment to test

---------

Co-authored-by: Samuel Štancl <samuel@archte.ch>
Co-authored-by: Samuel Štancl <samuel.stancl@gmail.com>
This commit is contained in:
Thai Nguyen Hung 2024-01-13 04:02:32 +07:00 committed by GitHub
parent fb521d2dcb
commit f0ea4c36c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 188 additions and 21 deletions

View file

@ -23,10 +23,10 @@
"php": "^8.1"
},
"require-dev": {
"orchestra/testbench": "^7.0|^8.0",
"pestphp/pest": "^1.2|^2.0",
"pestphp/pest-plugin-laravel": "^1.0|^2.0",
"larastan/larastan": "^1.0|^2.7.0"
"orchestra/testbench": "^8.0",
"larastan/larastan": "^2.4",
"pestphp/pest": "^2.0",
"pestphp/pest-plugin-laravel": "^2.0"
},
"minimum-stability": "dev",
"prefer-stable": true,