Skip to content

Commit

Permalink
PHP 8.2 Stability Builds (laravel#44447)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
driesvints authored Oct 4, 2022
1 parent 56584c5 commit 92d6509
Show file tree
Hide file tree
Showing 10 changed files with 44 additions and 34 deletions.
28 changes: 19 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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

Expand All @@ -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:
Expand Down
26 changes: 13 additions & 13 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand All @@ -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"
},
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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).",
Expand Down
6 changes: 3 additions & 3 deletions src/Illuminate/Console/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand All @@ -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).",
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Database/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Http/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
4 changes: 2 additions & 2 deletions src/Illuminate/Mail/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand All @@ -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)."
Expand Down
4 changes: 2 additions & 2 deletions src/Illuminate/Queue/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand All @@ -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)."
},
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Redis/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Testing/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Validation/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 92d6509

Please sign in to comment.