diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f5efeacbe..29b9cacfd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: - name: Set up PHP uses: shivammathur/setup-php@v2 with: - php-version: '7.2' + php-version: '7.4' ini-values: error_reporting=E_ALL coverage: none extensions: mbstring, intl @@ -51,7 +51,7 @@ jobs: strategy: max-parallel: 10 matrix: - php: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3'] + php: ['7.4', '8.0', '8.1', '8.2', '8.3'] psr7: ['^1.9.1', '^2.5.1'] include: - php: '8.0' @@ -106,7 +106,7 @@ jobs: strategy: max-parallel: 10 matrix: - php: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3'] + php: ['7.4', '8.0', '8.1', '8.2', '8.3'] steps: - name: Set up PHP diff --git a/README.md b/README.md index ddbf49831..11d0fc279 100644 --- a/README.md +++ b/README.md @@ -67,16 +67,19 @@ composer require guzzlehttp/guzzle | 5.x | EOL (2019-10-31) | `guzzlehttp/guzzle` | `GuzzleHttp` | [v5][guzzle-5-repo] | [v5][guzzle-5-docs] | No | >=5.4,<7.4 | | 6.x | EOL (2023-10-31) | `guzzlehttp/guzzle` | `GuzzleHttp` | [v6][guzzle-6-repo] | [v6][guzzle-6-docs] | Yes | >=5.5,<8.0 | | 7.x | Latest | `guzzlehttp/guzzle` | `GuzzleHttp` | [v7][guzzle-7-repo] | [v7][guzzle-7-docs] | Yes | >=7.2.5,<8.4 | +| 8.x | Experimental | `guzzlehttp/guzzle` | `GuzzleHttp` | [v8][guzzle-8-repo] | [v8][guzzle-8-docs] | Yes | >=7.4,<8.4 | [guzzle-3-repo]: https://github.com/guzzle/guzzle3 [guzzle-4-repo]: https://github.com/guzzle/guzzle/tree/4.x [guzzle-5-repo]: https://github.com/guzzle/guzzle/tree/5.3 [guzzle-6-repo]: https://github.com/guzzle/guzzle/tree/6.5 [guzzle-7-repo]: https://github.com/guzzle/guzzle +[guzzle-8-repo]: https://github.com/guzzle/guzzle [guzzle-3-docs]: https://guzzle3.readthedocs.io/ [guzzle-5-docs]: https://docs.guzzlephp.org/en/5.3/ [guzzle-6-docs]: https://docs.guzzlephp.org/en/6.5/ [guzzle-7-docs]: https://docs.guzzlephp.org/en/latest/ +[guzzle-8-docs]: https://docs.guzzlephp.org/en/latest/ ## Security diff --git a/composer.json b/composer.json index 25d5c8ade..23dcc37bf 100644 --- a/composer.json +++ b/composer.json @@ -61,7 +61,7 @@ "type": "zip" }, "require": { - "php": "^7.2.5 || ^8.0", + "php": "^7.4 || ^8.0", "phpunit/phpunit": "^7.5.20 || ^8.5.8 || ^9.3.11", "php-http/message": "^1.0 || ^2.0", "guzzlehttp/psr7": "^1.7 || ^2.0", @@ -79,7 +79,7 @@ } ], "require": { - "php": "^7.2.5 || ^8.0", + "php": "^7.4 || ^8.0", "ext-json": "*", "guzzlehttp/promises": "^1.5.3 || ^2.0.1", "guzzlehttp/psr7": "^1.9.1 || ^2.5.1", diff --git a/docs/overview.rst b/docs/overview.rst index 1e7c72907..64d364dc1 100644 --- a/docs/overview.rst +++ b/docs/overview.rst @@ -5,7 +5,7 @@ Overview Requirements ============ -#. PHP 7.2.5 +#. PHP 7.4+ #. To use the PHP stream handler, ``allow_url_fopen`` must be enabled in your system's php.ini. #. To use the cURL handler, you must have a recent version of cURL >= 7.19.4 @@ -121,9 +121,9 @@ Guidelines 1. Guzzle utilizes PSR-1, PSR-2, PSR-4, and PSR-7. 2. Guzzle is meant to be lean and fast with very few dependencies. This means that not every feature request will be accepted. -3. Guzzle has a minimum PHP version requirement of PHP 7.2. Pull requests must - not require a PHP version greater than PHP 7.2 unless the feature is only - utilized conditionally and the file can be parsed by PHP 7.2. +3. Guzzle has a minimum PHP version requirement of PHP 7.4. Pull requests must + not require a PHP version greater than PHP 7.4 unless the feature is only + utilized conditionally and the file can be parsed by PHP 7.4. 4. All pull requests must include unit tests to ensure the change works as expected and to prevent regressions. diff --git a/docs/request-options.rst b/docs/request-options.rst index f45665505..0dab6c9cc 100644 --- a/docs/request-options.rst +++ b/docs/request-options.rst @@ -587,7 +587,7 @@ idn_conversion :Types: - bool - int -:Default: ``true`` if ``intl`` extension is available (and ICU library is 4.6+ for PHP 7.2+), ``false`` otherwise +:Default: ``true`` if ``intl`` extension is available (and ICU library is 4.6+), ``false`` otherwise :Constant: ``GuzzleHttp\RequestOptions::IDN_CONVERSION`` .. code-block:: php