From af59ea24492c87c18b6942afe1fe31934a909bfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20K=C3=A4mmerling?= Date: Tue, 26 Nov 2024 12:40:39 +0100 Subject: [PATCH] Remove Tests on PHP 8.0 and add notice about PHP Support --- .github/workflows/php.yml | 2 +- README.md | 3 +++ composer.json | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 4a580a9..aaee5f8 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: operating-system: [ubuntu-latest] - php-versions: [ '8.0', '8.1', '8.2', '8.3' ] + php-versions: [ '8.1', '8.2', '8.3', '8.4'] steps: - uses: actions/checkout@v2 - name: Setup PHP diff --git a/README.md b/README.md index fcaf5cf..dcb9174 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,9 @@ foreach ($hetznerClient->servers()->all() as $server) { echo 'ID: '.$server->id.' Name:'.$server->name.' Status: '.$server->status.PHP_EOL; } ``` +### PHP Support + +We test on all supported PHP Versions. The library can still work on older versions, however it is no longer actively tested. ### Old Releases: v1.x [Version 1.x](https://github.com/LKDevelopment/hetzner-cloud-php-sdk/tree/v1) is abandoned and will not receive any new updates or features. V2 was created with Backward Compatibility in mind. So it should work as a drop-in replacement. Therefor it does not give a "Migration to v2"-Guide. It should just work! diff --git a/composer.json b/composer.json index 62fea8d..6288f9d 100644 --- a/composer.json +++ b/composer.json @@ -9,7 +9,7 @@ "cloud php library" ], "require": { - "php": "^7.1|^8.0", + "php": "^8.2", "ext-json": "*", "guzzlehttp/guzzle": "^6.3|^7.0", "illuminate/collections": "^5.5|^v6.18|^7.0|^8.0|^11.0"