Skip to content

nicodocker91/phplint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker image for PHP Lint (php -l command)

Usage

To launch the PHP Lint into the container, run:

docker run --rm --user $(id -u):$(id -g) --volume $(pwd):/data/www nicodocker91/phplint --lint ${ROOT_FOLDER}

Volumes

The only volume available to mount is /data.

The entrypoint is /data/www.

Options

Run the following command to read all options available:

docker run --rm nicodocker91/phplint --help