-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
Why drop php 7.2 support? #105
Comments
Hey there, I dropped 7.2 because newer releases are meant for current stable (7.3). Besides that, previous releases work just as fine 👍 PHPStan pins to That means that your |
I'd check those builds: you are likely running |
I don't understand why the composer update uses version 1.5.1 instead of the locked version. |
@MarkVaughn if you run |
I see the dev environment is 7.3 but the Docker images and Travis ci are 7.2 |
You should tun |
@MarkVaughn I tripped into the same problem, but not with a dev dependency:
Using a platform in your composer helps to prevent that problem in the future:
A composer update will perform a downgrade with that:
|
@Ocramius Would you please consider releasing a new major if you make backwards compatibility breaking changes in the future? 🙂 |
A bump in dependencies is not a BC break if the API signature and behavior of the library does not change due to those dependency upgrades. |
If nothing changed why bump dependencies when 7.2 is still active supported? |
I bump to latest release of all dependencies whenever I can |
@Ocramius don't get me wrong, your repo your rules! |
Correct: they will have to upgrade dependencies. Besides that, 1.4.x works just fine |
Just to add some feedback: This has bitten me also. PackageVersions is a second (or third or fourth?) level dependency which I don't control. We use Semaphore CI for testing before deployment, and Semaphore only supports up to PHP version 7.2.9 at this moment. I've spent several hours already trying to see about manually having the build install the latest PHP in Semaphore, to no avail... so our CICD pipeline is now out of commission at the moment until we find a solution. As others have noted, really appreciate your work in the community. This is just feedback & another data point. Thanks! |
If your CI is testing an environment that isn't production, your CI is indeed to be replaced. CI runs must be much closer to production runs, and it is a good thing that this package highlighted the issue in your CI setup. To clarify for further readers (because I'm locking the thread): Run
|
This patch bumps the minimum supported PHP version to 7.2 and adds parameter typehints to ContainerInterface, as the first step towards adding explicit typehints based on the specification. See https://www.php-fig.org/blog/2019/10/upgrading-psr-interfaces/
Why did you drop php 7.2 support?
https://www.php.net/supported-versions.php 7.2 is still actively supported. This package is a dependency from phpstan and is breaking a lot of builds.
The text was updated successfully, but these errors were encountered: