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

Remove php 7.2 #593

Closed
codedge opened this issue Apr 29, 2021 · 9 comments · Fixed by #667
Closed

Remove php 7.2 #593

codedge opened this issue Apr 29, 2021 · 9 comments · Fixed by #667

Comments

@codedge
Copy link
Contributor

codedge commented Apr 29, 2021

As php 7.2 is EOL and reading through issue #465 I wanted to give a ping to remove 7.2. IMHO 7.3 could also be removed as it only receives security updates, and just prevents the code base to be updated with property type-hints.

If ok, I can create a PR, lmk.

@finwe
Copy link

finwe commented May 24, 2021

Let me vote for this as it would make way to allow PHP 8 which is now blocked by other older dependencies.

@codedge
Copy link
Contributor Author

codedge commented May 25, 2021

So who is deciding if that should be done or not? I just want to know if I can create a PR which is then actually being merged 😉

@Sebbo94BY
Copy link
Collaborator

PHP 8.0 is already allowed in the develop branch: https://github.com/barbushin/php-imap/blob/develop/composer.json#L26

@finwe
Copy link

finwe commented May 26, 2021

@Sebi94nbg I am not quite sure this change is enough without change of dependencies. Made the same in my fork and many of them had to be updated for composer to run. finwe@dce42bc

(notice ~8.0 for more elegant 8.1 exclusion)

@finwe
Copy link

finwe commented May 26, 2021

I am aware this discussion is a bit off-topic here, if needed, please point me to a more suitable place.

@bapcltd-marv
Copy link
Contributor

I get the feeling that it'd be safer to jump from ^7.2 || ^8.0 <8.1 to ^8.1 because of the object type change- i.e. dropping a php version just because it's no longer supported when there's no syntax/code changes that need to be made is unhelpful to people stuck on legacy systems.

@finwe
Copy link

finwe commented May 27, 2021

That's not possible for reasons I describe above. Let's continue the discussion in a dedicated issue #599

bapcltd-marv added a commit to bapcltd/php-imap that referenced this issue May 27, 2021
@bapcltd-marv bapcltd-marv mentioned this issue May 27, 2021
@bapcltd-marv
Copy link
Contributor

this has proved to be quite possible, so php 7.2 is a non-issue pending merge of #598

aragon999 pushed a commit to aragon999/php-imap that referenced this issue Jun 13, 2021
Sebbo94BY pushed a commit that referenced this issue Dec 14, 2021
@Sebbo94BY
Copy link
Collaborator

I think, we can slowly get rid of PHP 7.2 and 7.3 starting next year since both versions are end of life now: https://www.php.net/supported-versions.php

I'll try to work on it in Q1/2022. If anyone should be faster: I'll be happy to merge the pull request. :)

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 a pull request may close this issue.

4 participants