summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json38
1 files changed, 38 insertions, 0 deletions
diff --git a/composer.json b/composer.json
new file mode 100644
index 0000000..0ef6413
--- /dev/null
+++ b/composer.json
@@ -0,0 +1,38 @@
+{
+ "name": "staabm/side-effects-detector",
+ "license": "MIT",
+ "description": "A static analysis tool to detect side effects in PHP code",
+ "keywords": ["static analysis"],
+ "autoload": {
+ "classmap": ["lib/"]
+ },
+ "autoload-dev": {
+ "classmap": [
+ "tests/"
+ ]
+ },
+ "require": {
+ "php": "^7.4 || ^8.0",
+ "ext-tokenizer": "*"
+ },
+ "require-dev": {
+ "phpstan/extension-installer": "^1.4.3",
+ "phpstan/phpstan": "^1.12.6",
+ "phpunit/phpunit": "^9.6.21",
+ "symfony/var-dumper": "^5.4.43",
+ "tomasvotruba/type-coverage": "1.0.0",
+ "tomasvotruba/unused-public": "1.0.0"
+ },
+ "config": {
+ "optimize-autoloader": true,
+ "sort-packages": true,
+ "allow-plugins": {
+ "phpstan/extension-installer": true
+ }
+ },
+ "scripts": {
+ "qa": ["@test", "@phpstan"],
+ "phpstan": "phpstan analyze",
+ "test": "phpunit"
+ }
+}