Skip to content

Commit

Permalink
[6.x] Set minimum Guzzle version for PHP 8 CI (#35267)
Browse files Browse the repository at this point in the history
* Set minimum Guzzle version for PHP 8 CI

* Fixed typos

* Corrected min supported aws sdk
  • Loading branch information
GrahamCampbell committed Nov 18, 2020
1 parent 53d66bb commit e90889d
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 4 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/tests.yml
Expand Up @@ -50,6 +50,14 @@ jobs:
- name: Setup problem matchers
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"

- name: Set Minimum Guzzle Version
uses: nick-invision/retry@v1
with:
timeout_minutes: 5
max_attempts: 5
command: composer require guzzlehttp/guzzle:^7.2 --no-interaction --no-update
if: matrix.php >= 8

- name: Install dependencies
uses: nick-invision/retry@v1
with:
Expand Down Expand Up @@ -94,6 +102,14 @@ jobs:
- name: Setup problem matchers
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"

- name: Set Minimum Guzzle Version
uses: nick-invision/retry@v1
with:
timeout_minutes: 5
max_attempts: 5
command: composer require guzzlehttp/guzzle:^7.2 --no-interaction --no-update
if: matrix.php >= 8

- name: Install dependencies
uses: nick-invision/retry@v1
with:
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Expand Up @@ -77,7 +77,7 @@
"tightenco/collect": "<5.5.33"
},
"require-dev": {
"aws/aws-sdk-php": "^3.0",
"aws/aws-sdk-php": "^3.155",
"doctrine/dbal": "^2.6",
"filp/whoops": "^2.8",
"guzzlehttp/guzzle": "^6.3.1|^7.0.1",
Expand Down Expand Up @@ -119,7 +119,7 @@
"ext-pcntl": "Required to use all features of the queue worker.",
"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).",
"aws/aws-sdk-php": "Required to use the SQS queue driver, DynamoDb failed job storage and SES mail driver (^3.0).",
"aws/aws-sdk-php": "Required to use the SQS queue driver, DynamoDb failed job storage and SES mail driver (^3.155).",
"doctrine/dbal": "Required to rename columns and drop SQLite columns (^2.6).",
"filp/whoops": "Required for friendly error pages in development (^2.8).",
"fakerphp/faker": "Required to use the eloquent factory builder (^1.9.1).",
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Mail/composer.json
Expand Up @@ -35,7 +35,7 @@
}
},
"suggest": {
"aws/aws-sdk-php": "Required to use the SES mail driver (^3.0).",
"aws/aws-sdk-php": "Required to use the SES mail driver (^3.155).",
"guzzlehttp/guzzle": "Required to use the Mailgun mail driver (^6.3.1|^7.0.1).",
"wildbit/swiftmailer-postmark": "Required to use Postmark mail driver (^3.0)."
},
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Queue/composer.json
Expand Up @@ -40,7 +40,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.0).",
"aws/aws-sdk-php": "Required to use the SQS queue driver and DynamoDb failed job storage (^3.155).",
"illuminate/redis": "Required to use the Redis queue driver (^6.0).",
"pda/pheanstalk": "Required to use the Beanstalk queue driver (^4.0)."
},
Expand Down

0 comments on commit e90889d

Please sign in to comment.