aboutsummaryrefslogtreecommitdiff
path: root/composer.json
diff options
context:
space:
mode:
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json6
1 files changed, 6 insertions, 0 deletions
diff --git a/composer.json b/composer.json
index e9f55d1..dcda42e 100644
--- a/composer.json
+++ b/composer.json
@@ -19,6 +19,12 @@
"require-dev": {
"phpunit/phpunit": "^10.5 || ^11.0"
},
+ "scripts": {
+ "test": "phpunit",
+ "bench": "php tests/bench/bench.php",
+ "lint": "find src tests -name '*.php' -exec php -l {} +",
+ "check": ["@lint", "@test"]
+ },
"config": {
"sort-packages": true
}