Skip to content

Commit

Permalink
Use PHPStan 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
n7studios committed Dec 5, 2024
1 parent c74acce commit ab46055
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
"codeception/util-universalframework": "^1.0",
"php-webdriver/webdriver": "^1.0",
"wp-coding-standards/wpcs": "^3.0.0",
"phpstan/phpstan": "^1.7",
"szepeviktor/phpstan-wordpress": "^1.0",
"wp-cli/wp-cli-bundle": "2.9.0"
"phpstan/phpstan": "^1.0 || ^2.0",
"szepeviktor/phpstan-wordpress": "^1.0 || ^2.0",
"wp-cli/wp-cli-bundle": "2.11"
},
"minimum-stability": "dev",
"prefer-stable": true,
Expand Down
3 changes: 0 additions & 3 deletions includes/class-ckwc-integration.php
Original file line number Diff line number Diff line change
Expand Up @@ -276,9 +276,6 @@ private function maybe_import_configuration() {
global $wp_filesystem;

// Bail if no configuration file was supplied.
if ( ! is_array( $_FILES ) ) {
return;
}
if ( ! array_key_exists( 'woocommerce_ckwc_import', $_FILES ) ) {
return;
}
Expand Down

0 comments on commit ab46055

Please sign in to comment.