mirror of
https://ghproxy.net/https://github.com/TGMPA/TGM-Plugin-Activation.git
synced 2025-10-04 01:03:17 +08:00
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+
This commit is contained in:
parent
46d80fbb2c
commit
065c809a6a
2 changed files with 5 additions and 5 deletions
|
@ -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.
|
||||
|
|
|
@ -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"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue