From eb4c86b8a602ba287ee86807f87c241615564f14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Hub=C3=ADk?= Date: Fri, 28 Mar 2025 09:23:38 +0100 Subject: [PATCH 1/2] PHP 8.4 compatibility --- src/GraphRequestAdapter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GraphRequestAdapter.php b/src/GraphRequestAdapter.php index f0634cabec9..b7c9c79808f 100644 --- a/src/GraphRequestAdapter.php +++ b/src/GraphRequestAdapter.php @@ -29,7 +29,7 @@ class GraphRequestAdapter extends BaseGraphRequestAdapter * @param AuthenticationProvider $authenticationProvider * @param Client|null $httpClient */ - public function __construct(AuthenticationProvider $authenticationProvider, Client $httpClient = null) + public function __construct(AuthenticationProvider $authenticationProvider, ?Client $httpClient = null) { parent::__construct($this->getTelemetryConfig(), $authenticationProvider, null, null, $httpClient); } From 854186fbb7a67d264adb25051da9524601c5d93c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Hub=C3=ADk?= Date: Fri, 28 Mar 2025 12:33:53 +0100 Subject: [PATCH 2/2] Added PHP versions to the pr-validation.yml --- .github/workflows/pr-validation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml index abcc297ecf0..a0b089fc351 100644 --- a/.github/workflows/pr-validation.yml +++ b/.github/workflows/pr-validation.yml @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php-versions: ['7.4', '8.0', '8.1', '8.2'] + php-versions: ['7.4', '8.0', '8.1', '8.2', '8.3', '8.4'] steps: - name: Setup PHP uses: shivammathur/setup-php@v2