summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json29
1 files changed, 25 insertions, 4 deletions
diff --git a/composer.json b/composer.json
index 02296c6..18e96c6 100644
--- a/composer.json
+++ b/composer.json
@@ -12,11 +12,32 @@
}
],
"require": {
- "php": ">=5.3.2",
- "symfony/http-foundation": "~2.1|~3.0",
- "symfony/http-kernel": "~2.1|~3.0"
+ "php": ">=5.5.9",
+ "symfony/http-foundation": "~2.7|~3.0",
+ "symfony/http-kernel": "~2.7|~3.0"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^5.0 || ^4.8.10",
+ "squizlabs/php_codesniffer": "^2.3"
},
"autoload": {
- "psr-0": { "Asm89\\Stack": "src/" }
+ "psr-4": {
+ "Asm89\\Stack\\": "src/Asm89/Stack/"
+ }
+ },
+ "autoload-dev": {
+ "psr-4": {
+ "Asm89\\Stack\\": "test/Asm89/Stack/"
+ }
+ },
+ "scripts": {
+ "test": "phpunit",
+ "check-style": "phpcs -p --standard=PSR2 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src",
+ "fix-style": "phpcbf -p --standard=PSR2 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src"
+ },
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.1-dev"
+ }
}
}