Skip to content

Commit

Permalink
Fixes phpcs formatting issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
hellofromtonya committed Aug 10, 2022
1 parent 3049cca commit cda782b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
22 changes: 11 additions & 11 deletions phpunit/blocks/render-last-posts-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public static function wpTearDownAfterClass() {
public function set_up() {
parent::set_up();

$this->original_block_supports = WP_Block_Supports::$block_to_render;
$this->original_block_supports = WP_Block_Supports::$block_to_render;
WP_Block_Supports::$block_to_render = array(
'attrs' => array(),
'blockName' => '',
Expand All @@ -75,11 +75,11 @@ public function test_render_block_core_latest_posts() {
$action = new MockAction();
add_filter( 'update_post_metadata_cache', array( $action, 'filter' ), 10, 2 );
$attributes = array(
'displayFeaturedImage' => true,
'postsToShow' => 5,
'orderBy' => 'date',
'order' => 'DESC',
'excerptLength' => 0,
'displayFeaturedImage' => true,
'postsToShow' => 5,
'orderBy' => 'date',
'order' => 'DESC',
'excerptLength' => 0,
'featuredImageSizeSlug' => '',
'addLinkToFeaturedImage' => false,
);
Expand All @@ -97,11 +97,11 @@ public function test_render_block_core_latest_posts_no_priming() {
$action = new MockAction();
add_filter( 'update_post_metadata_cache', array( $action, 'filter' ), 10, 2 );
$attributes = array(
'displayFeaturedImage' => false,
'postsToShow' => 5,
'orderBy' => 'date',
'order' => 'DESC',
'excerptLength' => 0,
'displayFeaturedImage' => false,
'postsToShow' => 5,
'orderBy' => 'date',
'order' => 'DESC',
'excerptLength' => 0,
'featuredImageSizeSlug' => '',
'addLinkToFeaturedImage' => false,
);
Expand Down
2 changes: 1 addition & 1 deletion phpunit/class-block-library-navigation-link-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public static function wpTearDownAfterClass() {
public function set_up() {
parent::set_up();

$this->original_block_supports = WP_Block_Supports::$block_to_render;
$this->original_block_supports = WP_Block_Supports::$block_to_render;
WP_Block_Supports::$block_to_render = array(
'attrs' => array(),
'blockName' => '',
Expand Down
2 changes: 1 addition & 1 deletion phpunit/class-wp-theme-json-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@ function test_set_spacing_sizes( $spacing_scale, $expected_output ) {
*/
function data_generate_spacing_scale_fixtures() {
return array(
'one_step_spacing_scale' => array(
'one_step_spacing_scale' => array(
'spacingScale' => array(
'operator' => '+',
'increment' => 1.5,
Expand Down

0 comments on commit cda782b

Please sign in to comment.