CI and fixtures: make PHP 8.6 a supported target
Maintainer thường phản hồi trong vòng 1 ngày
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
- 22/100
Hướng nghiên cứu
This is a tracking issue with several separate tasks. Start with the CI matrix in phpunit.yml (the experimental flag on 8.6) and phpstan.yml (add 8.6), then look at the weaving fixtures under tests/Instrument/Transformer/_files/. Done means the matrix changes land and each listed 8.6 syntax case has a skipped-below-8.6 functional test. Dropping experimental must wait for 8.6.0 GA, and the fixture tasks need maintainer guidance.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Current state
phpunit.ymlruns PHP 8.6 (lowest and highest dependencies) withexperimental: true, so a failure doesn't fail the build.phpstan.ymlonly runs on 8.4 and 8.5. Locally,composer analyzepasses on 8.6 for the current code.- No fixture or functional test contains 8.6 syntax. The whole suite passes on 8.6.0RC2 and RC3 (3359 tests).
Tasks
- Drop
experimentalfor 8.6 inphpunit.ymlonce 8.6.0 GA is released andsetup-phpprovides it. - Add 8.6 to the
phpstan.ymlmatrix. - Add weaving fixtures (
tests/Instrument/Transformer/_files/php86-*) and functional tests for 8.6 syntax in woven code. They should be skipped below 8.6, or loaded through a version-gated fixture project. Cover:- PFA in method bodies, including a PFA of an intercepted method (
$this->sum(?, 1)), static PFA (self::make(1, ?)), and PFA after|>; - PFA in constant expressions: property/parameter defaults (#791) and attribute arguments (these already work);
readonlyproperty defaults in readonly and non-readonly classes, and re-initialisation in an intercepted__clone()(#792);#[\Override]on class constants and enum cases (#794);- parameter doc comments (#793);
__debugInfo()on enums, which is already woven and intercepted correctly.
- PFA in method bodies, including a PFA of an intercepted method (
-
tests/AGENTS.md: describe the 8.6 test setup. Optionally pingoaop/parser-reflection/nikic/php-parserto versions that parse 8.6 (php-parser 5.9 already hasArgPlaceholder).
No action needed for these 8.6 changes, which were checked against the engine:
- stateless closure caching: no code relies on closure identity;
- the limit of 16 filters per
php://filterURL: the loader uses one filter per URL; - the 8.6 deprecations: the suite runs with
failOnDeprecation; __construct()return-value deprecation: generated constructors don't return.
Part of #789.
- Ngôn ngữ chính
- PHP
- Star
- 1.7k
- Fork
- 166
- Merge trung bình
- 1 ngày 5 giờ
- Pull request đã merge (30 ngày)
- 30
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 goaop/framework
-
Enhancement PHP-8.6
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Enhancement PHP-8.6 To Be Discussed
Độ khó 4/5 Hơn một tuần Mức phù hợp với người mới 8/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Static $__joinPoint keeps the first instance of every woven class aliveCó thể đã có người làm @lisachenko đã nhận 1 ngày trước. Đang mởBug PHP-8.4 PHP-8.5 PHP-8.6
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 22/100
Maintainer thường phản hồi trong vòng 1 ngày
-
#[\SensitiveParameter] values leak through joinpoint frames in stack tracesCó thể đã có người làm @lisachenko đã nhận 1 ngày trước. Đang mởBug PHP-8.4 PHP-8.5 PHP-8.6
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 18/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Enum proxies drop attributes and doc comments of enum cases (incl. 8.6 #[\Override] on cases)Có thể đã có người làm @lisachenko đã nhận 1 ngày trước. Đang mởBug PHP-8.4 PHP-8.5 PHP-8.6
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của goaop/framework
Issue tương tự
-
Author mapping step: "create new user" and "assign to existing user" fields have no spacing between themCó thể đã có người làm @umeshnevase đã nhận hôm nay. Đang mở
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 78/100
WordPress/wordpress-importer#275 ·
-
security/openvpn-legacy: read-only user can stop a running VPNCó thể đã có người làm @besendorf đã nhận hôm nay. Đang mởincomplete
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
opnsense/plugins#5887 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
jira-created
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
-
No Code Attached Yet
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
joomla/joomla-cms#48786 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Icinga/icingaweb2-module-director#3188 ·
Maintainer thường phản hồi trong vòng 4 ngày