Sign inSign up

unibeautify/phpcbf

By unibeautify

Updated over 6 years ago

PHP_CodeSniffer formatter.

Image
0

2.7K

unibeautify/phpcbf repository overview

Docker Beautifiers Build Status

Docker images for code beautifiers/formatters.

Docker Images

See list of beautifier Docker images at https://hub.docker.com/u/unibeautify/

Installation

Docker is required.

Using Whalebrew
  1. Install Whalebrew
  2. whalebrew install unibeautify/BEAUTIFIER
    e.g. whalebrew install unibeautify/php-cs-fixer
  3. Profit! You can now run the installed beautifier command.
    e.g. php-cs-fixer --version
Manually
  1. Pull the Docker image: docker pull unibeautify/BEAUTIFIER
    e.g. docker pull unibeautify/php-cs-fixer
  2. Run the Docker image: docker run -it -v "$(pwd)":/workdir -w /workdir unibeautify/BEAUTIFIER "--version"
    e.g. docker run -it -v "$(pwd)":/workdir -w /workdir unibeautify/php-cs-fixer "--version"

Note: Some tools could change file ownership/permissions upon reformat and/or rewriting. Adding --user "$(id -u):$(id -g)" to your docker run command should prevent this.

Tag summary

Content type

Image

Digest

Size

30.7 MB

Last updated

over 6 years ago

docker pull unibeautify/phpcbf