2017 © Pedro Peláez
 

library fuelphp-phpcs

PHP Code Sniffer standard for Fuel PHP with dedicated CLI

image

eviweb/fuelphp-phpcs

PHP Code Sniffer standard for Fuel PHP with dedicated CLI

  • Friday, November 18, 2016
  • by eviweb
  • Repository
  • 4 Watchers
  • 27 Stars
  • 19,217 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 9 Forks
  • 0 Open issues
  • 5 Versions
  • 10 % Grown

The README.md

PHP_CodeSniffer Fuel PHP Standard

PHP Code Sniffer rules that cover a large part of the [Fuel PHP coding standards] (http://docs.fuelphp.com/general/coding_standards.html "Fuel PHP Coding Standards")., (*1)

Build Status, (*2)

How to install

The composer way (since v1.0.4)

run composer require --dev eviweb/fuelphp-phpcs:~1 in your fuelphp project.
It will automatically install PHP CodeSniffer using composer., (*3)

The old way

Install (Linux Only)

  1. clone the project git clone https://github.com/eviweb/fuelphp-phpcs.git
  2. change directory to ./fuelphp-phpcs cd fuelphp-phpcs
  3. run installer with root privileges sudo ./install.sh

Uninstall (Linux Only)

  1. change directory to ./fuelphp-phpcs cd fuelphp-phpcs
  2. run uninstaller with root privileges sudo ./uninstall.sh

How to use

Using the fuelphpcs command (since v1.0.4)

Assuming FuelPHPCS was installed inside ./fuel/vendor using composer and the bin-dir is ./fuel/vendor/bin.
Run ./fuel/vendor/bin/fuelphpcs PROJECT_TO_SNIFF_DIRECTORY where PROJECT_TO_SNIFF_DIRECTORY is your fuel php project directory., (*4)

The old way

run phpcs --standard=FuelPHP PROJECT_TO_SNIFF_DIRECTORY where PROJECT_TO_SNIFF_DIRECTORY is your fuel php project directory., (*5)

BE AWARE not to use --tab-width phpcs option with another value than 0, this would disable tabs recognition !, (*6)

Requirements

Please note that this package works with PHP Code Sniffer version 2.9.x., (*7)

The Versions

18/11 2016

dev-master

9999999-dev

PHP Code Sniffer standard for Fuel PHP with dedicated CLI

  Sources   Download

MIT

The Requires

 

The Development Requires

18/11 2016

v1.0.7

1.0.7.0

PHP Code Sniffer standard for Fuel PHP with dedicated CLI

  Sources   Download

MIT

The Requires

 

The Development Requires

04/11 2015

v1.0.6

1.0.6.0

PHP Code Sniffer standard for Fuel PHP with dedicated CLI

  Sources   Download

MIT

The Requires

 

The Development Requires

20/08 2015

v1.0.5

1.0.5.0

PHP Code Sniffer standard for Fuel PHP with dedicated CLI

  Sources   Download

MIT

The Requires

 

The Development Requires

10/06 2015

v1.0.4

1.0.4.0

PHP Code Sniffer standard for Fuel PHP with dedicated CLI

  Sources   Download

MIT

The Requires

 

The Development Requires