21 April, 2013

PHP Coding Standards Fixer 0.2.0 / 0.3-DEV


Developer:

Website:

License / Price:

Platforms:

Databases:

Language:

Last Updated:

Category:
Fabien Potencier | More scripts
cs.sensiolabs.org
MIT License 

Windows / Linux / Mac OS / BSD / Solaris
N/A
PHP
April 21st, 2013, 11:50 GMT
C: \ Programming Methods and Algorithms

It works by analyzing a piece of PHP code and comparing it to the PSR-1 and PSR-2 coding standards.

Based on the got results, it then tries to fix the code to comply as much as possible to the standard.

Preset configs are provided for default PHP projects, Magento and Symfony (2.x).

Here are some key features of "PHP Coding Standards Fixer":

Fixers:
· Indentation
· Empty lines
· Trailing spaces
· Proper line endings
· Proper end of file endings
· Declaring visibility
· Removes unused statements
· Adds new lines where needed
· Short tag proper usage
· Aligns phpdoc tags
· Opening and closing braces
· Else if statements
· Control spaces

Requirements:

· PHP 5.3.3 or higher


Download button
Via: PHP Coding Standards Fixer 0.2.0 / 0.3-DEV

0 Comment: