Sign inSign up

grachev/php-cs-fixer

By grachev

•Updated over 9 years ago

# PHP Coding Standards Fixer

Image
0

498

grachev/php-cs-fixer repository overview

⁠PHP Coding Standards Fixer

The PHP Coding Standards Fixer tool fixes most issues in your code when you want to follow the PHP coding standards as defined in the PSR-1 and PSR-2 documents. https://github.com/FriendsOfPHP/PHP-CS-Fixer⁠

⁠Usage

$ docker run --rm -v `pwd`:`pwd` -w `pwd` grachev/php-cs-fixer fix --rules=@Symfony ./src

⁠phpstorm external-tool setting

Program: docker

Parameters: run --rm -v $ProjectFileDir$:$ProjectFileDir$ -w $ProjectFileDir$ grachev/php-cs-fixer fix --rules=@Symfony $FileRelativePath$

Working directory: $ProjectFileDir$

Tag summary

Content type

Image

Digest

Size

35.4 MB

Last updated

over 9 years ago

docker pull grachev/php-cs-fixer