PHP Coding Standards Fixer

Edit Package php-cs-fixer
https://cs.symfony.com/

The PHP Coding Standards Fixer (PHP CS Fixer) tool fixes your code to follow standards; whether you want to follow PHP coding standards as defined in the PSR-1, PSR-2, etc., or other community driven ones like the Symfony one. You can also define your (teams) style through configuration.
It can modernize your code (like converting the pow function to the ** operator on PHP 5.6) and (micro) optimize it.
If you are already using a linter to identify coding standards problems in your code, you know that fixing them by hand is tedious, especially on large projects. This tool does not only detect them, but also fixes them for you.

Refresh
Refresh
Source Files
Filename Size Changed
LICENSE 0000001107 1.08 KB
README.rst 0000073234 71.5 KB
php-cs-fixer.changes 0000002907 2.84 KB
php-cs-fixer.keyring 0000003870 3.78 KB
php-cs-fixer.phar 0001714408 1.63 MB
php-cs-fixer.phar.asc 0000000566 566 Bytes
php-cs-fixer.spec 0000002292 2.24 KB
Revision 7 (latest revision is 14)
Dirk Stoecker's avatar Dirk Stoecker (dstoecker) accepted request 707675 from Arjen de Korte's avatar Arjen de Korte (adkorte) (revision 7)
- Update to release 2.14.4
  * bug #4418 PhpUnitNamespacedFixer - properly translate classes which
    do not follow translation pattern (ktomk)
  * bug #4419 PhpUnitTestCaseStaticMethodCallsFixer - skip anonymous
    classes and lambda (SpacePossum)
  * bug #4420 MethodArgumentSpaceFixer - PHP7.3 trailing commas in
    function calls (SpacePossum)
Comments 0
openSUSE Build Service is sponsored by