2017 © Pedro Peláez
 

library coding-standard

Apnet PHP coding standard

image

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

The README.md

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)

The Versions

12/07 2016

dev-master

9999999-dev

Apnet PHP coding standard

  Sources   Download

MIT

The Requires

 

The Development Requires

12/07 2016

3.0.0

3.0.0.0

Apnet PHP coding standard

  Sources   Download

MIT

The Requires

 

The Development Requires

18/04 2015

2.0.1

2.0.1.0

Apnet PHP coding standard

  Sources   Download

MIT

The Requires

 

The Development Requires

18/04 2015

2.0.0

2.0.0.0

Apnet PHP coding standard

  Sources   Download

MIT

The Requires

 

The Development Requires

18/04 2015

1.5.6

1.5.6.0

Apnet PHP coding standard

  Sources   Download

MIT

The Requires

 

The Development Requires

28/04 2014

1.5.0

1.5.0.0

Apnet PHP coding standard

  Sources   Download

MIT

The Requires

 

The Development Requires

27/11 2013

1.0.0

1.0.0.0

Apnet PHP coding standard

  Sources   Download

MIT

The Requires

 

The Development Requires