Skip to content
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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

pablo-bossi
Copy link

No description provided.

Copy link
Author

@pablo-bossi pablo-bossi left a 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"
Copy link
Author

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",
Copy link
Author

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.*"
Copy link
Author

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));
Copy link
Author

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

@pablo-bossi pablo-bossi marked this pull request as ready for review May 22, 2020 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant