From df43ceb61741c50fe718267e419203e08cbd6a3c Mon Sep 17 00:00:00 2001 From: provokateurin Date: Thu, 25 Jun 2026 09:08:53 +0200 Subject: [PATCH] fix(psalm): Set PHP version to 8.3 Signed-off-by: provokateurin --- lib/unstable/Config/IUserConfig.php | 4 ++-- psalm-ncu.xml | 2 +- psalm-ocp.xml | 1 + psalm-strict.xml | 2 +- psalm.xml | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/unstable/Config/IUserConfig.php b/lib/unstable/Config/IUserConfig.php index 7a215b8104697..a72b778d50999 100644 --- a/lib/unstable/Config/IUserConfig.php +++ b/lib/unstable/Config/IUserConfig.php @@ -37,13 +37,13 @@ interface IUserConfig { * @deprecated 32.0.0 use \OCP\Config\IUserConfig * @see \OCP\Config\IUserConfig */ - public const FLAG_SENSITIVE = 1; // value is sensitive + public const int FLAG_SENSITIVE = 1; // value is sensitive /** * @experimental 31.0.0 * @deprecated 32.0.0 use \OCP\Config\IUserConfig * @see \OCP\Config\IUserConfig */ - public const FLAG_INDEXED = 2; // value should be indexed + public const int FLAG_INDEXED = 2; // value should be indexed /** * Get list of all userIds with config stored in database. diff --git a/psalm-ncu.xml b/psalm-ncu.xml index 09e9c92094b37..f4cb493b0b187 100644 --- a/psalm-ncu.xml +++ b/psalm-ncu.xml @@ -11,7 +11,7 @@ xsi:schemaLocation="https://getpsalm.org/schema/config vendor-bin/psalm/vendor/vimeo/psalm/config.xsd" findUnusedBaselineEntry="false" findUnusedCode="false" - phpVersion="8.2" + phpVersion="8.3" > diff --git a/psalm-ocp.xml b/psalm-ocp.xml index b7ebd5aab697a..3ca3c45ca2728 100644 --- a/psalm-ocp.xml +++ b/psalm-ocp.xml @@ -13,6 +13,7 @@ findUnusedBaselineEntry="false" findUnusedCode="false" strictBinaryOperands="false" + phpVersion="8.3" > diff --git a/psalm-strict.xml b/psalm-strict.xml index 81652ad831116..a349d20f0cbc0 100644 --- a/psalm-strict.xml +++ b/psalm-strict.xml @@ -13,7 +13,7 @@ findUnusedCode="false" findUnusedPsalmSuppress="true" findUnusedVariablesAndParams="true" - phpVersion="8.2" + phpVersion="8.3" > diff --git a/psalm.xml b/psalm.xml index 482abe6d80c47..e3d1788836531 100644 --- a/psalm.xml +++ b/psalm.xml @@ -14,7 +14,7 @@ findUnusedCode="false" findUnusedIssueHandlerSuppression="false" strictBinaryOperands="false" - phpVersion="8.2" + phpVersion="8.3" >