From 4517ae905a39e1bdc53b0712a3bf5f10ee986f89 Mon Sep 17 00:00:00 2001 From: Koen Hendriks Date: Thu, 2 Oct 2025 12:44:17 +0200 Subject: [PATCH] Remove final keyword from BaseKit client --- phpstan.neon | 2 ++ src/BaseKit.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/phpstan.neon b/phpstan.neon index dd4c8b7..febbe49 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -11,6 +11,8 @@ parameters: - tests ignoreErrors: + - '#Class SandwaveIo\\BaseKit\\BaseKit is neither abstract nor final.#' + # Extending classes. - '#Class \"[a-zA-Z0-9\\_]+\" is not allowed to extend \"[a-zA-Z0-9\\_]+\".#' diff --git a/src/BaseKit.php b/src/BaseKit.php index 5e2dbe8..9c8e8ed 100644 --- a/src/BaseKit.php +++ b/src/BaseKit.php @@ -15,7 +15,7 @@ use SandwaveIo\BaseKit\Api\UserApi; use SandwaveIo\BaseKit\Support\AuthorizedClient; -final class BaseKit +class BaseKit { const BASE_URL = 'https://example.com';