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

Fix config/app.php linendings #558

Closed
wants to merge 1 commit into from
Closed

Fix config/app.php linendings #558

wants to merge 1 commit into from

Conversation

rolandstarke
Copy link

@rolandstarke rolandstarke commented Feb 12, 2019

If you checkout a new laravel project on windows your config/app.php might end up with linux lineendings.

If you then run php artisan telescope:install this string can't be found in the config: "{$namespace}\\Providers\EventServiceProvider::class,".PHP_EOL. And so the TelescopeServiceProvider is not added to it.

This caused #178, #271, #500 and probably some more issues like "darkmode not working", when the underlying problem was that the TelescopeServiceProvider wasn't registered.

If you checkout a new laravel project in windows your `config/app.php` might end up with linux lineendings.

If you then run `php artisan telescope:install` this string can't be found in the config `{$namespace}\\Providers\EventServiceProvider::class,".PHP_EOL`. And so the `TelescopeServiceProvider` is not added to it.



This bug caused #178, #271, #500 and probably some more like drarkmode not working, when the underlying problem was that the TelescopeServiceProvider wasn't registered.
@taylorotwell
Copy link
Member

This may be a better candidate for 1.0 branch if it is a bug fix?

@rolandstarke rolandstarke changed the base branch from master to 1.0 February 13, 2019 16:01
@rolandstarke
Copy link
Author

rolandstarke commented Feb 13, 2019

Yes, sry i changed the branch.

@rolandstarke rolandstarke deleted the patch-1 branch February 26, 2019 08:32
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.

2 participants