-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Laravel 6.18 onward support #4
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checked with a local project and files got generated properly
composer.json
Outdated
@@ -3,11 +3,11 @@ | |||
"description": "Package to fast generate Resources in Larapi distribution. Very small, very simple but works.", | |||
"require": { | |||
"php": "^7.0", | |||
"laravel/framework": "~5.6" | |||
"laravel/framework": "~6.18" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Support for Laravel 6.18.
composer.json
Outdated
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "~6.0", | ||
"mockery/mockery": "0.9.*" | ||
"phpunit/phpunit": "~8.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated phpunit version required for laravel 6
"phpunit/phpunit": "~6.0", | ||
"mockery/mockery": "0.9.*" | ||
"phpunit/phpunit": "~8.0", | ||
"mockery/mockery": "1.3.*" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated mockery to meet phpUnit 8 needs
@@ -49,7 +49,7 @@ class DummyClass | |||
{ | |||
$dummyname = $this->dummynameRepository->create($data); | |||
|
|||
$this->dispatcher->fire(new DummyModelWasCreated($dummyname)); | |||
$this->dispatcher->dispatch(new DummyModelWasCreated($dummyname)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since laravel 5 fire has been deprecated in favor of dispatch, so updating it so generated services remains working properly
No description provided.