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

chore: drop PHP 5.x support #371

Merged
merged 2 commits into from
Nov 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
18 changes: 2 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,9 @@ jobs:
fail-fast: false
matrix:
include:
- php: '5.5'
os: ubuntu-latest
composer-flags: '--prefer-lowest'
coverage: 'xdebug'
- php: '5.5'
os: ubuntu-latest
symfony: '^3.0'
- php: '5.5'
os: windows-latest
coverage: 'xdebug'
- php: '5.6'
os: ubuntu-latest
- php: '7.0'
os: ubuntu-latest
composer-flags: '--prefer-lowest'
- php: '7.1'
os: ubuntu-latest
symfony: '^4.0'
Expand Down Expand Up @@ -136,11 +125,9 @@ jobs:
extensions: phar, openssl, sodium
coverage: none
ini-values: phar.readonly=Off, error_reporting=-1, display_errors=On, zend.assertions=1
# Autoload files generated with Composer 2.3+ are not compatible with PHP < 7.0.
tools: composer:2.2

- name: Set Composer platform
run: composer config platform.php 5.5.0
run: composer config platform.php 7.0.0

- name: Install Composer dependencies
uses: ramsey/composer-install@v2
Expand Down Expand Up @@ -177,7 +164,6 @@ jobs:
fail-fast: false
matrix:
include:
- php: '5.5'
- php: '7.2'
- php: '8.0'
- php: '8.3'
Expand Down
1 change: 1 addition & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
->setRules([
'@PhpCsFixer' => true,
'@PhpCsFixer:risky' => true,
'@PHP70Migration' => true,
'yoda_style' => [
'equal' => false,
'identical' => false,
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ PHP client library for [Coveralls](https://coveralls.io).

# Prerequisites

- PHP 5.5+ for 2.x or 5.3+ for 1.x
- PHP 7+ for 2.7+
- PHP 5.5+ for 2.x
- PHP 5.3+ for 1.x
- On [GitHub](https://github.com/)
- Building on [Travis CI](http://travis-ci.org/), [CircleCI](https://circleci.com/), [Jenkins](http://jenkins-ci.org/), [Codeship](https://www.codeship.io/) or [GitHub Actions](https://github.com/features/actions)
- Testing by [PHPUnit](https://github.com/sebastianbergmann/phpunit/) or other testing framework that can generate clover style coverage report
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
}
],
"require": {
"php": "^5.5 || ^7.0 || ^8.0",
"php": "^7.0 || ^8.0",
"ext-json": "*",
"ext-simplexml": "*",
"guzzlehttp/guzzle": "^6.0 || ^7.0",
Expand Down