summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json25
1 files changed, 16 insertions, 9 deletions
diff --git a/composer.json b/composer.json
index 61cedd9..5165cce 100644
--- a/composer.json
+++ b/composer.json
@@ -15,20 +15,22 @@
"authors": [
{
"name": "Phil Bennett",
- "email": "philipobenito@gmail.com",
- "homepage": "http://www.philipobenito.com",
+ "email": "mail@philbennett.co.uk",
"role": "Developer"
}
],
"require": {
- "php": "^7.0 || ^8.0",
- "psr/container": "^1.0.0"
+ "php": "^7.2 || ^8.0",
+ "psr/container": "^2.0.0"
},
"require-dev": {
- "phpunit/phpunit": "^6.0 || ^7.0",
+ "nette/php-generator": "^3.4",
+ "nikic/php-parser": "^4.10",
+ "phpstan/phpstan": "^0.12.47",
+ "phpunit/phpunit": "^8.5.17",
"roave/security-advisories": "dev-latest",
"scrutinizer/ocular": "^1.8",
- "squizlabs/php_codesniffer": "^3.5"
+ "squizlabs/php_codesniffer": "^3.6"
},
"provide": {
"psr/container-implementation": "^1.0"
@@ -44,11 +46,15 @@
"autoload-dev": {
"psr-4": {
"League\\Container\\Test\\": "tests"
- }
+ },
+ "files": [
+ "tests/Asset/function.php"
+ ]
},
"extra": {
"branch-alias": {
- "dev-master": "3.x-dev",
+ "dev-master": "4.x-dev",
+ "dev-4.x": "4.x-dev",
"dev-3.x": "3.x-dev",
"dev-2.x": "2.x-dev",
"dev-1.x": "1.x-dev"
@@ -56,7 +62,8 @@
},
"scripts": {
"test": [
- "phpunit"
+ "phpunit",
+ "phpstan analyse"
]
}
}