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

Upgrade Infection to minimum PHP 8.0 using Rector #1641

Merged
merged 2 commits into from
Jan 19, 2022
Merged

Conversation

maks-rafalko
Copy link
Member

@maks-rafalko maks-rafalko commented Jan 10, 2022

Closes #1573

PHP 7.4 is no longer maintained.

Used versions of Infection:

image

PHP 8 is used by the same number of users (approximately).

We released 0.26.0 with PHP 7.4 support and continue fix bugs for 0.26 branch. New releases will be for PHP 8.0 only.

Also, most of the boilerplate code, related to properties initialization, has been removed

image

@sanmai sanmai self-requested a review January 10, 2022 21:26
@maks-rafalko maks-rafalko marked this pull request as ready for review January 14, 2022 05:30
@maks-rafalko
Copy link
Member Author

should I wait for your review @sanmai?

Copy link
Member

@sanmai sanmai left a comment

Choose a reason for hiding this comment

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

Let's go!

@maks-rafalko maks-rafalko merged commit 8042277 into master Jan 19, 2022
@maks-rafalko maks-rafalko deleted the feature/php-8 branch January 19, 2022 12:04
@maks-rafalko
Copy link
Member Author

Thank you, @sanmai

@theofidry
Copy link
Member

Sweet. I guess I'll bump PHP-Scoper & Box to PHP8 too then :D

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.

Prefixed infection.phar does not work on PHP 7.4
3 participants