|
8 | 8 | "sort-packages": true, |
9 | 9 | "preferred-install": "dist", |
10 | 10 | "allow-plugins": { |
11 | | - "infection/extension-installer": true |
| 11 | + "php-http/discovery": false |
12 | 12 | } |
13 | 13 | }, |
14 | 14 | "minimum-stability": "dev", |
|
27 | 27 | { |
28 | 28 | "type": "github", |
29 | 29 | "url": "https://github.com/flavioheleno" |
30 | | - }, |
31 | | - { |
32 | | - "type": "patreon", |
33 | | - "url": "https://www.patreon.com/flavioheleno" |
34 | 30 | } |
35 | 31 | ], |
36 | 32 | "require": { |
37 | 33 | "php": ">=8.1", |
38 | 34 | "beluga-php/docker-php-api": "7.1.43.x-dev", |
39 | | - "nyholm/psr7": "^1.3", |
40 | | - "php-http/client-common": "^2.3", |
41 | | - "php-http/socket-client": "^2.0", |
42 | 35 | "psr/http-client": "^1.0", |
43 | | - "psr/http-message": "^1.0 || ^2.0", |
| 36 | + "psr/http-client-implementation": "*", |
| 37 | + "psr/http-message": "^1.1 || ^2.0", |
| 38 | + "psr/http-message-implementation": "*", |
44 | 39 | "symfony/filesystem": "^6.1", |
45 | 40 | "symfony/process": "^6.1" |
46 | 41 | }, |
47 | 42 | "suggest": { |
48 | | - "php-http/httplug-bundle": "For integration with Symfony" |
| 43 | + "guzzlehttp/guzzle": "PSR-18 compliant HTTP Client to use the API" |
49 | 44 | }, |
50 | 45 | "require-dev": { |
51 | 46 | "friendsofphp/php-cs-fixer": "^3.8", |
52 | | - "infection/infection": "^0.26", |
53 | 47 | "php-parallel-lint/php-parallel-lint": "^1.2", |
54 | | - "phpstan/phpstan": "^1.0", |
55 | 48 | "phpunit/phpunit": "^9.5", |
56 | 49 | "psy/psysh": "^0.11", |
57 | | - "roave/security-advisories": "dev-master", |
58 | | - "squizlabs/php_codesniffer": "^3.5", |
59 | | - "vimeo/psalm": "^4.3" |
| 50 | + "roave/security-advisories": "dev-latest" |
60 | 51 | }, |
61 | 52 | "conflict": { |
62 | 53 | "docker-php/docker-php": "*" |
|
65 | 56 | "php-cs-fixer": "vendor/bin/php-cs-fixer fix --dry-run --verbose --diff", |
66 | 57 | "php-cs-fixer-fix": "vendor/bin/php-cs-fixer fix --verbose", |
67 | 58 | "console": "vendor/bin/psysh", |
68 | | - "infection": "vendor/bin/infection", |
69 | 59 | "lint": "vendor/bin/parallel-lint --exclude vendor .", |
70 | | - "phpcs": "vendor/bin/phpcs --standard=ruleset.xml src/ tests/", |
71 | | - "phpstan": "vendor/bin/phpstan analyse --level=max --autoload-file=vendor/autoload.php src/", |
72 | 60 | "phpunit": "vendor/bin/phpunit ./tests/ --coverage-html=./report/coverage/ --whitelist=./src/ --testdox-html=./report/testdox.html --disallow-test-output --process-isolation", |
73 | | - "psalm": "vendor/bin/psalm --taint-analysis", |
74 | 61 | "test-ci": "vendor/bin/phpunit ./tests/ --disallow-test-output --process-isolation", |
75 | 62 | "test-coverage": "vendor/bin/phpunit ./tests/ --whitelist=./src/ --coverage-clover=clover.xml", |
76 | 63 | "test": [ |
77 | | - "@infection", |
78 | 64 | "@lint", |
79 | | - "@phpunit", |
80 | | - "@phpstan", |
81 | | - "@psalm", |
82 | | - "@phpcs" |
| 65 | + "@phpunit" |
83 | 66 | ] |
84 | 67 | }, |
85 | 68 | "scripts-descriptions": { |
86 | 69 | "console": "Runs PsySH Console", |
87 | | - "infection": "Runs mutation test framework", |
88 | 70 | "lint": "Runs complete codebase lint testing", |
89 | | - "phpcs": "Runs coding style checking", |
90 | | - "phpstan": "Runs complete codebase static analysis", |
91 | 71 | "phpunit": "Runs library test suite", |
92 | | - "psalm": "Runs complete codebase taint analysis", |
93 | 72 | "test-ci": "Runs library test suite (for continuous integration)", |
94 | 73 | "test-coverage": "Runs test-coverage analysis", |
95 | 74 | "test": "Runs all tests" |
|
0 commit comments