diff --git a/.travis.yml b/.travis.yml
index 060ab967bb0..e4b206f61aa 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -19,17 +19,11 @@ php:
env:
- WP_VERSION=latest WP_MULTISITE=0
-# Additional tests against stable PHP (min recommended version is 5.6) and past supported versions of WP
+# Additional tests against stable PHP (min version is 5.6)
# and code coverage report.
matrix:
fast_finish: true
include:
- - php: 5.3
- dist: precise
- env: WP_VERSION=5.1.1 WP_MULTISITE=0 RUN_PHPCS=0
- - php: 5.2
- dist: precise
- env: WP_VERSION=5.1.1 WP_MULTISITE=0 RUN_PHPCS=0
- name: "Coding standard check"
php: 7.2
env: WP_VERSION=latest WP_MULTISITE=0 RUN_PHPCS=1
@@ -61,19 +55,14 @@ before_script:
echo "xdebug.ini does not exist"
fi
- |
- # Install WP Test suite, install PHPUnit globally if needed:
+ # Install WP Test suite, install PHPUnit globally:
if [[ ! -z "$WP_VERSION" ]]; then
bash tests/bin/install.sh woocommerce_test root '' localhost $WP_VERSION
- # PHP 5.2 does not have composer, do not try to run it.
- if [[ ${TRAVIS_PHP_VERSION:0:3} != "5.2" ]]; then
- composer global require "phpunit/phpunit=4.8.*|6.5.*"
- fi
+ composer global require "phpunit/phpunit=4.8.*|6.5.*"
fi
- |
- # Install wpcs globally if needed:
- if [[ ${RUN_PHPCS} == 1 ]] && [[ ${TRAVIS_PHP_VERSION:0:3} != "5.2" ]]; then
- composer require woocommerce/woocommerce-sniffs
- fi
+ # Install wpcs globally:
+ composer require woocommerce/woocommerce-sniffs
script:
- bash tests/bin/phpunit.sh
diff --git a/phpcs.xml b/phpcs.xml
index 18262bba637..c0fbbb1f0b1 100644
--- a/phpcs.xml
+++ b/phpcs.xml
@@ -16,7 +16,7 @@
-
+
diff --git a/readme.txt b/readme.txt
index 9e6856390ac..a1e3f56466f 100644
--- a/readme.txt
+++ b/readme.txt
@@ -3,6 +3,7 @@ Contributors: automattic, mikejolley, jameskoster, claudiosanches, claudiulodro,
Tags: ecommerce, e-commerce, store, sales, sell, shop, cart, checkout, downloadable, downloads, payments, paypal, storefront, stripe, woo commerce, woo
Requires at least: 4.7
Tested up to: 5.2
+Requires PHP: 5.6
Stable tag: 3.6.0
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html