diff --git a/composer.json b/composer.json index c090bd79..f59275a1 100644 --- a/composer.json +++ b/composer.json @@ -1,28 +1,8 @@ { "name": "beluga-php/docker-php", + "description": "A Docker PHP client", "license": "MIT", "type": "library", - "description": "A Docker PHP client", - "config": { - "optimize-autoloader": true, - "sort-packages": true, - "preferred-install": "dist", - "allow-plugins": { - "php-http/discovery": false - } - }, - "minimum-stability": "dev", - "prefer-stable": true, - "autoload": { - "psr-4": { - "Docker\\": "src/" - } - }, - "autoload-dev": { - "psr-4": { - "Docker\\Tests\\": "tests/" - } - }, "funding": [ { "type": "github", @@ -37,11 +17,12 @@ "php-http/discovery": "^1.19", "plesk/socket-client": "^2.1", "psr/http-message": "^2.0", - "symfony/filesystem": "^7.0|^6.3", - "symfony/process": "^7.0|^6.3", - "symfony/serializer": "^7.0|^6.3" + "symfony/filesystem": "^6.3 || ^7.0", + "symfony/process": "^6.3 || ^7.0", + "symfony/serializer": "^6.3 || ^7.0" }, "require-dev": { + "ergebnis/composer-normalize": "^2.42", "friendsofphp/php-cs-fixer": "^3.8", "php-parallel-lint/php-parallel-lint": "^1.2", "phpstan/phpstan": "^1.10", @@ -51,36 +32,57 @@ }, "conflict": { "docker-php/docker-php": "*", - "php-http/message": "<1.15", - "nikic/php-parser": "<4.13" + "nikic/php-parser": "<4.13", + "php-http/message": "<1.15" + }, + "minimum-stability": "dev", + "prefer-stable": true, + "autoload": { + "psr-4": { + "Docker\\": "src/" + } + }, + "autoload-dev": { + "psr-4": { + "Docker\\Tests\\": "tests/" + } + }, + "config": { + "allow-plugins": { + "ergebnis/composer-normalize": true, + "php-http/discovery": false + }, + "optimize-autoloader": true, + "preferred-install": "dist", + "sort-packages": true + }, + "extra": { + "branch-alias": { + "1.41": "1.41.x-dev", + "1.42": "1.42.x-dev", + "dev-master": "1.43.x-dev" + } }, "scripts": { - "php-cs-fixer": "vendor/bin/php-cs-fixer fix --dry-run --verbose --diff", - "php-cs-fixer-fix": "vendor/bin/php-cs-fixer fix --verbose", "console": "vendor/bin/psysh", "lint": "vendor/bin/parallel-lint --exclude vendor .", - "phpunit": "vendor/bin/phpunit ./tests/ --coverage-html=./report/coverage/ --whitelist=./src/ --testdox-html=./report/testdox.html --disallow-test-output --process-isolation", + "php-cs-fixer": "vendor/bin/php-cs-fixer fix --dry-run --verbose --diff", + "php-cs-fixer-fix": "vendor/bin/php-cs-fixer fix --verbose", "phpstan": "vendor/bin/phpstan analyse --level 2 src", - "test-ci": "vendor/bin/phpunit ./tests/ --disallow-test-output --process-isolation", - "test-coverage": "vendor/bin/phpunit ./tests/ --whitelist=./src/ --coverage-clover=clover.xml", + "phpunit": "vendor/bin/phpunit ./tests/ --coverage-html=./report/coverage/ --whitelist=./src/ --testdox-html=./report/testdox.html --disallow-test-output --process-isolation", "test": [ "@lint", "@phpunit" - ] + ], + "test-ci": "vendor/bin/phpunit ./tests/ --disallow-test-output --process-isolation", + "test-coverage": "vendor/bin/phpunit ./tests/ --whitelist=./src/ --coverage-clover=clover.xml" }, "scripts-descriptions": { "console": "Runs PsySH Console", "lint": "Runs complete codebase lint testing", "phpunit": "Runs library test suite", + "test": "Runs all tests", "test-ci": "Runs library test suite (for continuous integration)", - "test-coverage": "Runs test-coverage analysis", - "test": "Runs all tests" - }, - "extra": { - "branch-alias": { - "dev-master": "1.43.x-dev", - "1.42": "1.42.x-dev", - "1.41": "1.41.x-dev" - } + "test-coverage": "Runs test-coverage analysis" } }