-
-
Save olragon/9e684f270a4cc5e8f79e62ad05ac9ece to your computer and use it in GitHub Desktop.
Phan with Drupal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Find all PHP files and save to phan_files.txt | |
find ./ -type f -name "*.module" \ | |
-o -name "*.php" \ | |
-o -name "*.inc" \ | |
-o -name "*.engine" \ | |
-o -name "*.install" \ | |
-o -name "*.test" \ | |
-o -name "*.theme" \ | |
> phan_files.txt | |
# Run phan | |
/usr/local/bin/phan -f phan_files.txt \ | |
--exclude-directory-list sites/all/libraries,sites/default/files \ | |
--progress-bar \ | |
--output phan_out.html \ | |
-m text \ | |
-j 8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment