Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Make PHP lint errors on purpose to test changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kmanijak committed Aug 1, 2023
1 parent f4d8baa commit 26b2cb5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Migration.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function run_migrations() {

// This check is necessary because the version was not being set in the database until 10.3.0.
// We can remove this check in the next months.
if ( ! empty( get_option( 'wc_blocks_db_schema_version', '' ) ) ) {
if (! empty( get_option( 'wc_blocks_db_schema_version', '' ) ) ) {

Check failure on line 34 in src/Migration.php

View workflow job for this annotation

GitHub Actions / PHP coding standards

No space after opening parenthesis is prohibited

Check failure on line 34 in src/Migration.php

View workflow job for this annotation

GitHub Actions / PHP coding standards

Expected 1 space before "!"; 0 found
$this->wc_blocks_update_1030_blockified_product_grid_block();
}

Expand Down
4 changes: 2 additions & 2 deletions src/Templates/SingleProductTemplateCompatibility.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,9 +225,9 @@ protected function set_hook_data() {
'hooked' => array(),
),
'woocommerce_product_meta_start' => array(
'block_name' => 'woocommerce/product-meta',
'block_name' => 'woocommerce/product-meta',

Check warning on line 228 in src/Templates/SingleProductTemplateCompatibility.php

View workflow job for this annotation

GitHub Actions / PHP coding standards

Array double arrow not aligned correctly; expected 1 space(s) between "'block_name'" and double arrow, but found 2.
'position' => 'before',
'hooked' => array(),
'hooked' => array(),

Check warning on line 230 in src/Templates/SingleProductTemplateCompatibility.php

View workflow job for this annotation

GitHub Actions / PHP coding standards

Array double arrow not aligned correctly; expected 5 space(s) between "'hooked'" and double arrow, but found 6.
),
'woocommerce_product_meta_end' => array(
'block_name' => 'woocommerce/product-meta',
Expand Down

0 comments on commit 26b2cb5

Please sign in to comment.