-
Notifications
You must be signed in to change notification settings - Fork 458
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
Laravel 6 #324
base: master
Are you sure you want to change the base?
Laravel 6 #324
Conversation
@etrepat Any plan for merging this and adding support for Laravel 6.x? |
@@ -352,7 +352,11 @@ protected function fireMoveEvent($event, $halt = true) { | |||
// but we relay the event into the node instance. | |||
$event = "eloquent.{$event}: ".get_class($this->node); | |||
|
|||
$method = $halt ? 'until' : 'fire'; | |||
if (version_compare(app()->version(), '5.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.
You can compare against 5.4, this method was deprecated there.
But personally I would not check against it. I would make v2.0 require Laravel >=5.4
@mkwsra @eduardokum Version 2 already supports Laravel 6 (has some breaking changes), hope to see Laravel 7 support |
No description provided.