Fixed #2 + allow usage on php8 for cross compatibility
This commit is contained in:
parent
bbd0872389
commit
5d116a8a7c
3 changed files with 2164 additions and 896 deletions
|
|
@ -2,6 +2,14 @@
|
|||
|
||||
All notable changes to `Enum` will be documented in this file.
|
||||
|
||||
|
||||
## **Version 2.1.3**
|
||||
|
||||
### Fixed
|
||||
|
||||
- Allow usage on php 7.4 and more as php 8 for cross compatibility
|
||||
- Bumped orchestra to 6 to allow unit test for all php versions
|
||||
|
||||
## **Version 2.1.2**
|
||||
|
||||
### Fixed
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"name": "kwaadpepper/enum",
|
||||
"type": "library",
|
||||
"description": "Enums to use for any project",
|
||||
"license": "MIT",
|
||||
"authors": [
|
||||
|
|
@ -15,14 +16,14 @@
|
|||
"Enum"
|
||||
],
|
||||
"require": {
|
||||
"php": "^7.3"
|
||||
"php": ">=7.3"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "~9.0",
|
||||
"squizlabs/php_codesniffer": "^3.5",
|
||||
"orchestra/testbench": "^5",
|
||||
"slevomat/coding-standard": "^7.0",
|
||||
"phpunit/php-code-coverage": "^9.2"
|
||||
"phpunit/phpunit": "~9",
|
||||
"squizlabs/php_codesniffer": "^3",
|
||||
"orchestra/testbench": "^6",
|
||||
"slevomat/coding-standard": "^7",
|
||||
"phpunit/php-code-coverage": "^9"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
|
|
@ -46,5 +47,10 @@
|
|||
"@php ./vendor/bin/testbench package:discover --ansi"
|
||||
],
|
||||
"test": "vendor/bin/phpunit"
|
||||
},
|
||||
"config": {
|
||||
"allow-plugins": {
|
||||
"dealerdirect/phpcodesniffer-composer-installer": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
3034
composer.lock
generated
3034
composer.lock
generated
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue