Skip to content

Commit 2a420c1

Browse files
Copilotadrian05-ms
andcommitted
Fix!: remove support for PHP 7.4 through 8.1
Co-authored-by: adrian05-ms <212946016+adrian05-ms@users.noreply.github.com>
1 parent 0d79ab0 commit 2a420c1

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

.github/workflows/pr-validation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020
strategy:
2121
matrix:
22-
php-versions: ['7.4', '8.0', '8.1', '8.2', '8.3', '8.4']
22+
php-versions: ['8.2', '8.3', '8.4']
2323
steps:
2424
- name: Setup PHP
2525
uses: shivammathur/setup-php@v2

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
}
1313
],
1414
"require": {
15-
"php": "^8.0 || ^7.4",
15+
"php": "^8.2",
1616
"microsoft/microsoft-graph-core": "^2.2.1"
1717
},
1818
"require-dev": {
19-
"phpunit/phpunit": "^8.0 || ^9.0",
20-
"phpstan/phpstan": "^0.12.90 || ^1.0.0"
19+
"phpunit/phpunit": "^10.0 || ^11.0",
20+
"phpstan/phpstan": "^1.0.0"
2121
},
2222
"autoload": {
2323
"psr-4": {

phpunit.xml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@
55
<directory>tests</directory>
66
</testsuite>
77
</testsuites>
8-
<filter>
9-
<whitelist addUncoveredFilesFromWhitelist="true">
8+
<source>
9+
<include>
1010
<directory suffix=".php">src</directory>
11-
<exclude><directory suffix=".php">src/Generated</directory></exclude>
12-
</whitelist>
13-
</filter>
11+
</include>
12+
<exclude>
13+
<directory suffix=".php">src/Generated</directory>
14+
</exclude>
15+
</source>
1416
</phpunit>

0 commit comments

Comments
 (0)