From 0d79ab025b990429f632fa037fa21c8f3bf27a62 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Tue, 24 Feb 2026 20:00:05 +0000
Subject: [PATCH 1/3] Initial plan
From 2a420c192398a255dede4a1f2f053de77033c563 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Tue, 24 Feb 2026 20:03:37 +0000
Subject: [PATCH 2/3] Fix!: remove support for PHP 7.4 through 8.1
Co-authored-by: adrian05-ms <212946016+adrian05-ms@users.noreply.github.com>
---
.github/workflows/pr-validation.yml | 2 +-
composer.json | 6 +++---
phpunit.xml | 12 +++++++-----
3 files changed, 11 insertions(+), 9 deletions(-)
diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml
index c19faa87f0c..9f289151e75 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', '8.3', '8.4']
+ php-versions: ['8.2', '8.3', '8.4']
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
diff --git a/composer.json b/composer.json
index 69b78a80443..827b4086a57 100644
--- a/composer.json
+++ b/composer.json
@@ -12,12 +12,12 @@
}
],
"require": {
- "php": "^8.0 || ^7.4",
+ "php": "^8.2",
"microsoft/microsoft-graph-core": "^2.2.1"
},
"require-dev": {
- "phpunit/phpunit": "^8.0 || ^9.0",
- "phpstan/phpstan": "^0.12.90 || ^1.0.0"
+ "phpunit/phpunit": "^10.0 || ^11.0",
+ "phpstan/phpstan": "^1.0.0"
},
"autoload": {
"psr-4": {
diff --git a/phpunit.xml b/phpunit.xml
index 7e2e21005c5..9ac01b4cffb 100644
--- a/phpunit.xml
+++ b/phpunit.xml
@@ -5,10 +5,12 @@
tests
-
-
+
+
src
- src/Generated
-
-
+
+
+ src/Generated
+
+
From c043af3ff45a3b8da07041f99746003078269fbb Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Tue, 24 Feb 2026 20:23:40 +0000
Subject: [PATCH 3/3] feat: add PHP 8.5 to CI test matrix
Co-authored-by: adrian05-ms <212946016+adrian05-ms@users.noreply.github.com>
---
.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 9f289151e75..4e2023db673 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: ['8.2', '8.3', '8.4']
+ php-versions: ['8.2', '8.3', '8.4', '8.5']
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2