Download the PHP package genealabs/php-coding-standards without Composer
On this page you can find all versions of the php package genealabs/php-coding-standards. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package php-coding-standards
GeneaLabs PHP Coding Standards
Custom PHPCS sniffs that support all our coding standards.
Installation
There are several ways to install this ruleset:
-
Add the following to your composer.json scripts section:
- Or add the following to your phpcs.xml file:
Custom Rules
Type Hinting
- Method Parameter Type Hints
- Method Return Type Hints
Whitespace
- Empty Lines Acound Control Structures
- Empyt Line Before Returns
- No Mutliple Consecutive Empty Lines
Adopted Rules
- PSR1
- PSR2
- PSR12
- except: PSR12.Classes.ClassInstantiation.MissingParentheses, as we want to new up classes without parenthesis.
- Internal.NoCodeFound
- Zend.Files.ClosingTag
- Zend.NamingConventions
- except: Zend.NamingConventions.ValidVariableName.PrivateNoUnderscore, as we want all variables and properties to be in camelCase.
All versions of php-coding-standards with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.0
slevomat/coding-standard Version ^7.0
squizlabs/php_codesniffer Version ^3.5
slevomat/coding-standard Version ^7.0
squizlabs/php_codesniffer Version ^3.5
The package genealabs/php-coding-standards contains the following files
Loading the files please wait ....