Skip to content

Commit bfebe09

Browse files
authored
Merge pull request #1299 from weierophinney/fix/psr-7-errata-php-req
Update minimum PHP version for PSR-7 meta section 7.2
2 parents 30d1347 + 84e4357 commit bfebe09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

accepted/PSR-7-http-message-meta.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -699,12 +699,12 @@ This structure leverages PHP 7.2 covariance support to allow for a gradual upgra
699699
Implementers MAY add return types to their own packages at their discretion, provided that:
700700

701701
* the return types match those in the 2.0 package.
702-
* the implementation specifies a minimum PHP version of 8.0.0 or later.
702+
* the implementation specifies a minimum PHP version of 7.2.0 or later.
703703

704704
Implementers MAY add parameter types to their own packages in a new major release, either at the same time as adding return types or in a subsequent release, provided that:
705705

706706
* the parameter types match those in the 1.1 package.
707-
* the implementation specifies a minimum PHP version of 8.0.0 or later.
707+
* the implementation specifies a minimum PHP version of 7.2.0 or later.
708708
* the implementation depends on `"psr/http-message": "^1.1 || ^2.0"` so as to exclude the untyped 1.0 version.
709709

710710
Implementers are encouraged but not required to transition their packages toward the 2.0 version of the package at their earliest convenience.

0 commit comments

Comments
 (0)