-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Move test file to autoload-dev to fix composer update #397
Conversation
…blem on master branch
Meanwhile waiting for PR to be accepted. Here's a workaround by adding "repositories" and changing zizaco/entrust to use
|
Move test file to autoload-dev to fix composer update. Thanks @tuwannu
Hi, I am not sure I've understood everything here! But I've added the repositories array as well as the require middlewaretest-fix (to my composer.json) and done composer update, composer dump-autoloader but the problem persists! :/ |
This pull request has already been merged. There is no need to put a workaround on this. Simply require
in your composer.json, without any additional changes I mentioned in this pull request, should work fine. |
Ok let's see I am still getting the same error "ReflectionException in Container.php line 737: { composer updatephp artisan clear-compiled
Writing lock file RouteRoute::get('/admin/rabatt', ['uses' => 'AdminRabattCtrl@index', 'middleware' => ['role:admin|root']]); |
Your composer.json file looks alright. From the error message, it should not be trying to find |
Aliases providers
|
I actually solved the problem and for future reference there needs to be a \ before the Zizaco i.e protected $routeMiddleware = [ Rather than protected $routeMiddleware = [ That's just basic namespacing but if anyone else find themselves in this position it's probably because you just copy pasted the code from the git page like myself :) |
@Profeten +1 |
1 similar comment
@Profeten +1 |
Fix for #391, #394, #396