Download the PHP package bypassflow/standards without Composer
On this page you can find all versions of the php package bypassflow/standards. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download bypassflow/standards
More information about bypassflow/standards
Files in bypassflow/standards
Download bypassflow/standards
More information about bypassflow/standards
Files in bypassflow/standards
Vendor bypassflow
Package standards
Short Description 共有コーディング規約、php-cs-fixer custom fixer、関連文書を提供する standards package。
License MIT
Homepage https://ickx.jp
Package standards
Short Description 共有コーディング規約、php-cs-fixer custom fixer、関連文書を提供する standards package。
License MIT
Homepage https://ickx.jp
Please rate this library. Is it a good library?
Informations about the package standards
bypassflow/standards
bypassflow/standards は、bypassflow の PHP コーディング規約を実装で支える package です。
php-cs-fixer 向け custom fixer と、改行スタイルを機械検査する checker を提供します。
概要
- custom fixer:
Bypassflow/leading_continuation_indent - checker:
tools/php/check-line-break-style.php - 対象スタイル: 行頭継続演算子、method chain、ternary の改行インデント
Requirements
- PHP 8.5+
friendsofphp/php-cs-fixer3.68+
Installation
Quick Start
LeadingContinuationIndentFixer は、行頭継続演算子、method chain、ternary の改行インデントを workspace 規約へ揃えます。
まず .php-cs-fixer.dist.php で fixer を有効化します。
適用後の形は次のようになります。
if とメソッドチェーンを組み合わせた例:
改行スタイル checker は次で実行できます。
主要 API
bypassflow\Standards\PhpCsFixer\CustomFixer\LeadingContinuationIndentFixertools/php/check-line-break-style.php
functions/helper
- package から公開している関数 helper はありません
補助文書
- 詳細な利用例と CI への組み込み:
USAGE.md
All versions of standards with dependencies
PHP Build Version
Package Version
The package bypassflow/standards contains the following files
Loading the files please wait ...