Skip to content

Conversation

@tpawelecpl
Copy link
Contributor

@tpawelecpl tpawelecpl commented Jul 8, 2022

Card: https://podpoint.atlassian.net/browse/SWP-5141

In order to use this package after upgrading Partner Portal to L5.6, we need to change the semver rule for illuminate/support package, so it's supported up to L5.8.

"require": {
"php": ">=5.5.9",
"illuminate/support": "5.1.*|5.2.*|5.3.*|5.4.*|5.5.*"
"php": ">=7.1",

Choose a reason for hiding this comment

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

As this is public can we make this change removing 5.5.9 support?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I was not aware that it is public. But anyway, I think PHP 5.x is so ancient that if anyone wants to still use the package with such PHP version, will have to stay with 1.0 version. I'll create a new 2.0 tag, so if they have proper semver constraint, they won't be automatically upgraded. Anyway L5.5 requires PHP 7.x, so we have to change PHP constraint here.

Choose a reason for hiding this comment

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

Sure that is fine

"php": ">=5.5.9",
"illuminate/support": "5.1.*|5.2.*|5.3.*|5.4.*|5.5.*"
"php": ">=7.1",
"illuminate/support": "^5.1"

Choose a reason for hiding this comment

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

Not sure if we also want to do v6/7/8/9 while we are here?

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'd rather do it step by step. I don't want to say it's gonna work with 9.x if won't be tested with this version. Right now we are upgrading Laravel to 5.8, so intentionally prevented it to be installed with 6.x and above.

@tpawelecpl tpawelecpl merged commit 90f586a into Pod-Point:master Jul 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants