From 0fd57d44fbc89b5653717b7e1d910f5edfcfd72c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20=C5=BBydek?= Date: Wed, 20 Mar 2024 13:36:18 +0900 Subject: [PATCH] feat: change minimal required PHP version to 8.1, because older versions have reached EOL BREAKING CHANGE: >=8.1 PHP is required now for this SDK --- .github/workflows/test.yml | 2 +- README.md | 6 +----- composer.json | 2 +- template/README.mustache | 6 +----- template/composer.mustache | 2 +- 5 files changed, 5 insertions(+), 13 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3d127e53..c907609b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - php_version: [ "7.3", "7.4", "8.0", "8.1", "8.2" ] + php_version: [ "8.1", "8.2", "8.3" ] steps: - uses: actions/checkout@v2 diff --git a/README.md b/README.md index e0a9122f..ccff6ef9 100644 --- a/README.md +++ b/README.md @@ -44,13 +44,9 @@ This PHP package is automatically generated by the [Swagger Codegen](https://git This library supports the following PHP implementations: -- PHP 7.1 -- PHP 7.2 -- PHP 7.3 -- PHP 7.4 -- PHP 8.0 - PHP 8.1 - PHP 8.2 +- PHP 8.3 We currently don't support external PHP Runtimes like: diff --git a/composer.json b/composer.json index d27bc292..7f526016 100644 --- a/composer.json +++ b/composer.json @@ -30,7 +30,7 @@ } ], "require": { - "php": ">=7.1", + "php": ">=8.1", "ext-curl": "*", "ext-json": "*", "ext-mbstring": "*", diff --git a/template/README.mustache b/template/README.mustache index 77a5cae2..d5fe3228 100644 --- a/template/README.mustache +++ b/template/README.mustache @@ -54,13 +54,9 @@ This PHP package is automatically generated by the [Swagger Codegen](https://git This library supports the following PHP implementations: -- PHP 7.1 -- PHP 7.2 -- PHP 7.3 -- PHP 7.4 -- PHP 8.0 - PHP 8.1 - PHP 8.2 +- PHP 8.3 We currently don't support external PHP Runtimes like: diff --git a/template/composer.mustache b/template/composer.mustache index 7e565c26..397d75a8 100644 --- a/template/composer.mustache +++ b/template/composer.mustache @@ -32,7 +32,7 @@ } ], "require": { - "php": ">=7.1", + "php": ">=8.1", "ext-curl": "*", "ext-json": "*", "ext-mbstring": "*",