PHPackages                             bypassflow/standards - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. bypassflow/standards

ActiveLibrary[PSR &amp; Standards](/categories/psr-standards)

bypassflow/standards
====================

共有コーディング規約、php-cs-fixer custom fixer、関連文書を提供する standards package。

v0.0.0(2mo ago)00MITPHPPHP &gt;=8.5.0CI passing

Since Apr 10Pushed 2mo agoCompare

[ Source](https://github.com/bypassflow/standards)[ Packagist](https://packagist.org/packages/bypassflow/standards)[ Docs](https://ickx.jp)[ RSS](/packages/bypassflow-standards/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

bypassflow/standards
====================

[](#bypassflowstandards)

`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
------------

[](#requirements)

- PHP 8.5+
- `friendsofphp/php-cs-fixer` 3.68+

Installation
------------

[](#installation)

```
composer require --dev bypassflow/standards
```

Quick Start
-----------

[](#quick-start)

`LeadingContinuationIndentFixer` は、行頭継続演算子、method chain、ternary の改行インデントを workspace 規約へ揃えます。 まず `.php-cs-fixer.dist.php` で fixer を有効化します。

```
