Skip to content

Commit f3d353c

Browse files
authored
Fix PHPCS errors in Behat test files (#45)
1 parent b5f0484 commit f3d353c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎features/maintenance-mode.feature‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Feature: Manage maintenance mode of WordPress install.
6868
Given a setup.php file:
6969
"""
7070
<?php
71-
file_put_contents('.maintenance', '<?php $upgrading=(time()-601);');
71+
file_put_contents( '.maintenance', '<?php $upgrading=(time()-601);' );
7272
"""
7373
When I run `wp eval-file setup.php`
7474
And I try `wp maintenance-mode is-active`
@@ -83,7 +83,7 @@ Feature: Manage maintenance mode of WordPress install.
8383
Given a setup_num.php file:
8484
"""
8585
<?php
86-
file_put_contents('.maintenance', '<?php $upgrading=' . ( time() + 100 ) . ';');
86+
file_put_contents( '.maintenance', '<?php $upgrading=' . ( time() + 100 ) . ';' );
8787
"""
8888
When I run `wp eval-file setup_num.php`
8989
And I run `wp maintenance-mode is-active`
@@ -92,7 +92,7 @@ Feature: Manage maintenance mode of WordPress install.
9292
Given a setup_num_space.php file:
9393
"""
9494
<?php
95-
file_put_contents('.maintenance', '<?php $upgrading =' . ( time() + 100 ) . ';') ;
95+
file_put_contents( '.maintenance', '<?php $upgrading =' . ( time() + 100 ) . ';' );
9696
"""
9797
When I run `wp eval-file setup_num_space.php`
9898
And I run `wp maintenance-mode is-active`
@@ -101,7 +101,7 @@ Feature: Manage maintenance mode of WordPress install.
101101
Given a setup_num_space2.php file:
102102
"""
103103
<?php
104-
file_put_contents('.maintenance', '<?php $upgrading= ' . ( time() + 100 ) . ';');
104+
file_put_contents( '.maintenance', '<?php $upgrading= ' . ( time() + 100 ) . ';' );
105105
"""
106106
When I run `wp eval-file setup_num_space2.php`
107107
And I run `wp maintenance-mode is-active`

0 commit comments

Comments
 (0)