Skip to content

Commit ba9deef

Browse files
Jon WaldsteinJon Waldstein
authored andcommitted
refactor: clean up and separate out providers
1 parent 834edfa commit ba9deef

35 files changed

+1065
-809
lines changed

build.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
'GiveAddon' => trim($namespace),
6868
'\\Domain' => trim("\\$domain"),
6969
'src/Domain' => trim("src/$domain"),
70+
'Domain' => trim("$domain"),
7071
'ADDON_DOMAIN' => trim($domain),
7172
'ADDON_NAME' => trim($name),
7273
'ADDON_CONSTANT' => trim($constant),

composer.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,13 @@
33
"description": "ADDON_DESCRIPTION",
44
"type": "wordpress-plugin",
55
"license": "GPL-2.0-or-later",
6-
"require": {},
76
"require-dev": {
8-
"phpunit/phpunit": "^5",
9-
"yoast/phpunit-polyfills": "^1.1.0",
107
"squizlabs/php_codesniffer": "^3.5",
118
"phpcompatibility/phpcompatibility-wp": "^2.1",
129
"wp-coding-standards/wpcs": "^2.3",
1310
"phpcompatibility/php-compatibility": "^9.3",
14-
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0"
11+
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
12+
"yoast/phpunit-polyfills": "^4.0"
1513
},
1614
"scripts": {
1715
"test": "./vendor/bin/phpunit --colors --stop-on-failure",
@@ -36,7 +34,7 @@
3634
},
3735
"config": {
3836
"platform": {
39-
"php": "7.2"
37+
"php": "7.4.0"
4038
},
4139
"allow-plugins": {
4240
"dealerdirect/phpcodesniffer-composer-installer": true

0 commit comments

Comments
 (0)