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

Drop support for Laravel 5.5 #971

Closed
wants to merge 1 commit into from
Closed

Conversation

mfn
Copy link
Collaborator

@mfn mfn commented Jun 24, 2020

For consideration.

See #958 (comment)

@@ -31,7 +31,7 @@ Require this package with composer using the following command:
composer require --dev barryvdh/laravel-ide-helper
```

If you are using Laravel versions older than 5.5, add the service provider to the `providers` array in `config/app.php`:
If you want to manually load the service provider, add the following class to the `providers` array in `config/app.php`:
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Decide to keep this, can be useful for those not wanting to use the auto discover feature

@mr-feek
Copy link
Contributor

mr-feek commented Jun 24, 2020

I for one would be saddened by this change, but I am very biased as I have many enterprise apps on 5.5 for various reasons.

Could we consider dropping the composer.json version constraints from this diff as the package does currently work fine with 5.5? It seems to me like this is a workaround for another composer issue. At the end of the day, I do understand that there needs to be a line drawn for supported versions.

I understand I’m most likely in the minority. I wonder if we can find some sort of stats around what versions of Laravel are currently using this package to help inform.

@barryvdh
Copy link
Owner

I'm also not a big fan of dropping support just because tests don't run. But 5.5 is security releases only, and that ends in 2 months. So I would assume most LTS users will be upgrading to 6.0 soon.

Keeping 5.5 installable and not test it, could be an option, but we can't guarantee it works then.

@barryvdh
Copy link
Owner

I'm gonna hold off on this for now, as the tests are fixed.

@barryvdh barryvdh closed this Jun 24, 2020
@mfn mfn deleted the mfn-drop-L5.5 branch June 24, 2020 09:56
@mfn
Copy link
Collaborator Author

mfn commented Jun 25, 2020

@barryvdh we might have already dropped L5.5 support in certain cases 😬

In #868 the minimum PHP version was bumped to 7.2, but Laravel 5.5 is >= 7.0 => https://github.com/laravel/framework/blob/a36b3a0206f772eda47dea47b6683ecb2ce7db00/composer.json#L18

So if PHP 7.0/7.1 are used with L5.5, ide-helper might not be able to be installed (or work: as we don't run CI against older PHP versions).

Nothing immediately actionable, just wanted to point it out 🤷‍♀️

@barryvdh
Copy link
Owner

Yeah but PHP 7.1 is also not supported. 7.2 + L5.5 is.

@mfn mfn mentioned this pull request Jun 28, 2020
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.

3 participants