diff --git a/composer.json b/composer.json index 9aa559f0..c8d48c75 100644 --- a/composer.json +++ b/composer.json @@ -8,7 +8,7 @@ "sort-packages": true, "preferred-install": "dist", "allow-plugins": { - "infection/extension-installer": true + "php-http/discovery": false } }, "minimum-stability": "dev", @@ -27,36 +27,27 @@ { "type": "github", "url": "https://github.com/flavioheleno" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/flavioheleno" } ], "require": { "php": ">=8.1", "beluga-php/docker-php-api": "7.1.43.x-dev", - "nyholm/psr7": "^1.3", - "php-http/client-common": "^2.3", - "php-http/socket-client": "^2.0", "psr/http-client": "^1.0", - "psr/http-message": "^1.0 || ^2.0", + "psr/http-client-implementation": "*", + "psr/http-message": "^1.1 || ^2.0", + "psr/http-message-implementation": "*", "symfony/filesystem": "^6.1", "symfony/process": "^6.1" }, "suggest": { - "php-http/httplug-bundle": "For integration with Symfony" + "guzzlehttp/guzzle": "PSR-18 compliant HTTP Client to use the API" }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.8", - "infection/infection": "^0.26", "php-parallel-lint/php-parallel-lint": "^1.2", - "phpstan/phpstan": "^1.0", "phpunit/phpunit": "^9.5", "psy/psysh": "^0.11", - "roave/security-advisories": "dev-master", - "squizlabs/php_codesniffer": "^3.5", - "vimeo/psalm": "^4.3" + "roave/security-advisories": "dev-latest" }, "conflict": { "docker-php/docker-php": "*" @@ -65,31 +56,19 @@ "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", - "infection": "vendor/bin/infection", "lint": "vendor/bin/parallel-lint --exclude vendor .", - "phpcs": "vendor/bin/phpcs --standard=ruleset.xml src/ tests/", - "phpstan": "vendor/bin/phpstan analyse --level=max --autoload-file=vendor/autoload.php src/", "phpunit": "vendor/bin/phpunit ./tests/ --coverage-html=./report/coverage/ --whitelist=./src/ --testdox-html=./report/testdox.html --disallow-test-output --process-isolation", - "psalm": "vendor/bin/psalm --taint-analysis", "test-ci": "vendor/bin/phpunit ./tests/ --disallow-test-output --process-isolation", "test-coverage": "vendor/bin/phpunit ./tests/ --whitelist=./src/ --coverage-clover=clover.xml", "test": [ - "@infection", "@lint", - "@phpunit", - "@phpstan", - "@psalm", - "@phpcs" + "@phpunit" ] }, "scripts-descriptions": { "console": "Runs PsySH Console", - "infection": "Runs mutation test framework", "lint": "Runs complete codebase lint testing", - "phpcs": "Runs coding style checking", - "phpstan": "Runs complete codebase static analysis", "phpunit": "Runs library test suite", - "psalm": "Runs complete codebase taint analysis", "test-ci": "Runs library test suite (for continuous integration)", "test-coverage": "Runs test-coverage analysis", "test": "Runs all tests"