Add support for psr/http-message v2
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
Hướng nghiên cứu
Start by reviewing the compatibility discussion in #485 and the current dependency on ringcentral/psr7, then trace how psr/http-message v1 is supported across the currently supported PHP versions. Add the required older-PHP workarounds, remove ringcentral/psr7, and include tests covering psr/http-message v2 compatibility.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I recommend adding support for psr/http-message v2, which was released in April and requires PHP 7.2+. To ensure compatibility with psr/http-message v2 across all currently supported versions in http (PHP 5.3+), we will need to implement some additional workarounds for older PHP versions. These workarounds are necessary not only for the current v1 of http, but also for the upcoming v3, which will support PHP 7.1+. We will also need to include additional tests to ensure our compatibility with psr/http-message v2.
Additionally we need to remove the dependency for ringcentral/psr7 as discussed in #485, which currently has a dependency on psr/http-message v1. This project has not received updates since 2020, and it is unlikely to receive support for psr/http-message v2 anytime soon. To ensure compatibility with psr/http-message v2, we must first remove ringcentral/psr7.
I'll update this ticket as we make progress 👍
If you need this feature urgently, you can always reach out to us or help us prioritizing by becoming a sponsor and supporting the ReactPHP ecosystem ❤️
- Ngôn ngữ chính
- PHP
- Star
- 781
- Fork
- 166
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của reactphp/http
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 76/100
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
-
Roadmap to reactphp/http v3 Đang mởmaintenance
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
-
help wanted new feature
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
-
new feature
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
Tất cả issue của reactphp/http
Issue tương tự
-
sync-en
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 85/100
-
sync-en
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 85/100
-
Перевод устарел
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 78/100
-
[6.x]: "Cannot use object of type stdClass as array" loading Users index (regression of #19182) Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100