Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Make "NewlineAfterStatementRector" and "NewlineBetweenClassLikeStmtsRector" optional

クローズ
#9,917 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
52/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
php
領域
tooling

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

feature

Would it be possible to make these two specific rules either opt-in, configurable, or both ?

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.

主要言語
PHP
スター
10.4k
フォーク
742
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

rectorphp/rector のほかの issue

rectorphp/rector の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。