diff --git a/composer.json b/composer.json index c28f620..580ae3f 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,6 @@ }, "require-dev": { "ext-pdo": "*", - "doctrine/cache": "^1.10", "phpunit/phpunit": "^8.5.24 || ^9.5", "bamarni/composer-bin-plugin": "^1.4", "ray/di": "^2.x-dev" @@ -46,18 +45,22 @@ "files": ["tests/deleteFiles.php"] }, "scripts": { - "post-install-cmd": ["@composer bin all install --ansi"], - "post-update-cmd": ["@composer bin all update --ansi"], - "test": "./vendor/bin/phpunit --log-junit=build/junit.xml", + "test": "phpunit --log-junit=build/junit.xml", "tests": ["@cs", "@sa", "@test"], "coverage": ["php -dzend_extension=xdebug.so -dxdebug.mode=coverage ./vendor/bin/phpunit --coverage-text --coverage-html=build/coverage"], "pcov": ["php -dextension=pcov.so -d pcov.enabled=1 ./vendor/bin/phpunit --coverage-text --coverage-html=build/coverage --coverage-clover=coverage.xml"], - "cs": ["./vendor/bin/phpcs --standard=./phpcs.xml src tests"], - "cs-fix": ["./vendor/bin/phpcbf src tests"], - "clean": ["./vendor/bin/phpstan clear-result-cache", "./vendor/bin/psalm --clear-cache", "rm -rf tests/tmp/*.php"], - "sa": ["./vendor/bin/psalm -c psalm.compiler.xml --show-info=true", "./vendor/bin/phpstan analyse -c phpstan.neon --no-progress"], - "metrics": ["@test", "./vendor/bin/phpmetrics --report-html=build/metrics --exclude=Exception --log-junit=build/junit.xml --junit=build/junit.xml src"], - "phpmd": ["./vendor/bin/phpmd src/di text ./phpmd.xml"], + "cs": ["phpcs --standard=./phpcs.xml src tests"], + "cs-fix": ["phpcbf src tests"], + "clean": ["phpstan clear-result-cache", "psalm --clear-cache", "rm -rf tests/tmp/*.php"], + "sa": ["psalm -c psalm.compiler.xml --show-info=true", "phpstan analyse -c phpstan.neon --no-progress"], + "metrics": ["@test", "phpmetrics --report-html=build/metrics --exclude=Exception --log-junit=build/junit.xml --junit=build/junit.xml src"], + "phpmd": ["phpmd src/di text ./phpmd.xml"], "build": ["@cs", "@sa", "@pcov", "@metrics"] + }, + "extra": { + "bamarni-bin": { + "forward-command": true, + "bin-links": true + } } }