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

Drop support for PHP < 5.6 & PEAR #470

Merged
merged 1 commit into from
Jun 4, 2021

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Apr 16, 2021

⚠️ This PR is for Requests 2.0.0.

This drops support for PHP < 5.6 by:

  • Upping the minimum required PHP version in all the relevant places.
  • Dropping CI runs against PHP < 5.6.
    This includes removing the Travis script which only still handled PHP 5.2-5.4.
  • PHPCS: upping the minimum PHP version and removing exceptions for PHPCompatibility related to PHP < 5.6.
  • PHPUnit: don't allow PHPUnit 4.x to be installed anymore.
    This does require to composer install with --ignore-platform-reqs for PHP 8.0+ in the lint workflow (for now). Previously, PHPUnit 4.x would be installed as that was the last PHPUnit version which did not have a require set for the PHP versions.
  • Dropping some obvious code work-arounds which were in place for PHP < 5.6.

This drops support for PEAR by:

  • Removing the package.xml.tpl
  • Removing the PEAR package generation script.

Related to #460

Closes #378

@jrfnl jrfnl added this to the 2.0.0 milestone Apr 16, 2021
@jrfnl jrfnl force-pushed the feature/460-drop-support-for-php-lt-5.6 branch from 658929a to 2c873b1 Compare April 16, 2021 18:08
@jrfnl jrfnl force-pushed the feature/460-drop-support-for-php-lt-5.6 branch from 2c873b1 to 9671498 Compare June 4, 2021 10:56
@jrfnl jrfnl changed the title Drop support for PHP < 5.6 Drop support for PHP < 5.6 & PEAR Jun 4, 2021
@jrfnl jrfnl marked this pull request as ready for review June 4, 2021 10:56
@jrfnl jrfnl force-pushed the feature/460-drop-support-for-php-lt-5.6 branch from 9671498 to 73e37ea Compare June 4, 2021 10:57
This drops support for PHP < 5.6 by:
* Upping the minimum required PHP version in all the relevant places.
* Dropping CI runs against PHP < 5.6.
    This includes removing the Travis script which only still handled PHP 5.2-5.4.
* PHPCS: upping the minimum PHP version and removing exceptions for PHPCompatibility related to PHP < 5.6.
* PHPUnit: don't allow PHPUnit 4.x to be installed anymore.
    This does require to `composer install` with `--ignore-platform-reqs` for PHP 8.0+ in the `lint` workflow. Previously, PHPUnit 4.x would be installed as that was the last PHPUnit version which did not have a `require` set for the PHP versions.
* Dropping some obvious code work-arounds which were in place for PHP < 5.6.

This drops support for PEAR by:
* Removing the `package.xml.tpl`
* Removing the PEAR package generation script.

Related to 460

Closes 378
@jrfnl jrfnl force-pushed the feature/460-drop-support-for-php-lt-5.6 branch from 73e37ea to 38018fb Compare June 4, 2021 10:59
@schlessera schlessera merged commit 8fcfeb2 into master Jun 4, 2021
@schlessera schlessera deleted the feature/460-drop-support-for-php-lt-5.6 branch June 4, 2021 11:05
@jrfnl jrfnl mentioned this pull request Jun 5, 2021
14 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Drop support for old PHP versions
2 participants