Skip to content

Commit

Permalink
fix: add support for php 8.4, remove implicit nullable (#591)
Browse files Browse the repository at this point in the history
  • Loading branch information
bshaffer authored Dec 4, 2024
1 parent ba137b2 commit 3e1061b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
test:
strategy:
matrix:
php: [ "8.1", "8.2", "8.3" ]
php: [ "8.1", "8.2", "8.3", "8.4" ]
os: [ ubuntu-latest ]
include:
- os: windows-latest
Expand Down
2 changes: 1 addition & 1 deletion src/Credentials/UserRefreshCredentials.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class UserRefreshCredentials extends CredentialsLoader implements GetQuotaProjec
public function __construct(
$scope,
$jsonKey,
string $targetAudience = null
?string $targetAudience = null
) {
if (is_string($jsonKey)) {
if (!file_exists($jsonKey)) {
Expand Down
2 changes: 1 addition & 1 deletion tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* limitations under the License.
*/

error_reporting(E_ALL | E_STRICT);
error_reporting(E_ALL);
require dirname(__DIR__) . '/vendor/autoload.php';
date_default_timezone_set('UTC');

Expand Down

0 comments on commit 3e1061b

Please sign in to comment.