Make "NewlineAfterStatementRector" and "NewlineBetweenClassLikeStmtsRector" optional
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
- 52/100
Hướng nghiên cứu
Start with the two linked rule-detail pages for NewlineAfterStatementRector and NewlineBetweenClassLikeStmtsRector, then trace how those rules are included in default sets. Define whether each rule should be opt-in, configurable, or both, and verify that the chosen behavior no longer enforces them by default while still allowing explicit use.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Would it be possible to make these two specific rules either opt-in, configurable, or both ?
- https://getrector.com/rule-detail/newline-after-statement-rector
- https://getrector.com/rule-detail/newline-between-class-like-stmts-rector
Of course, they can easily be skipped, but from my perspective, it feels odd to have such opinionated coding style rules enforced by default in sets.
In my case, I have been skipping them for years now, ever since I started using Rector.
- Ngôn ngữ chính
- PHP
- Star
- 10.4k
- Fork
- 742
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
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 rectorphp/rector
-
withImportNames() reports a change on a short name already imported next to a same-short-name aliasĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 65/100
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
Tất cả issue của rectorphp/rector
Issue tương tự
-
sync-en
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug Feature: Kiosk
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Infrastructure: actions Module: zmscitizenapi Module: zmsentities php Type: Bug unit tests
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
it-at-m/eappointment#3480 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
HttpClient
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
CI: composer install fails — league/flysystem 1.x blocked by security advisory GHSA-cxf4-7mrp-vvprĐang mởdevops type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày