Software Details:
Version: 1.9 updated
Upload Date: 20 Jul 15
Distribution Type: Freeware
Downloads: 68
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 desired standard.
Preset configs are provided for default PHP projects, Magento, and Symfony (2.x).
Fixes:
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
Opening and closing braces
Else if statements
Control spaces
Aligns phpDoc tags
What is new in this release:
- New feature:
- Added UnalignEqualsFixer
- Added UnalignDoubleArrowFixer
- Bugs:
- ToolInfo - Fix way to find script dir
- composer.json - Update description
- Create Tokens::overrideAt method
What is new in version 1.8:
- New feature:
- Added UnalignEqualsFixer
- Added UnalignDoubleArrowFixer
- Bugs:
- ToolInfo - Fix way to find script dir
- composer.json - Update description
- Create Tokens::overrideAt method
Requirements:
- PHP 5.3.6 or higher
Comments not found