Skip to content

Commit

Permalink
Use WP_MULTISITE=1 environment var instead of separate config
Browse files Browse the repository at this point in the history
Co-authored-by: Lovekesh Kumar <lovekesh.kumar@rtcamp.com>
  • Loading branch information
westonruter and thelovekesh authored Jul 5, 2024
1 parent 936bcb3 commit 7dbe3ad
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ plugins/optimization-detective/detection/web-vitals*
############
phpcs.xml
phpunit.xml
phpunit-multisite.xml
phpstan.neon

############
Expand Down
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@
"phpstan": "phpstan analyse --memory-limit=2048M",
"test": "phpunit",
"test-multisite": [
"php bin/generate-multisite-phpunit.php",
"@test -c phpunit-multisite.xml"
"WP_MULTISITE=1 phpunit --exclude-group=ms-excluded"
],
"test-multisite:plugins": [
"@test-multisite:auto-sizes",
Expand Down
1 change: 0 additions & 1 deletion tools/phpcs/phpcs.ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@
<rule ref="WordPress.NamingConventions.ValidVariableName">
<properties>
<property name="allowed_custom_properties" type="array">
<element value="documentElement"/>
<element value="nodeValue"/>
<element value="parentNode"/>
<element value="createTextNode"/>
Expand Down

0 comments on commit 7dbe3ad

Please sign in to comment.