From acd5cae908f6cd08e7ba67ecd1c4cc897045ccff Mon Sep 17 00:00:00 2001 From: Sebastian Molenda Date: Thu, 14 Dec 2023 14:39:06 +0100 Subject: [PATCH] Update compatibility info --- .github/workflows/run-tests.yml | 2 +- .pubnub.yml | 80 +++++++++++++-------------------- README.md | 2 +- composer.json | 2 +- 4 files changed, 33 insertions(+), 53 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 0539ba4c..2ee0097d 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -18,7 +18,7 @@ jobs: max-parallel: 1 fail-fast: true matrix: - php: [8.0, 8.1, 8.2] + php: [8.1, 8.2, 8.3] env: PUBLISH_KEY: ${{ secrets.PUBLISH_KEY }} SUBSCRIBE_KEY: ${{ secrets.SUBSCRIBE_KEY }} diff --git a/.pubnub.yml b/.pubnub.yml index 95b33428..0f8e366c 100644 --- a/.pubnub.yml +++ b/.pubnub.yml @@ -252,11 +252,9 @@ supported-platforms: - Mac OS X 10.8 or later, amd64 - Windows 7 or later, amd64, 386 editors: - - PHP 5.6 - - PHP 7.0 - - PHP 7.1 - - PHP 7.2 - - PHP 7.3 + - PHP 8.1 + - PHP 8.2 + - PHP 8.3 sdks: - full-name: PHP SDK short-name: PHP @@ -294,11 +292,9 @@ sdks: supported-operating-systems: macOS: runtime-version: - - PHP 5.6 - - PHP 7.0 - - PHP 7.1 - - PHP 7.2 - - PHP 7.3 + - PHP 8.1 + - PHP 8.2 + - PHP 8.3 minimum-os-version: - Mac OS X 10.8 maximum-os-version: @@ -308,11 +304,9 @@ sdks: - x86-64 Windows: runtime-version: - - PHP 5.6 - - PHP 7.0 - - PHP 7.1 - - PHP 7.2 - - PHP 7.3 + - PHP 8.1 + - PHP 8.2 + - PHP 8.3 minimum-os-version: - Windows 7 Professional - Windows 7 Enterprise @@ -325,11 +319,9 @@ sdks: - x86-64 Linux: runtime-version: - - PHP 5.6 - - PHP 7.0 - - PHP 7.1 - - PHP 7.2 - - PHP 7.3 + - PHP 8.1 + - PHP 8.2 + - PHP 8.3 minimum-os-version: - Ubuntu 16.04 LTS maximum-os-version: @@ -362,11 +354,9 @@ sdks: supported-operating-systems: macOS: runtime-version: - - PHP 5.6 - - PHP 7.0 - - PHP 7.1 - - PHP 7.2 - - PHP 7.3 + - PHP 8.1 + - PHP 8.2 + - PHP 8.3 minimum-os-version: - Mac OS X 10.8 maximum-os-version: @@ -376,11 +366,9 @@ sdks: - x86-64 Windows: runtime-version: - - PHP 5.6 - - PHP 7.0 - - PHP 7.1 - - PHP 7.2 - - PHP 7.3 + - PHP 8.1 + - PHP 8.2 + - PHP 8.3 minimum-os-version: - Windows 7 Professional - Windows 7 Enterprise @@ -393,11 +381,9 @@ sdks: - x86-64 Linux: runtime-version: - - PHP 5.6 - - PHP 7.0 - - PHP 7.1 - - PHP 7.2 - - PHP 7.3 + - PHP 8.1 + - PHP 8.2 + - PHP 8.3 minimum-os-version: - Ubuntu 16.04 LTS maximum-os-version: @@ -430,11 +416,9 @@ sdks: supported-operating-systems: macOS: runtime-version: - - PHP 5.6 - - PHP 7.0 - - PHP 7.1 - - PHP 7.2 - - PHP 7.3 + - PHP 8.1 + - PHP 8.2 + - PHP 8.3 minimum-os-version: - Mac OS X 10.8 maximum-os-version: @@ -444,11 +428,9 @@ sdks: - x86-64 Windows: runtime-version: - - PHP 5.6 - - PHP 7.0 - - PHP 7.1 - - PHP 7.2 - - PHP 7.3 + - PHP 8.1 + - PHP 8.2 + - PHP 8.3 minimum-os-version: - Windows 7 Professional - Windows 7 Enterprise @@ -461,11 +443,9 @@ sdks: - x86-64 Linux: runtime-version: - - PHP 5.6 - - PHP 7.0 - - PHP 7.1 - - PHP 7.2 - - PHP 7.3 + - PHP 8.1 + - PHP 8.2 + - PHP 8.3 minimum-os-version: - Ubuntu 16.04 LTS maximum-os-version: diff --git a/README.md b/README.md index 68653627..af6c1795 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ This is the official PubNub PHP SDK repository. PubNub takes care of the infrastructure and APIs needed for the realtime communication layer of your application. Work on your app's logic and let PubNub handle sending and receiving data across the world in less than 100ms. -The SDK supports PHP 7.4 and 8.x. +The SDK supports PHP 8.1 and greater ## Get keys diff --git a/composer.json b/composer.json index c08bf34f..749fdc32 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ "test": "./vendor/bin/phpunit tests/ --verbose --coverage-clover=coverage.clover" }, "require": { - "php": "^7.4|>=8.0", + "php": ">=8.1", "rmccue/requests": "^2.0", "psr/log": "^1.1|^2.0|^3.0" },