From 065c809a6ad3fd7779b78f29b377a1de249bb2d0 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Mon, 11 Feb 2019 19:46:28 +0100 Subject: [PATCH] Build/Travis/Composer: various tweaks ### Travis: * Add testing against PHP 7.4-develop. * As PHP 7.3 has now been released, remove testing against PHP 7.2. * Move the running of the sniffs to the PHP 7.3 build. ### Composer: * Use WPCS 2.0+ * Use DealerDirect PHPCS installer 0.5+ --- .travis.yml | 6 +++--- composer.json | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5d4dad61..a1fc9796 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,11 +33,11 @@ matrix: - php: '5.6' # aliased to a recent 7.0.x version - php: '7.0' - env: SNIFF=1 - # aliased to a recent 7.2.x version - - php: '7.2' # aliased to a recent 7.3.x version - php: '7.3' + env: SNIFF=1 + # 7.4.x/develop version + - php: "7.4snapshot" before_script: # Speed up build time by disabling Xdebug when its not needed. diff --git a/composer.json b/composer.json index 542ff0c9..e26bdb47 100644 --- a/composer.json +++ b/composer.json @@ -29,9 +29,9 @@ "php": ">=5.2" }, "require-dev": { - "dealerdirect/phpcodesniffer-composer-installer": "^0.4.3", + "dealerdirect/phpcodesniffer-composer-installer": "^0.5.0", "phpcompatibility/phpcompatibility-wp": "^2.0", - "wp-coding-standards/wpcs": "^1.0" + "wp-coding-standards/wpcs": "^2.0" }, "autoload": { "files": ["class-tgm-plugin-activation.php"]