Skip to content

Commit

Permalink
support for PHP 8.2 & drop support for PHP 7.4 and below
Browse files Browse the repository at this point in the history
  • Loading branch information
WengerK committed Jun 26, 2024
1 parent dc4c28a commit 9f6047e
Show file tree
Hide file tree
Showing 8 changed files with 1,295 additions and 612 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/styles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
php-version: '8.1'
extensions: mbstring, intl, gd, xml, dom, json, fileinfo, curl, zip, iconv
tools: php-cs-fixer, cs2pr
- uses: actions/checkout@v2
Expand All @@ -26,7 +26,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
php-version: '8.1'
extensions: mbstring, intl, gd, xml, dom, json, fileinfo, curl, zip, iconv
- uses: actions/checkout@v2
- run: composer install --prefer-dist
Expand All @@ -39,7 +39,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
php-version: '8.1'
extensions: mbstring, intl, gd, xml, dom, json, fileinfo, curl, zip, iconv
- uses: actions/checkout@v2
- run: composer install --prefer-dist
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
TRUSTEDSHOPS_TSID: ${{ secrets.TRUSTEDSHOPS_TSID }}
strategy:
matrix:
php-versions: ['7.4']
php-versions: ['8.0', '8.1', '8.2', '8.3']
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- add .editorconfig file
- add coveralls phpunit coverage upload
- add coverage on cURL availability tests
- add support for PHP 8.0, 8.1 & 8.2

### Security
- ugprade phpunit/phpunit 7.x => 8.x
- update phpmd/phpmd (2.7.0 => 2.15.0)
- guzzlehttp/guzzle (6.3.3 => 7.8.1)
- symfony/dotenv (v4.3.4 => v4.4.37)
- guzzlehttp/psr7 (1.6.1 => 2.6.2)
- upgrade friendsofphp/php-cs-fixer (v2.19.3 => v3.4.0)

### Removed
- remove StyleCI in favor of Github Actions
- drop support for PHP 7.4 and below

## 1.0.0 - 2019-10-08
### Changed
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Requires PHP 7.0+. Abstraction is for chimps.
[![Coverage Status](https://coveralls.io/repos/github/antistatique/trustedshops-php-sdk/badge.svg?branch=master)](https://coveralls.io/github/antistatique/trustedshops-php-sdk?branch=master)
[![Packagist](https://img.shields.io/packagist/dt/antistatique/trustedshops-php-sdk.svg?maxAge=2592000)](https://packagist.org/packages/antistatique/trustedshops-php-sdk)
[![License](https://poser.pugx.org/antistatique/trustedshops-php-sdk/license)](https://packagist.org/packages/antistatique/trustedshops-php-sdk)
[![PHP Versions Supported](https://img.shields.io/badge/php-%3E%3D%208.0-8892BF.svg)](https://packagist.org/packages/antistatique/trustedshops-php-sdk)

Getting started
------------
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
"description": "Super-simple, minimum abstraction TrustedShops API v2.x wrapper, in PHP",
"license": "MIT",
"require": {
"php": ">=7.4",
"php": ">=8.0",
"ext-curl": "*",
"ext-json": "*"
},
"require-dev": {
"phpunit/phpunit": "^8.2",
"phpunit/php-code-coverage": "^7.0",
"symfony/dotenv": "^4.3",
"friendsofphp/php-cs-fixer": "^2.12",
"friendsofphp/php-cs-fixer": "^3.0",
"phpmd/phpmd": "^2.6",
"php-coveralls/php-coveralls": "^2.1",
"vimeo/psalm": "^4.30",
Expand Down
Loading

0 comments on commit 9f6047e

Please sign in to comment.