From 87b02de61254f88eaabab0822f58cfb01b30a34c Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Tue, 17 Mar 2026 11:32:15 +0530 Subject: [PATCH] baseline --- phpstan-baseline.neon | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 86d007432d..3a72cd5993 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -5319,7 +5319,7 @@ parameters: - message: '#^Binary operation "\." between ''mysql\://'' and mixed results in an error\.$#' identifier: binaryOp.invalid - count: 2 + count: 3 path: app/init/resources.php - @@ -5379,7 +5379,7 @@ parameters: - message: '#^Cannot call method get\(\) on mixed\.$#' identifier: method.nonObject - count: 3 + count: 4 path: app/init/resources.php - @@ -5523,7 +5523,7 @@ parameters: - message: '#^Parameter \#1 \$dsn of class Utopia\\DSN\\DSN constructor expects string, mixed given\.$#' identifier: argument.type - count: 2 + count: 3 path: app/init/resources.php - @@ -5577,7 +5577,7 @@ parameters: - message: '#^Parameter \#1 \$pool of class Utopia\\Database\\Adapter\\Pool constructor expects Utopia\\Pools\\Pool\, Utopia\\Pools\\Pool\ given\.$#' identifier: argument.type - count: 4 + count: 7 path: app/init/resources.php - @@ -22671,7 +22671,7 @@ parameters: - message: '#^Cannot access offset ''cpus'' on mixed\.$#' identifier: offsetAccess.nonOffsetAccessible - count: 1 + count: 2 path: src/Appwrite/Platform/Modules/Functions/Workers/Builds.php - @@ -22683,7 +22683,7 @@ parameters: - message: '#^Cannot access offset ''memory'' on mixed\.$#' identifier: offsetAccess.nonOffsetAccessible - count: 1 + count: 2 path: src/Appwrite/Platform/Modules/Functions/Workers/Builds.php - @@ -23094,18 +23094,6 @@ parameters: count: 1 path: src/Appwrite/Platform/Modules/Functions/Workers/Builds.php - - - message: '#^Undefined variable\: \$cpus$#' - identifier: variable.undefined - count: 3 - path: src/Appwrite/Platform/Modules/Functions/Workers/Builds.php - - - - message: '#^Undefined variable\: \$memory$#' - identifier: variable.undefined - count: 3 - path: src/Appwrite/Platform/Modules/Functions/Workers/Builds.php - - message: '#^Variable \$deployment might not be defined\.$#' identifier: variable.undefined