Skip to content

Commit 96f873b

Browse files
author
Matthias Endler
committed
Use find command to detect source files
1 parent 8596859 commit 96f873b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# This is a handy trick to get a list of all php files in the current directory.
44
# From http://www.lornajane.net/posts/2015/generating-a-file-list-for-phan
5-
grep -i -R -l "<?php" /code > filelist.txt
5+
find /code/src -name '*.php' > filelist.txt
66

77
# Analyze the files with phan
88
phan -f filelist.txt

0 commit comments

Comments
 (0)