Skip to content

Commit 404b65c

Browse files
committed
composer - remove betterbuttons as a requirement
closes #140 added `"SheaDawson\\Blocks\\Test\\": "tests/“` to the psr-4 autoload
1 parent ba6e826 commit 404b65c

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ matrix:
2525
env: DB=PGSQL
2626
- php: 7.0
2727
env: COVERAGE=1
28-
- php: 5.6
2928
allow_failures:
3029
- php: 7.0
3130
env: DB=SQLITE

composer.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,11 @@
1818
"composer/installers": "*",
1919
"silverstripe/framework": "^4.0",
2020
"silverstripe/cms": "^4.0",
21-
"symbiote/silverstripe-gridfieldextensions": "3.0.x-dev",
22-
"symbiote/silverstripe-multivaluefield": "4.x-dev",
23-
"unclecheese/betterbuttons": "2.x-dev"
21+
"symbiote/silverstripe-gridfieldextensions": "^3.0",
22+
"symbiote/silverstripe-multivaluefield": "^4.0"
23+
},
24+
"require-dev": {
25+
"phpunit/PHPUnit": "^5.7"
2426
},
2527
"suggest": {
2628
"unisolutions/silverstripe-copybutton": "Duplicate Blocks in Block Admin",
@@ -36,7 +38,8 @@
3638
},
3739
"autoload": {
3840
"psr-4": {
39-
"SheaDawson\\Blocks\\": "src/"
41+
"SheaDawson\\Blocks\\": "src/",
42+
"SheaDawson\\Blocks\\Test\\": "tests/"
4043
}
4144
}
4245
}

0 commit comments

Comments
 (0)