Skip to content

Add minimum required PHP version to run-tests.php - #3986

Closed
petk wants to merge 2 commits into
php:PHP-7.4from
petk:patch-run-tests-min-version
Closed

Add minimum required PHP version to run-tests.php#3986
petk wants to merge 2 commits into
php:PHP-7.4from
petk:patch-run-tests-min-version

Conversation

@petk

@petk petk commented Mar 25, 2019

Copy link
Copy Markdown
Member

Brought up in the #3981 to make a certain extension case pass and to be able to run tests in parallel on PHP 7.0 versions, however I probably don't need to explain that this is a very bad practice. Since people pushed this change in the code already we at least need to define the minimum constraint to be clear.

For people who are upgrading their code please follow the better recommended practices defined at the supported versions page and use the supported versions: https://www.php.net/supported-versions.php

So, this now adds a minimum PHP requirement constraint in the run-tests.php script.

Thanks.

This integrates a simple minimum PHP version check in the tool and to
also define the minimum version that the tool syntax should support.
@petk petk added the Quickfix label Mar 25, 2019
Comment thread run-tests.php Outdated
@petk

petk commented Mar 26, 2019

Copy link
Copy Markdown
Member Author

Applied via 434388a to PHP-7.4+

@petk petk closed this Mar 26, 2019
@petk
petk deleted the patch-run-tests-min-version branch March 26, 2019 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants