Skip to content

Commit 47453ed

Browse files
committed
Require patched PHPUnit versions to fix CVE (unsafe deserialization in PHPT test runner)
Updates PHPUnit constraints to require patched versions while maintaining PHP 7.1 support: - PHPUnit 7.5+ (for PHP 7.1 compatibility; not mentioned in CVE, likely unaffected or EOL) - PHPUnit 8.5.52+ (was 8.5.x; requires PHP 7.2+) - PHPUnit 9.6.33+ (was 9.6.x; requires PHP 7.3+) Vulnerability affects: <= 8.5.51, <= 9.6.32, <= 10.5.61, <= 11.5.49, <= 12.5.7
1 parent e8788a7 commit 47453ed

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)