Skip to content

Commit 4e433a8

Browse files
committed
Fix PHPUnit vulnerability: unsafe deserialization in PHPT test runner
Security alert for CVE affecting PHPUnit cleanupForCoverage() method. Vulnerable versions: <= 8.5.51, <= 9.6.32, <= 10.5.61, <= 11.5.49, <= 12.5.7 Required dropping PHP 7.1 support (EOL since Dec 2019) to use patched PHPUnit versions. Changes: - Minimum PHP version: 7.2+ (was 7.1+) - PHPUnit: 8.5.52+ or 9.6.33+ (was 7.5, 8.5.x, or 9.6.x) - Removed PHP 7.1 from CI matrix
1 parent e8788a7 commit 4e433a8

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/unit-tests.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ jobs:
99
strategy:
1010
matrix:
1111
php:
12-
- '7.1'
1312
- '7.2'
1413
- '7.3'
1514
- '7.4'

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313
}
1414
],
1515
"require": {
16-
"php": ">=7.1",
16+
"php": ">=7.2",
1717
"ext-mbstring": "*"
1818
},
1919
"require-dev": {
20-
"phpunit/phpunit": "^7.5|^8.5|^9.6"
20+
"phpunit/phpunit": "^8.5.52|^9.6.33"
2121
},
2222
"autoload": {
23-
"psr-0": {"Parsedown": ""}
23+
"psr-0": { "Parsedown": "" }
2424
},
2525
"autoload-dev": {
2626
"psr-0": {

0 commit comments

Comments
 (0)