summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json13
1 files changed, 8 insertions, 5 deletions
diff --git a/composer.json b/composer.json
index 6861a5c..eab6263 100644
--- a/composer.json
+++ b/composer.json
@@ -3,7 +3,7 @@
"type": "library",
"description": "PHP Enum implementation",
"keywords": ["enum"],
- "homepage": "http://github.com/myclabs/php-enum",
+ "homepage": "https://github.com/myclabs/php-enum",
"license": "MIT",
"authors": [
{
@@ -14,7 +14,10 @@
"autoload": {
"psr-4": {
"MyCLabs\\Enum\\": "src/"
- }
+ },
+ "classmap": [
+ "stubs/Stringable.php"
+ ]
},
"autoload-dev": {
"psr-4": {
@@ -22,12 +25,12 @@
}
},
"require": {
- "php": ">=7.1",
+ "php": "^7.3 || ^8.0",
"ext-json": "*"
},
"require-dev": {
- "phpunit/phpunit": "^7",
+ "phpunit/phpunit": "^9.5",
"squizlabs/php_codesniffer": "1.*",
- "vimeo/psalm": "^3.8"
+ "vimeo/psalm": "^4.6.2 || ^5.2"
}
}