Skip to content

Drop PHP 8.0 support#8042

Merged
kenjis merged 6 commits into
codeigniter4:4.5from
kenjis:drop-php-8.0-CI45
Oct 20, 2023
Merged

Drop PHP 8.0 support#8042
kenjis merged 6 commits into
codeigniter4:4.5from
kenjis:drop-php-8.0-CI45

Conversation

@kenjis

@kenjis kenjis commented Oct 13, 2023

Copy link
Copy Markdown
Member

Description
See #7320
Ref #7924

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@kenjis kenjis added the 4.5 label Oct 13, 2023
Run vendor/bin/php-cs-fixer fix --verbose --ansi --dry-run --config=.php-cs-fixer.no-header.php --using-cache=no --diff
PHP needs to be a minimum version of PHP 7.4.0 and maximum version of PHP 8.2.*.
Current PHP version: 8.3.0-dev.
To ignore this requirement please set `PHP_CS_FIXER_IGNORE_ENV`.
If you use PHP version higher than supported, you may experience code modified in a wrong way.
Please report such cases at https://github.com/PHP-CS-Fixer/PHP-CS-Fixer .
Error: Process completed with exit code 1.

@michalsn michalsn left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Even now PHP 8.0 has a lower usage than PHP 7.4... and we already dropped PHP 7.4... For that reason, I would be in favor of doing this. Security support for PHP 8.0 ends in a month.

https://packagist.org/packages/codeigniter4/framework/php-stats#4.4
https://www.php.net/supported-versions.php

CodeIgniter 4.5 will most likely land in 2024 anyway.

@MGatner MGatner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good. What a time to be alive.

@kenjis kenjis merged commit 26bc784 into codeigniter4:4.5 Oct 20, 2023
@kenjis kenjis deleted the drop-php-8.0-CI45 branch October 20, 2023 23:00
@kenjis

kenjis commented Oct 20, 2023

Copy link
Copy Markdown
Member Author

🎉

1 similar comment
@paulbalandan

Copy link
Copy Markdown
Member

🎉

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.

4 participants