Skip to content

Commit bf26556

Browse files
committed
Added phpunit/phpunit ^5 to composer as a dev package.
1 parent 221a794 commit bf26556

File tree

2 files changed

+1408
-4
lines changed

2 files changed

+1408
-4
lines changed

composer.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"phpcompatibility/phpcompatibility-wp": "^2"
1313
},
1414
"require-dev": {
15-
"wp-coding-standards/wpcs": "^1"
15+
"wp-coding-standards/wpcs": "^1",
16+
"phpunit/phpunit": "^5"
1617
},
1718
"scripts": {
1819
"post-update-cmd": [
@@ -22,6 +23,7 @@
2223
"cd php52; composer install; cd .."
2324
],
2425
"phpcs": "phpcs --standard=src/ruleset-wordpress.xml wpengine-phpcompat.php load-files.php src/*.php",
25-
"phpcs:fix": "phpcbf --standard=src/ruleset-wordpress.xml wpengine-phpcompat.php load-files.php src/*.php"
26+
"phpcs:fix": "phpcbf --standard=src/ruleset-wordpress.xml wpengine-phpcompat.php load-files.php src/*.php",
27+
"test": "phpunit"
2628
}
2729
}

0 commit comments

Comments
 (0)