2017 © Pedro Peláez
 

library php_codesniffer-rules

Library of modified PSR rules for PHP_CodeSniffer

image

jakubzapletal/php_codesniffer-rules

Library of modified PSR rules for PHP_CodeSniffer

  • Wednesday, April 1, 2015
  • by jakubzapletal
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2,703 Installations
  • 3 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

PHP_CodeSniffer rules

Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

This is a simple library of modified PSR rules for PHP_CodeSniffer., (*2)

Installation

Composer

If you don't have Composer install it:, (*3)

$ curl -s https://getcomposer.org/installer | php

Add jakubzapletal/php_codesniffer-rules to composer.json:, (*4)

$ composer require --dev jakubzapletal/php_codesniffer-rules ~0.1

Usage

PSR2 without camel case method name

Sometimes it is a coding convention to write method names with an underscore in test classes. In this case you can still keep checking PSR-2 standard thanks to ruleset below., (*5)

$ vendor/bin/phpcs --standard=vendor/jakubzapletal/php_codesniffer-rules/psr2-without-camel-case-method-name.xml </PATH/TO/TESTED/FOLDER>

The Versions

01/04 2015

dev-master

9999999-dev

Library of modified PSR rules for PHP_CodeSniffer

  Sources   Download

MIT

The Requires

 

01/04 2015

0.1.0

0.1.0.0

Library of modified PSR rules for PHP_CodeSniffer

  Sources   Download

MIT

The Requires