From 92d6509997c6a5d126fef5f69c84b05eaab0baba Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Tue, 4 Oct 2022 15:30:33 +0200 Subject: [PATCH] PHP 8.2 Stability Builds (#44447) * Enable stability builds for PHP 8.2 * wip * Bump versions * Add PHP 8.2 step * wip * Bump * wip * wip * wip * wip * wip * wip * wip * wip --- .github/workflows/tests.yml | 28 +++++++++++++++++-------- composer.json | 26 +++++++++++------------ src/Illuminate/Console/composer.json | 6 +++--- src/Illuminate/Database/composer.json | 2 +- src/Illuminate/Http/composer.json | 2 +- src/Illuminate/Mail/composer.json | 4 ++-- src/Illuminate/Queue/composer.json | 4 ++-- src/Illuminate/Redis/composer.json | 2 +- src/Illuminate/Testing/composer.json | 2 +- src/Illuminate/Validation/composer.json | 2 +- 10 files changed, 44 insertions(+), 34 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 83ea21361d1c..ed68816fbfe8 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -39,11 +39,8 @@ jobs: strategy: fail-fast: true matrix: - php: ['8.0', 8.1] + php: ['8.0', 8.1, 8.2] stability: [prefer-lowest, prefer-stable] - include: - - php: 8.2 - stability: prefer-stable --ignore-platform-req=php+ name: PHP ${{ matrix.php }} - ${{ matrix.stability }} @@ -79,6 +76,14 @@ jobs: command: composer require ramsey/collection:^1.2 brick/math:^0.9.3 --no-interaction --no-update if: matrix.php >= 8.1 + - name: Set Minimum PHP 8.2 Versions + uses: nick-invision/retry@v1 + with: + timeout_minutes: 5 + max_attempts: 5 + command: composer require guzzlehttp/guzzle:^7.5 guzzlehttp/psr7:^2.4 predis/predis:^2.0.2 --no-interaction --no-update + if: matrix.php >= 8.2 + - name: Install dependencies uses: nick-invision/retry@v1 with: @@ -110,11 +115,8 @@ jobs: strategy: fail-fast: true matrix: - php: ['8.0', 8.1] + php: ['8.0', 8.1, 8.2] stability: [prefer-lowest, prefer-stable] - include: - - php: 8.2 - stability: prefer-stable --ignore-platform-req=php+ name: PHP ${{ matrix.php }} - ${{ matrix.stability }} - Windows @@ -140,9 +142,17 @@ jobs: with: timeout_minutes: 5 max_attempts: 5 - command: composer require guzzlehttp/guzzle:^7.2 --no-interaction --no-update + command: composer require guzzlehttp/guzzle:~7.2 --no-interaction --no-update if: matrix.php >= 8 + - name: Set Minimum PHP 8.2 Versions + uses: nick-invision/retry@v1 + with: + timeout_minutes: 5 + max_attempts: 5 + command: composer require guzzlehttp/guzzle:~7.5 guzzlehttp/psr7:~2.4 predis/predis:^2.0.2 --no-interaction --no-update + if: matrix.php >= 8.2 + - name: Install dependencies uses: nick-invision/retry@v1 with: diff --git a/composer.json b/composer.json index 343436872afb..02e963fc0758 100644 --- a/composer.json +++ b/composer.json @@ -19,10 +19,10 @@ "ext-mbstring": "*", "ext-openssl": "*", "doctrine/inflector": "^2.0", - "dragonmantank/cron-expression": "^3.1", - "egulias/email-validator": "^3.1", + "dragonmantank/cron-expression": "^3.3.2", + "egulias/email-validator": "^3.2.1", "fruitcake/php-cors": "^1.2", - "laravel/serializable-closure": "^1.0", + "laravel/serializable-closure": "^1.2.2", "league/commonmark": "^2.2", "league/flysystem": "^3.0.16", "monolog/monolog": "^2.0", @@ -32,7 +32,7 @@ "psr/log": "^1.0|^2.0|^3.0", "psr/simple-cache": "^1.0|^2.0|^3.0", "ramsey/uuid": "^4.2.2", - "symfony/console": "^6.0.3", + "symfony/console": "^6.0.9", "symfony/error-handler": "^6.0", "symfony/finder": "^6.0", "symfony/http-foundation": "^6.0", @@ -43,7 +43,7 @@ "symfony/routing": "^6.0", "symfony/uid": "^6.0", "symfony/var-dumper": "^6.0", - "tijsverkoyen/css-to-inline-styles": "^2.2.2", + "tijsverkoyen/css-to-inline-styles": "^2.2.5", "vlucas/phpdotenv": "^5.4.1", "voku/portable-ascii": "^2.0" }, @@ -83,21 +83,21 @@ }, "require-dev": { "ably/ably-php": "^1.0", - "aws/aws-sdk-php": "^3.198.1", + "aws/aws-sdk-php": "^3.235.5", "doctrine/dbal": "^2.13.3|^3.1.4", "fakerphp/faker": "^1.9.2", - "guzzlehttp/guzzle": "^7.2", + "guzzlehttp/guzzle": "^7.5", "league/flysystem-aws-s3-v3": "^3.0", "league/flysystem-ftp": "^3.0", "league/flysystem-path-prefixing": "^3.3", "league/flysystem-read-only": "^3.3", "league/flysystem-sftp-v3": "^3.0", - "mockery/mockery": "^1.4.4", + "mockery/mockery": "^1.5.1", "orchestra/testbench-core": "^7.8", "pda/pheanstalk": "^4.0", "phpstan/phpstan": "^1.4.7", "phpunit/phpunit": "^9.5.8", - "predis/predis": "^1.1.9|^2.0", + "predis/predis": "^1.1.9|^2.0.2", "symfony/cache": "^6.0" }, "provide": { @@ -145,23 +145,23 @@ "ext-posix": "Required to use all features of the queue worker.", "ext-redis": "Required to use the Redis cache and queue drivers (^4.0|^5.0).", "ably/ably-php": "Required to use the Ably broadcast driver (^1.0).", - "aws/aws-sdk-php": "Required to use the SQS queue driver, DynamoDb failed job storage, and SES mail driver (^3.198.1).", + "aws/aws-sdk-php": "Required to use the SQS queue driver, DynamoDb failed job storage, and SES mail driver (^3.235.5).", "brianium/paratest": "Required to run tests in parallel (^6.0).", "doctrine/dbal": "Required to rename columns and drop SQLite columns (^2.13.3|^3.1.4).", "fakerphp/faker": "Required to use the eloquent factory builder (^1.9.1).", "filp/whoops": "Required for friendly error pages in development (^2.14.3).", - "guzzlehttp/guzzle": "Required to use the HTTP Client and the ping methods on schedules (^7.2).", + "guzzlehttp/guzzle": "Required to use the HTTP Client and the ping methods on schedules (^7.5).", "laravel/tinker": "Required to use the tinker console command (^2.0).", "league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (^3.0).", "league/flysystem-ftp": "Required to use the Flysystem FTP driver (^3.0).", "league/flysystem-path-prefixing": "Required to use the scoped driver (^3.3).", "league/flysystem-read-only": "Required to use read-only disks (^3.3)", "league/flysystem-sftp-v3": "Required to use the Flysystem SFTP driver (^3.0).", - "mockery/mockery": "Required to use mocking (^1.4.4).", + "mockery/mockery": "Required to use mocking (^1.5.1).", "nyholm/psr7": "Required to use PSR-7 bridging features (^1.2).", "pda/pheanstalk": "Required to use the beanstalk queue driver (^4.0).", "phpunit/phpunit": "Required to use assertions and run tests (^9.5.8).", - "predis/predis": "Required to use the predis connector (^1.1.9|^2.0).", + "predis/predis": "Required to use the predis connector (^1.1.9|^2.0.2).", "psr/http-message": "Required to allow Storage::put to accept a StreamInterface (^1.0).", "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^6.0|^7.0).", "symfony/cache": "Required to PSR-6 cache bridge (^6.0).", diff --git a/src/Illuminate/Console/composer.json b/src/Illuminate/Console/composer.json index 948a6fc16db4..93b8b57ab1d4 100755 --- a/src/Illuminate/Console/composer.json +++ b/src/Illuminate/Console/composer.json @@ -21,7 +21,7 @@ "illuminate/support": "^9.0", "illuminate/view": "^9.0", "nunomaduro/termwind": "^1.13", - "symfony/console": "^6.0", + "symfony/console": "^6.0.9", "symfony/process": "^6.0" }, "autoload": { @@ -35,8 +35,8 @@ } }, "suggest": { - "dragonmantank/cron-expression": "Required to use scheduler (^3.1).", - "guzzlehttp/guzzle": "Required to use the ping methods on schedules (^7.2).", + "dragonmantank/cron-expression": "Required to use scheduler (^3.3.2).", + "guzzlehttp/guzzle": "Required to use the ping methods on schedules (^7.5).", "illuminate/bus": "Required to use the scheduled job dispatcher (^9.0).", "illuminate/container": "Required to use the scheduler (^9.0).", "illuminate/filesystem": "Required to use the generator command (^9.0).", diff --git a/src/Illuminate/Database/composer.json b/src/Illuminate/Database/composer.json index df3d06cbac66..912ac9f484c4 100644 --- a/src/Illuminate/Database/composer.json +++ b/src/Illuminate/Database/composer.json @@ -22,7 +22,7 @@ "illuminate/contracts": "^9.0", "illuminate/macroable": "^9.0", "illuminate/support": "^9.0", - "symfony/console": "^6.0" + "symfony/console": "^6.0.9" }, "autoload": { "psr-4": { diff --git a/src/Illuminate/Http/composer.json b/src/Illuminate/Http/composer.json index a5ad5da9a79d..081009b125aa 100755 --- a/src/Illuminate/Http/composer.json +++ b/src/Illuminate/Http/composer.json @@ -32,7 +32,7 @@ }, "suggest": { "ext-gd": "Required to use Illuminate\\Http\\Testing\\FileFactory::image().", - "guzzlehttp/guzzle": "Required to use the HTTP Client (^7.2)." + "guzzlehttp/guzzle": "Required to use the HTTP Client (^7.5)." }, "extra": { "branch-alias": { diff --git a/src/Illuminate/Mail/composer.json b/src/Illuminate/Mail/composer.json index 56e008e18256..20fda047a1dc 100755 --- a/src/Illuminate/Mail/composer.json +++ b/src/Illuminate/Mail/composer.json @@ -24,7 +24,7 @@ "league/commonmark": "^2.2", "psr/log": "^1.0|^2.0|^3.0", "symfony/mailer": "^6.0", - "tijsverkoyen/css-to-inline-styles": "^2.2.2" + "tijsverkoyen/css-to-inline-styles": "^2.2.5" }, "autoload": { "psr-4": { @@ -37,7 +37,7 @@ } }, "suggest": { - "aws/aws-sdk-php": "Required to use the SES mail driver (^3.198.1).", + "aws/aws-sdk-php": "Required to use the SES mail driver (^3.235.5).", "symfony/http-client": "Required to use the Symfony API mail transports (^6.0).", "symfony/mailgun-mailer": "Required to enable support for the Mailgun mail transport (^6.0).", "symfony/postmark-mailer": "Required to enable support for the Postmark mail transport (^6.0)." diff --git a/src/Illuminate/Queue/composer.json b/src/Illuminate/Queue/composer.json index bce68d4254cd..e96f32dd7ad5 100644 --- a/src/Illuminate/Queue/composer.json +++ b/src/Illuminate/Queue/composer.json @@ -24,7 +24,7 @@ "illuminate/filesystem": "^9.0", "illuminate/pipeline": "^9.0", "illuminate/support": "^9.0", - "laravel/serializable-closure": "^1.0", + "laravel/serializable-closure": "^1.2.2", "ramsey/uuid": "^4.2.2", "symfony/process": "^6.0" }, @@ -41,7 +41,7 @@ "suggest": { "ext-pcntl": "Required to use all features of the queue worker.", "ext-posix": "Required to use all features of the queue worker.", - "aws/aws-sdk-php": "Required to use the SQS queue driver and DynamoDb failed job storage (^3.198.1).", + "aws/aws-sdk-php": "Required to use the SQS queue driver and DynamoDb failed job storage (^3.235.5).", "illuminate/redis": "Required to use the Redis queue driver (^9.0).", "pda/pheanstalk": "Required to use the Beanstalk queue driver (^4.0)." }, diff --git a/src/Illuminate/Redis/composer.json b/src/Illuminate/Redis/composer.json index c8afd22777d9..93fe330eab72 100755 --- a/src/Illuminate/Redis/composer.json +++ b/src/Illuminate/Redis/composer.json @@ -27,7 +27,7 @@ }, "suggest": { "ext-redis": "Required to use the phpredis connector (^4.0|^5.0).", - "predis/predis": "Required to use the predis connector (^1.1.9|^2.0)." + "predis/predis": "Required to use the predis connector (^1.1.9|^2.0.2)." }, "extra": { "branch-alias": { diff --git a/src/Illuminate/Testing/composer.json b/src/Illuminate/Testing/composer.json index 63f1f1e9cf80..7fae381cd8a4 100644 --- a/src/Illuminate/Testing/composer.json +++ b/src/Illuminate/Testing/composer.json @@ -35,7 +35,7 @@ "illuminate/console": "Required to assert console commands (^9.0).", "illuminate/database": "Required to assert databases (^9.0).", "illuminate/http": "Required to assert responses (^9.0).", - "mockery/mockery": "Required to use mocking (^1.4.4).", + "mockery/mockery": "Required to use mocking (^1.5.1).", "phpunit/phpunit": "Required to use assertions and run tests (^9.5.8)." }, "config": { diff --git a/src/Illuminate/Validation/composer.json b/src/Illuminate/Validation/composer.json index 281cec4b88a4..154d7278615d 100755 --- a/src/Illuminate/Validation/composer.json +++ b/src/Illuminate/Validation/composer.json @@ -16,7 +16,7 @@ "require": { "php": "^8.0.2", "ext-json": "*", - "egulias/email-validator": "^3.1", + "egulias/email-validator": "^3.2.1", "illuminate/collections": "^9.0", "illuminate/container": "^9.0", "illuminate/contracts": "^9.0",