Skip to content

jacquesndl/docker-phpstan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

PHPStan docker image

User

We are recommend to use the images as an shell alias to access via short-command. To use simply phpstan everywhere on CLI add this line to your ~/.zshrc, ~/.bashrc or ~/.profile.

alias phpstan='docker run --tty --rm --volume $PWD:/app jacquesndl/phpstan $*'

If you don't have set the alias, use this command to run the container:

docker run --tty --rm --volume /path/to/project:/app jacquesndl/phpstan [some arguments for PHPStan]

For example:

docker run --tty --rm --volume /path/to/project:/app jacquesndl/phpstan analyse .

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published