zalexki / php-cs-fixer-action

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This action allows you to run php cs fixer on a project that may not be compatible with it (php version/composer deps ... or other problems).

This action will use your .php_cs.dist file at the root of your project.
Default command is '--dry-run --diff --using-cache=no --diff-format udiff'

You can replace this with the other-cmds param :

      - name: php-cs-fixer default
        uses: zalexki/php-cs-fixer-action@master
        with:
            other-cmds: '--dry-run --diff --config=/another/config/file'

TODO:

  • Add directory param
  • Fix default cs config
  • Support other php cs fixer versions

About


Languages

Language:Dockerfile 49.0%Language:Smarty 36.5%Language:Shell 14.4%