Skip to content

Instantly share code, notes, and snippets.

@freddymu
Forked from james2doyle/phplint-folder.sh
Created July 14, 2021 06:30
Show Gist options
  • Select an option

  • Save freddymu/b7cc373e5e6056285be6f761521cce9a to your computer and use it in GitHub Desktop.

Select an option

Save freddymu/b7cc373e5e6056285be6f761521cce9a to your computer and use it in GitHub Desktop.
Use PHP lint on a folder of PHP files
#!/usr/bin/env bash
find my/folder/ -name "*.php" -print0 | xargs -0 -n1 -P8 php -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment