Download the PHP package phoneburner/coding-standard without Composer
On this page you can find all versions of the php package phoneburner/coding-standard. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download phoneburner/coding-standard
More information about phoneburner/coding-standard
Files in phoneburner/coding-standard
Download phoneburner/coding-standard
More information about phoneburner/coding-standard
Files in phoneburner/coding-standard
Vendor phoneburner
Package coding-standard
Short Description PhoneBurner PHP Coding Standards
License MIT
Package coding-standard
Short Description PhoneBurner PHP Coding Standards
License MIT
Please rate this library. Is it a good library?
Informations about the package coding-standard
PhoneBurner Coding Standard
Custom PHP_CodeSniffer rules for PhoneBurner projects based on the PER Coding Style 2.0 standard, and using customized rules from the Slevomat Coding Standard project.
Installation and Contributing
This is a dockerized project, with a Makefile
to help with common tasks. To get
started, clone the repository and run the following command to install the dependencies:
Standards:
- Variables should be in
snake_case
unless they are shadowing parameters defined in function or method from a third-party library. This caveat is intended to prevent problems with named parameters, and vendor compatibility.) - Methods and functions, except for class
__construct
and__destruct
methods, MUST have a defined return type. - Anonymous and arrow functions MUST have a defined parameter and return types.
- Parameters MUST have defined types, unless they are extending/implementing a third-party library method or function that does not allow it.
- Class properties MUST have defined types.
- Enum cases must be in PascalCase, unless they are less than 4 characters long, and do not conflict with class constants.
All versions of coding-standard with dependencies
PHP Build Version
Package Version
Requires
php Version
~8.3.0 || ~8.4.0 || ~8.5.0
dealerdirect/phpcodesniffer-composer-installer Version ^1.0
slevomat/coding-standard Version ^8.16
squizlabs/php_codesniffer Version ^3.10
dealerdirect/phpcodesniffer-composer-installer Version ^1.0
slevomat/coding-standard Version ^8.16
squizlabs/php_codesniffer Version ^3.10
The package phoneburner/coding-standard contains the following files
Loading the files please wait ....