Skip to content

Commit 22fd782

Browse files
Ability to use whitelist for testing code style, based on const defined in phpunit xml config file
1 parent cb93fe5 commit 22fd782

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

dev/tests/static/phpunit-all.xml.dist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,7 @@
2020
</testsuites>
2121
<php>
2222
<ini name="date.timezone" value="America/Los_Angeles"/>
23+
<!-- TESTCODESTYLE_IS_FULL_SCAN - specify if full scan should be performed for test code style test -->
24+
<const name="TESTCODESTYLE_IS_FULL_SCAN" value="1"/>
2325
</php>
2426
</phpunit>

dev/tests/static/phpunit.xml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
</testsuites>
3131
<php>
3232
<ini name="date.timezone" value="America/Los_Angeles"/>
33+
<!-- TESTCODESTYLE_IS_FULL_SCAN - specify if full scan should be performed for test code style test -->
3334
<const name="TESTCODESTYLE_IS_FULL_SCAN" value="1"/>
3435
<!-- TESTS_COMPOSER_PATH - specify the path to composer binary, if a relative reference cannot be resolved -->
3536
<!--<const name="TESTS_COMPOSER_PATH" value="/usr/local/bin/composer"/>-->

0 commit comments

Comments
 (0)