aboutsummaryrefslogtreecommitdiffhomepage
path: root/composer.json
diff options
context:
space:
mode:
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json14
1 files changed, 12 insertions, 2 deletions
diff --git a/composer.json b/composer.json
index a06b769..fe691f9 100644
--- a/composer.json
+++ b/composer.json
@@ -10,13 +10,15 @@
],
"autoload": {
"psr-4": {
- "Nsfisis\\Waddiwasi\\": "src/"
+ "Nsfisis\\Waddiwasi\\": "src/",
+ "Nsfisis\\Waddiwasi\\Tests\\": "tests/src/"
}
},
"require-dev": {
"phpstan/phpstan": "^1.10.67",
"phpstan/phpstan-deprecation-rules": "^1.1.4",
"phpstan/phpstan-strict-rules": "^1.5.5",
+ "phpunit/phpunit": "^11.1",
"reliforp/reli-prof": "0.12.x-dev",
"symplify/easy-coding-standard": "^12.1.14"
},
@@ -25,12 +27,20 @@
"sort-packages": true
},
"scripts": {
+ "check": [
+ "@lint",
+ "@test"
+ ],
"ecs": "ecs check",
"ecsfix": "ecs check --fix",
"lint": [
"@ecs",
"@phpstan"
],
- "phpstan": "phpstan --memory-limit=1G analyse"
+ "phpstan": "phpstan --memory-limit=1G analyse",
+ "phpunit": "phpunit",
+ "test": [
+ "@phpunit"
+ ]
}
}