Skip to content

Commit

Permalink
[Tools] Enable PHPCS for populate_visit_windows.php (aces#6793)
Browse files Browse the repository at this point in the history
Co-authored-by: John Saigle <[email protected]>

Replaces aces#5995
  • Loading branch information
laemtl committed Jul 16, 2020
1 parent db354b3 commit 64e7ba6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/run-php-linter.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env bash
set -euo pipefail


# Run PHP -l on everything to ensure there's no syntax
# errors.
find docs modules htdocs php src tools \
Expand Down Expand Up @@ -44,6 +43,12 @@ declare -a tools_list=(
'populate_visit_windows.php'
)

# And on all PHP files in this array
declare -a test_list=(
'integrationtests/LorisIntegrationTest.class.inc'
'integrationtests/LorisIntegrationTestWithCandidate.class.inc'
)

vendor/bin/phpcs --standard=test/LorisCS.xml --extensions=php,inc \
php/ \
htdocs/ \
Expand Down

0 comments on commit 64e7ba6

Please sign in to comment.