From 6a22b07026d24288f6965aaba3b945b7f0645ea6 Mon Sep 17 00:00:00 2001 From: David Stone Date: Tue, 24 Mar 2026 23:51:28 -0600 Subject: [PATCH] fix: SC2086 quote $BEHAT_TAGS in mu-migration/bin/test.sh Double-quote $BEHAT_TAGS on line 14 to prevent globbing and word splitting (ShellCheck SC2086). No functional change. Closes #443 --- inc/site-exporter/mu-migration/bin/test.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/inc/site-exporter/mu-migration/bin/test.sh b/inc/site-exporter/mu-migration/bin/test.sh index 65198feb1..7c2603b4d 100644 --- a/inc/site-exporter/mu-migration/bin/test.sh +++ b/inc/site-exporter/mu-migration/bin/test.sh @@ -3,12 +3,11 @@ set -ex # Run the unit tests, if they exist -if [ -f "phpunit.xml" ] || [ -f "phpunit.xml.dist" ] -then +if [ -f "phpunit.xml" ] || [ -f "phpunit.xml.dist" ]; then phpunit fi # Run the functional tests BEHAT_TAGS=$(php utils/behat-tags.php) -vendor/bin/behat --format progress $BEHAT_TAGS --strict +vendor/bin/behat --format progress "$BEHAT_TAGS" --strict