diff --git a/.github/workflows/php-sniffer-ci.yml b/.github/workflows/php-sniffer-ci.yml index c4d45d9..46cd350 100644 --- a/.github/workflows/php-sniffer-ci.yml +++ b/.github/workflows/php-sniffer-ci.yml @@ -17,7 +17,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '5.6' + php-version: '7.2' coverage: none tools: composer, cs2pr @@ -41,4 +41,4 @@ jobs: run: composer install --prefer-dist --no-suggest --no-progress --no-interaction - name: Detect coding standard violations (PHPCS) - run: vendor/bin/phpcs -q --report=checkstyle --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 | cs2pr --graceful-warnings \ No newline at end of file + run: vendor/bin/phpcs -q --report=checkstyle --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 | cs2pr --graceful-warnings diff --git a/.travis.yml b/.travis.yml index 6b0f74f..f253323 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,12 +20,12 @@ matrix: env: WP_VERSION=latest WP_MULTISITE=1 - php: 7.2 env: WP_VERSION=latest WP_MULTISITE=1 - - php: 5.6 + - php: 8.0 env: WP_VERSION=latest WP_MULTISITE=1 PHPLINT=1 dist: precise - php: 7.2 env: WP_VERSION=4.9 WP_MULTISITE=1 - - php: 5.6 + - php: 8.0 env: WP_VERSION=4.9 WP_MULTISITE=1 dist: precise - php: nightly diff --git a/composer.json b/composer.json index 47a5ef8..dc8a5e8 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ "source": "https://github.com/stuttter/wp-multi-network" }, "require": { - "php": ">=5.2", + "php": ">=7.2", "composer/installers": "^1.0 || ^2.0" }, "require-dev": { diff --git a/phpcs.xml.dist b/phpcs.xml.dist index af023e8..00157ab 100644 --- a/phpcs.xml.dist +++ b/phpcs.xml.dist @@ -34,7 +34,7 @@ - + . diff --git a/wpmn-loader.php b/wpmn-loader.php index fedfc39..fd45e57 100644 --- a/wpmn-loader.php +++ b/wpmn-loader.php @@ -16,7 +16,7 @@ * Text Domain: wp-multi-network * Network: true * Requires at least: 4.9 - * Requires PHP: 5.2 + * Requires PHP: 7.2 * Tested up to: 6.1 * Version: 2.5.2 */