From 04339715b0f4c4ab5fbc208a1ea79384b152f965 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Tue, 1 Sep 2026 12:35:31 +0200 Subject: [PATCH] Fix PHPCS errors in Behat test files --- features/install-wp-tests.feature | 32 +++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/features/install-wp-tests.feature b/features/install-wp-tests.feature index 1fc93199..d77ad606 100644 --- a/features/install-wp-tests.feature +++ b/features/install-wp-tests.feature @@ -31,16 +31,16 @@ Feature: Scaffold install-wp-tests.sh tests """ = 50600) { + if ( PHP_VERSION_ID >= 50600 ) { $version = 5; } - if(PHP_VERSION_ID >= 70000) { + if ( PHP_VERSION_ID >= 70000 ) { $version = 6; } - if(PHP_VERSION_ID >= 70100) { + if ( PHP_VERSION_ID >= 70100 ) { $version = 7; } - if(PHP_VERSION_ID >= 80000) { + if ( PHP_VERSION_ID >= 80000 ) { $version = 9; } echo "https://phar.phpunit.de/phpunit-{$version}.phar"; @@ -149,16 +149,16 @@ Feature: Scaffold install-wp-tests.sh tests """ = 50600) { + if ( PHP_VERSION_ID >= 50600 ) { $version = 5; } - if(PHP_VERSION_ID >= 70000) { + if ( PHP_VERSION_ID >= 70000 ) { $version = 6; } - if(PHP_VERSION_ID >= 70100) { + if ( PHP_VERSION_ID >= 70100 ) { $version = 7; } - if(PHP_VERSION_ID >= 80000) { + if ( PHP_VERSION_ID >= 80000 ) { $version = 9; } echo "https://phar.phpunit.de/phpunit-{$version}.phar"; @@ -279,16 +279,16 @@ Feature: Scaffold install-wp-tests.sh tests """ = 50600) { + if ( PHP_VERSION_ID >= 50600 ) { $version = 5; } - if(PHP_VERSION_ID >= 70000) { + if ( PHP_VERSION_ID >= 70000 ) { $version = 6; } - if(PHP_VERSION_ID >= 70100) { + if ( PHP_VERSION_ID >= 70100 ) { $version = 7; } - if(PHP_VERSION_ID >= 80000) { + if ( PHP_VERSION_ID >= 80000 ) { $version = 9; } echo "https://phar.phpunit.de/phpunit-{$version}.phar"; @@ -389,16 +389,16 @@ Feature: Scaffold install-wp-tests.sh tests """ = 50600) { + if ( PHP_VERSION_ID >= 50600 ) { $version = 5; } - if(PHP_VERSION_ID >= 70000) { + if ( PHP_VERSION_ID >= 70000 ) { $version = 6; } - if(PHP_VERSION_ID >= 70100) { + if ( PHP_VERSION_ID >= 70100 ) { $version = 7; } - if(PHP_VERSION_ID >= 80000) { + if ( PHP_VERSION_ID >= 80000 ) { $version = 9; } echo "https://phar.phpunit.de/phpunit-{$version}.phar";