idiosyncratic / coding-standard
The Idiosyncratic Coding Standard.
Package info
github.com/idiosyncratic-code/coding-standard
Type:phpcodesniffer-standard
pkg:composer/idiosyncratic/coding-standard
3.2.1
2026-01-14 04:54 UTC
Requires
- php: ^8.4
- dealerdirect/phpcodesniffer-composer-installer: ^1.0.0
- doctrine/coding-standard: ^14.0
- slevomat/coding-standard: ^8.26
- squizlabs/php_codesniffer: ^4.0
README
This is the coding standard used for all Idiosyncratic Projects, based on the Doctrine Coding Standard. Changes to the Doctrine Coding Standard are:
- Private properties that are intended to be public read-only (using a magic
__get()method, for instance) should be marked as@public-read-only. - Equals signs do not need to be aligned in assignments (Generic.Formatting.MultipleStatementAlignment.NotSame)