Skip to content

Instantly share code, notes, and snippets.

@wgcvc
Created March 8, 2024 08:46
Show Gist options
  • Save wgcvc/f7ad949b39195529b2d20a8ad144a14b to your computer and use it in GitHub Desktop.
Save wgcvc/f7ad949b39195529b2d20a8ad144a14b to your computer and use it in GitHub Desktop.
PHP Linter using PHP 8.2 CLI Alpine based Docker image
docker run -it --rm --name php-8.2-cli-alpine \
  -v "$PWD":/usr/src/app -w /usr/src/app php:8.2-cli-alpine \
  php -l admin/cronjobs/daemon.prise.product.price.calculated.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment