Skip to content

Commit 352206c

Browse files
committed
Use testing-helpers v2
1 parent c43e4ff commit 352206c

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

composer.json

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,8 @@
2323
"php": "^5.5||^7"
2424
},
2525
"require-dev": {
26-
"view-components/testing-helpers":"^1.10",
27-
"illuminate/database": "*",
28-
"squizlabs/php_codesniffer": "~2.3"
26+
"view-components/testing-helpers":"^2.0.1",
27+
"illuminate/database": "*"
2928
},
3029
"autoload": {
3130
"psr-4": {
@@ -40,7 +39,13 @@
4039
},
4140
"scripts": {
4241
"post-create-project-cmd": [
43-
"ViewComponents\\TestingHelpers\\Installer\\Installer::postComposerInstall"
42+
"ViewComponents\\TestingHelpers\\Installer\\Installer::runFromComposer"
43+
],
44+
"post-update-cmd": [
45+
"ViewComponents\\TestingHelpers\\Installer\\Installer::runFromComposer"
46+
],
47+
"post-install-cmd": [
48+
"ViewComponents\\TestingHelpers\\Installer\\Installer::runFromComposer"
4449
],
4550
"test": "php vendor/phpunit/phpunit/phpunit",
4651
"cs": "php vendor/squizlabs/php_codesniffer/scripts/phpcs --standard=psr2 src/"

0 commit comments

Comments
 (0)