Skip to content

Commit

Permalink
Find app files in the app dir, not src (#424)
Browse files Browse the repository at this point in the history
Follow up to #402
  • Loading branch information
spaze authored Oct 30, 2024
2 parents 495eafa + fd09cd7 commit e3cb0e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/bin/check-file-patterns.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

echo "Wrong file patterns:"

APP_FILES=$(find app/ -regex ".*\.phpt?$")
APP_FILES=$(find src/ -regex ".*\.phpt?$")
BAD_APP_FILES=$(echo "$APP_FILES" | grep --invert-match "\.php$")
TEST_FILES=$(find tests/ -mindepth 2 -regex ".*\.phpt?$")
BAD_TEST_FILES=$(echo "$TEST_FILES" | grep --invert-match "Test.phpt")
Expand Down

0 comments on commit e3cb0e5

Please sign in to comment.