@@ -163,12 +163,12 @@ _healthcheck_wait ()
163163
164164 # Check xdebug was enabled
165165 run make exec -e CMD=' php -m'
166- echo " $output " | grep -e " ^xdebug$"
166+ echo " $output " | grep -E " ^xdebug$"
167167 unset output
168168
169169 # Check xdebug was enabled
170170 run make exec -e CMD=' php -m'
171- echo " $output " | grep -e " ^xhprof$"
171+ echo " $output " | grep -E " ^xhprof$"
172172 unset output
173173
174174 # Check PHP CLI overrides
@@ -488,12 +488,12 @@ _healthcheck_wait ()
488488 run docker exec -u docker " $NAME " bash -lc " phpcs -i | sed 's/,//g'"
489489 # The trailing space below allows comparing all values the same way: " <value> " (needed for the last value to match).
490490 output=" ${output} "
491- [[ " ${ output} " =~ " Drupal " ]]
492- [[ " ${ output} " =~ " DrupalPractice " ]]
493- [[ " ${ output} " =~ " WordPress " ]] # Includes WordPress-Core, WordPress-Docs and WordPress-Extra
494- [[ " ${ output} " =~ " PHPCompatibility " ]]
495- [[ " ${ output} " =~ " PHPCompatibilityWP " ]]
496- [[ " ${ output} " =~ " PHPCompatibilityParagonieRandomCompat " ]]
491+ echo " $output " | grep " Drupal "
492+ echo " $output " | grep " DrupalPractice "
493+ echo " $output " | grep " WordPress " # Includes WordPress-Core, WordPress-Docs and WordPress-Extra
494+ echo " $output " | grep " PHPCompatibility "
495+ echo " $output " | grep " PHPCompatibilityWP "
496+ echo " $output " | grep " PHPCompatibilityParagonieRandomCompat "
497497 unset output
498498
499499 # ## Cleanup ###
0 commit comments