Skip to content

Commit

Permalink
Add PHP 8.1 to the version matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromegamez committed Jan 2, 2024
1 parent e8421af commit 0ed6c16
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
fail-fast: true
matrix:
php:
- "8.1"
- "8.2"
- "8.3"

Expand Down Expand Up @@ -79,3 +80,4 @@ jobs:
run: vendor/bin/phpunit --testdox --coverage-text
env:
GOOGLE_APPLICATION_CREDENTIALS: ${{secrets.GOOGLE_APPLICATION_CREDENTIALS}}
FIREBASE_TENANT_ID: ${{secrets.FIREBASE_TENANT_ID}}
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"require-dev": {
"beste/clock": "^3.0",
"friendsofphp/php-cs-fixer": "^3.43.1",
"friendsofphp/php-cs-fixer": "^3.45.0",
"google/auth": "^1.33",
"nyholm/psr7": "^1.8.1",
"php-standard-library/phpstan-extension": "^1.0",
Expand All @@ -33,8 +33,8 @@
"phpstan/phpstan-phpunit": "^1.3.15",
"phpstan/phpstan-strict-rules": "^1.5.2",
"phpunit/phpunit": "^10.5.5",
"symfony/http-client": "^7.0",
"symfony/var-dumper": "^7.0",
"symfony/http-client": "^6.4.2 || ^7.0.2",
"symfony/var-dumper": "^6.4.2 || ^7.0.2",
"vlucas/phpdotenv": "^5.6"
},
"suggest": {
Expand Down
10 changes: 5 additions & 5 deletions tests/Support/CustomTokenExchanger.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@
/**
* @internal
*/
final readonly class CustomTokenExchanger
final class CustomTokenExchanger
{
/**
* @param non-empty-string $projectId
*/
public function __construct(
private string $projectId,
private ClientInterface $client,
private RequestFactoryInterface $requestFactory,
private StreamFactoryInterface $streamFactory,
private readonly string $projectId,
private readonly ClientInterface $client,
private readonly RequestFactoryInterface $requestFactory,
private readonly StreamFactoryInterface $streamFactory,
) {}

/**
Expand Down

0 comments on commit 0ed6c16

Please sign in to comment.