summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-12-06 08:50:57 +0100
committerRemi Collet <remi@php.net>2024-12-06 08:50:57 +0100
commit81205f703e346358ff9a26ad03a2b49d7e627aec (patch)
tree6135ef4bf0fe7cfc1dce3478c6bfe40c0279c578 /composer.json
initial package
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"
+ }
+}