From bbbd74fe1946d20f85bf5497bf393f1f92e63e50 Mon Sep 17 00:00:00 2001 From: Sebastian Molenda Date: Sun, 20 Oct 2024 17:52:43 +0200 Subject: [PATCH] fix errors and bump pubnub.yml --- .pubnub.yml | 90 +++++++++++++++++-------------------------- phpstan-baseline.neon | 10 ----- 2 files changed, 36 insertions(+), 64 deletions(-) diff --git a/.pubnub.yml b/.pubnub.yml index e621509..653f5df 100644 --- a/.pubnub.yml +++ b/.pubnub.yml @@ -319,25 +319,21 @@ 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: - - macOS 11.2.3 + - macOS 15 target-architecture: - arm64 - 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 @@ -350,15 +346,13 @@ 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 + - Ubuntu 20.04 LTS maximum-os-version: - - Ubuntu 18.04 LTS + - Ubuntu 24.04.1 LTS target-architecture: - x86 - x86-64 @@ -387,25 +381,21 @@ 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: - - macOS 11.2.3 + - macOS 15 target-architecture: - arm64 - 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 @@ -418,15 +408,13 @@ 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 + - Ubuntu 20.04 LTS maximum-os-version: - - Ubuntu 18.04 LTS + - Ubuntu 24.04.1 LTS target-architecture: - x86 - x86-64 @@ -455,25 +443,21 @@ 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: - - macOS 11.2.3 + - macOS 15 target-architecture: - arm64 - 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 @@ -486,15 +470,13 @@ 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 + - Ubuntu 20.04 LTS maximum-os-version: - - Ubuntu 18.04 LTS + - Ubuntu 24.04.1 LTS target-architecture: - x86 - x86-64 diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index f9ac362..b0ff73e 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -460,11 +460,6 @@ parameters: count: 1 path: src/PubNub/Endpoints/Access/GrantToken.php - - - message: "#^PHPDoc tag @return has invalid value \\(\\: PNAccessManagerGrantResult\\)\\: Unexpected token \"\\:\", expected type at offset 47$#" - count: 1 - path: src/PubNub/Endpoints/Access/GrantToken.php - - message: "#^Property PubNub\\\\Endpoints\\\\Access\\\\GrantToken\\:\\:\\$channels has no type specified\\.$#" count: 1 @@ -3145,11 +3140,6 @@ parameters: count: 1 path: src/PubNub/Models/Consumer/FileSharing/PNGetFileDownloadURLResult.php - - - message: "#^Method PubNub\\\\Models\\\\Consumer\\\\FileSharing\\\\PNGetFileDownloadURLResult\\:\\:__toString\\(\\) should return string but returns int\\.$#" - count: 1 - path: src/PubNub/Models/Consumer/FileSharing/PNGetFileDownloadURLResult.php - - message: "#^Method PubNub\\\\Models\\\\Consumer\\\\FileSharing\\\\PNGetFileDownloadURLResult\\:\\:getFileUrl\\(\\) has no return type specified\\.$#" count: 1