Skip to content

Commit 8ad932f

Browse files
authored
Fix PHPCS errors in Behat test files (#393)
1 parent 5a311b7 commit 8ad932f

1 file changed

Lines changed: 16 additions & 16 deletions

File tree

‎features/install-wp-tests.feature‎

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,16 @@ Feature: Scaffold install-wp-tests.sh tests
3131
"""
3232
<?php
3333
$version = 4;
34-
if(PHP_VERSION_ID >= 50600) {
34+
if ( PHP_VERSION_ID >= 50600 ) {
3535
$version = 5;
3636
}
37-
if(PHP_VERSION_ID >= 70000) {
37+
if ( PHP_VERSION_ID >= 70000 ) {
3838
$version = 6;
3939
}
40-
if(PHP_VERSION_ID >= 70100) {
40+
if ( PHP_VERSION_ID >= 70100 ) {
4141
$version = 7;
4242
}
43-
if(PHP_VERSION_ID >= 80000) {
43+
if ( PHP_VERSION_ID >= 80000 ) {
4444
$version = 9;
4545
}
4646
echo "https://phar.phpunit.de/phpunit-{$version}.phar";
@@ -149,16 +149,16 @@ Feature: Scaffold install-wp-tests.sh tests
149149
"""
150150
<?php
151151
$version = 4;
152-
if(PHP_VERSION_ID >= 50600) {
152+
if ( PHP_VERSION_ID >= 50600 ) {
153153
$version = 5;
154154
}
155-
if(PHP_VERSION_ID >= 70000) {
155+
if ( PHP_VERSION_ID >= 70000 ) {
156156
$version = 6;
157157
}
158-
if(PHP_VERSION_ID >= 70100) {
158+
if ( PHP_VERSION_ID >= 70100 ) {
159159
$version = 7;
160160
}
161-
if(PHP_VERSION_ID >= 80000) {
161+
if ( PHP_VERSION_ID >= 80000 ) {
162162
$version = 9;
163163
}
164164
echo "https://phar.phpunit.de/phpunit-{$version}.phar";
@@ -279,16 +279,16 @@ Feature: Scaffold install-wp-tests.sh tests
279279
"""
280280
<?php
281281
$version = 4;
282-
if(PHP_VERSION_ID >= 50600) {
282+
if ( PHP_VERSION_ID >= 50600 ) {
283283
$version = 5;
284284
}
285-
if(PHP_VERSION_ID >= 70000) {
285+
if ( PHP_VERSION_ID >= 70000 ) {
286286
$version = 6;
287287
}
288-
if(PHP_VERSION_ID >= 70100) {
288+
if ( PHP_VERSION_ID >= 70100 ) {
289289
$version = 7;
290290
}
291-
if(PHP_VERSION_ID >= 80000) {
291+
if ( PHP_VERSION_ID >= 80000 ) {
292292
$version = 9;
293293
}
294294
echo "https://phar.phpunit.de/phpunit-{$version}.phar";
@@ -389,16 +389,16 @@ Feature: Scaffold install-wp-tests.sh tests
389389
"""
390390
<?php
391391
$version = 4;
392-
if(PHP_VERSION_ID >= 50600) {
392+
if ( PHP_VERSION_ID >= 50600 ) {
393393
$version = 5;
394394
}
395-
if(PHP_VERSION_ID >= 70000) {
395+
if ( PHP_VERSION_ID >= 70000 ) {
396396
$version = 6;
397397
}
398-
if(PHP_VERSION_ID >= 70100) {
398+
if ( PHP_VERSION_ID >= 70100 ) {
399399
$version = 7;
400400
}
401-
if(PHP_VERSION_ID >= 80000) {
401+
if ( PHP_VERSION_ID >= 80000 ) {
402402
$version = 9;
403403
}
404404
echo "https://phar.phpunit.de/phpunit-{$version}.phar";

0 commit comments

Comments
 (0)