Skip to content

Commit 309fdb3

Browse files
feat: added phpunit + phpcodecoverage support
1 parent 924e4d6 commit 309fdb3

File tree

3 files changed

+1870
-7
lines changed

3 files changed

+1870
-7
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/db
22
/themes
33
/plugins
4+
/wp-core
45
/vendor

composer.json

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,26 @@
11
{
22
"name": "docker-wordpress/wordpress",
3-
"description": "Docker WordPress Dev Environment, supports WP-CLI, phpMyAdmin, Xdebug",
4-
"homepage": "https://github.com/sarahcssiqueira/docker-wordpress-with-wp-cli",
5-
"license": "MIT",
6-
"keywords": [
7-
"wordpress",
8-
"docker-environment"
9-
],
3+
"description": "Docker WordPress Dev Environment, supports WP-CLI, phpMyAdmin, Xdebug, PHPCS",
4+
"homepage": "https://github.com/sarahcssiqueira/docker-wordpress",
105
"authors": [
116
{
127
"name": "sarahcssiqueira",
138
"email": "[email protected]",
149
"homepage": "https://sarahjobs.com/"
1510
}
1611
],
12+
"license": "MIT",
13+
"keywords": [
14+
"wordpress",
15+
"docker-environment"
16+
],
1717
"type": "project",
1818
"require": {
1919
"php": ">=7.1.3"
2020
},
2121
"require-dev": {
22+
"phpunit/phpunit": "^9.6",
23+
"phpunit/php-code-coverage": "^9.2",
2224
"squizlabs/php_codesniffer": "^3.7",
2325
"wp-coding-standards/wpcs": "^2.3"
2426
}

0 commit comments

Comments
 (0)