Skip to content

Commit cf4ea9b

Browse files
committed
bump version checks
1 parent 33dce4e commit cf4ea9b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

includes/Activator.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414

1515
class Activator {
1616
// minimum requirements
17-
public const WC_MIN_VERSION = '2.3.7';
18-
public const PHP_MIN_VERSION = '5.6';
17+
public const WC_MIN_VERSION = '5.3';
18+
public const PHP_MIN_VERSION = '7.0';
19+
1920

20-
2121
public function __construct() {
2222
register_activation_hook( PLUGIN_FILE, array( $this, 'activate' ) );
2323
add_action( 'wpmu_new_blog', array( $this, 'activate_new_site' ) );

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"cli": "wp-env run cli",
1616
"wp": "wp-env run cli wp",
1717
"pretest": "wp-env start --xdebug=coverage && wp-env run composer 'install --no-interaction'",
18-
"lint:php": "composer run lint | cs2pr",
18+
"lint:php": "composer run lint-report | cs2pr",
1919
"lint": "run-s lint:*",
2020
"test:unit:php": "wp-env run phpunit 'phpunit -c /var/www/html/wp-content/plugins/woocommerce-pos/.phpunit.xml.dist --verbose'",
2121
"test:unit": "run-s test:unit:*",

0 commit comments

Comments
 (0)