-
Notifications
You must be signed in to change notification settings - Fork 151
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
Support for laravel 5.8 #124
base: master
Are you sure you want to change the base?
Conversation
The fire method (which was deprecated in Laravel 5.4) of the Illuminate/Events/Dispatcher class has been removed. You should use the dispatch method instead.
@hootlex However, if you are not using Homestead, you will need to make sure your server meets the following requirements:
Travis CI only test by php 7.0.25, so it failed. |
@moecasts are you planning to finish this PR? |
add php 7.2 env
@hootlex I have try my best to make it work with laravel 5.8. It works in php 7.2 now. |
Am I right in thinking that the only reason this is failing is because the tests are also being run against PHP 5.6 and 7? So, if this plugin needs to work in the lastest versions of Laravel, then surely the PHP version needs to be upped? |
@GreenImp The pr only replace Event::fire to |
So it's the addition of I realise that you're not the project owner here, I'm just voicing my thoughts. Maybe @hootlex can say whether this is something to do or not. |
@GreenImp If you wanna run on Laravel >= 5.4, you only need to replace |
@hootlex @moecasts PHP 5.6 and 7.0 support should be dropped (only changing the yaml file should be fine ?). Starting Laravel 5.6, the minimum PHP version required was 7.1.3. I also think the laravel version in the composer.json file should be explicitly defined. Only having |
When will this be merged? |
The fire method (which was deprecated in Laravel 5.4) of the Illuminate/Events/Dispatcher class has been removed. You should use the dispatch method instead.