library coding-standard
Apnet PHP coding standard
apnet/coding-standard
Apnet PHP coding standard
- Tuesday, July 12, 2016
- by covex-nn
- Repository
- 3 Watchers
- 1 Stars
- 1,951 Installations
- PHP
- 10 Dependents
- 1 Suggesters
- 1 Forks
- 0 Open issues
- 7 Versions
- 0 % Grown
Apnet PHP PSR-2 coding standard
Installation
Add requirements to composer.json:, (*1)
json
{
"require-dev" : {
"apnet/coding-standard" : "~3.0"
}
}
, (*2)
Sniffs
- PSR2
- PEAR.Commenting.InlineComment
- PEAR.ControlStructures.MultiLineCondition
- PEAR.WhiteSpace.ObjectOperatorIndent
- Symfony2.Classes.MultipleClassesOneFile
- Symfony2.Commenting.ClassComment
- Symfony2.Commenting.FunctionComment - with {@inheritdoc} support
- Apnet.NamingConvensions.ValidVariableName - require camelCase property names
- Squiz.Functions.MultiLineFunctionDeclaration
Getting PHP_CodeSniffer report
Run phpcs --standard=vendor/apnet/coding-standard/src/Apnet src
to analize code inside src
directory, (*3)
dev-master
9999999-dev
Apnet PHP coding standard
Sources
Download
MIT
The Requires
The Development Requires
3.0.0
3.0.0.0
Apnet PHP coding standard
Sources
Download
MIT
The Requires
The Development Requires
2.0.1
2.0.1.0
Apnet PHP coding standard
Sources
Download
MIT
The Requires
The Development Requires
2.0.0
2.0.0.0
Apnet PHP coding standard
Sources
Download
MIT
The Requires
The Development Requires
1.5.6
1.5.6.0
Apnet PHP coding standard
Sources
Download
MIT
The Requires
The Development Requires
1.5.0
1.5.0.0
Apnet PHP coding standard
Sources
Download
MIT
The Requires
The Development Requires
1.0.0
1.0.0.0
Apnet PHP coding standard
Sources
Download
MIT
The Requires
The Development Requires