Skip to content

Commit

Permalink
Build/Travis/Composer: various tweaks
Browse files Browse the repository at this point in the history
### 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+
  • Loading branch information
jrfnl committed Feb 11, 2019
1 parent 46d80fb commit 065c809
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 065c809

Please sign in to comment.