Skip to content

Commit

Permalink
Now compatible with PHP 8
Browse files Browse the repository at this point in the history
  • Loading branch information
artyuum committed May 12, 2021
1 parent 9dc165d commit 5abd9ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ There are few existing libraries on Packagist that have the same purpose but I w
* Supports boolean attributes. (e.g required attribute)

## Requirements
* PHP 7.2 or above
* PHP ^7.4 or PHP ^8.0
* Composer

## Installation
Expand Down
9 changes: 4 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
],
"license": "MIT",
"require": {
"php": "^7.2"
"php": "^7.4 || ^8.0"
},
"autoload": {
"psr-4": {
Expand All @@ -30,11 +30,10 @@
"scripts": {
"test": "phpunit"
},
"require-dev": {
"phpunit/phpunit": "^7",
"symfony/var-dumper": "^5.1"
},
"config": {
"sort-packages": true
},
"require-dev": {
"phpunit/phpunit": "^9.5"
}
}

0 comments on commit 5abd9ac

Please sign in to comment.