2017 © Pedro Peláez
 

library coding-standard

image

galek/coding-standard

  • Friday, July 20, 2018
  • by GcoreCZ
  • Repository
  • 1 Watchers
  • 0 Stars
  • 35 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 16 Versions
  • 0 % Grown

The README.md

Forked

I forked from nette/coding-standard, (*1)

Check & Fix Your Code with Nette Coding Standard

Downloads this Month Build Status Latest Stable Version License, (*2)

This is set of sniff and fixers combined under EasyCodingStandard that checks and fixes your PHP code against Coding Standard in Documentation., (*3)

What Rules are Covered?

This package covers part of official rules, not all., (*4)

When you open /examples directory, all files you'll see are checked by this coding standard. The code might look invalid compared to Nette code you know, but it's only because this tool doesn't check it (yet)., (*5)

All general rules you can find in coding-standard-php56.yml file., (*6)

Install and Use

Local Setup

Installation into global folder named coding-standard:, (*7)

composer create-project galek/coding-standard

Check coding standard:, (*8)

coding-standard/ecs check src tests --config coding-standard/coding-standard-php56.yml

And fix it:, (*9)

coding-standard/ecs check src tests --config coding-standard/coding-standard-php56.yml --fix

Travis Setup

# .travis.yml
install:
    - composer create-project galek/coding-standard temp/coding-standard

script:
    - temp/coding-standard/ecs check src tests --config temp/coding-standard/coding-standard-php56.yml

The Versions

20/07 2018
09/03 2018

v0.8.2

0.8.2.0

  Sources   Download

MIT

The Requires

 

The Development Requires

11/02 2018

v0.8.1

0.8.1.0

  Sources   Download

MIT

The Requires

 

The Development Requires

05/02 2018

v0.8.0

0.8.0.0

  Sources   Download

MIT

The Requires

 

The Development Requires

02/01 2018

dev-single-empty-line-between-class-elements

dev-single-empty-line-between-class-elements

  Sources   Download

MIT

The Requires

 

The Development Requires

26/09 2017

v0.7.0

0.7.0.0

  Sources   Download

MIT

The Requires

 

20/09 2017

v0.6.1

0.6.1.0

  Sources   Download

MIT

The Requires

 

20/09 2017

v0.6.0

0.6.0.0

  Sources   Download

MIT

The Requires

 

02/08 2017

v0.5.0

0.5.0.0

  Sources   Download

MIT

The Requires

 

28/07 2017

v0.4.0

0.4.0.0

  Sources   Download

MIT

The Requires

 

06/07 2017