Skip to content

Add Laravel 6.18 onward support#4

Open
pablo-bossi wants to merge 3 commits intoVersoo:masterfrom
moovaio:laravel-6
Open

Add Laravel 6.18 onward support#4
pablo-bossi wants to merge 3 commits intoVersoo:masterfrom
moovaio:laravel-6

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
"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

$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.

1 participant