Add PHPCompatibility

This commit is contained in:
Justin Foell
2021-03-26 10:53:20 -05:00
parent e251fa5a81
commit 1626abfcde
3 changed files with 141 additions and 8 deletions
+6 -1
View File
@@ -10,6 +10,11 @@
"require-dev": {
"wp-coding-standards/wpcs": "^2",
"phpunit/phpunit": "^8",
"10up/wp_mock": "^0.4"
"10up/wp_mock": "^0.4",
"phpcompatibility/php-compatibility": "^9.3",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.1"
},
"scripts": {
"lint:php": "@php ./vendor/bin/phpcs -s"
}
}