From 3f0606acffd53360a7ab9fe266ba703814000190 Mon Sep 17 00:00:00 2001 From: Simon Podlipsky Date: Sun, 7 Jun 2026 08:04:47 +0300 Subject: [PATCH] chore: update phpstan to 2.2.2 --- composer.json | 2 +- phpstan-baseline.neon | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 59e92b427..a9daf857f 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "nyholm/psr7": "^1.5", "phpbench/phpbench": "^1.2", "phpstan/extension-installer": "^1.1", - "phpstan/phpstan": "2.2.1", + "phpstan/phpstan": "2.2.2", "phpstan/phpstan-phpunit": "2.0.16", "phpstan/phpstan-strict-rules": "2.0.11", "phpunit/phpunit": "^9.5 || ^10.5.21 || ^11", diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index e4d767c25..bdd34cf6c 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -55,7 +55,7 @@ parameters: path: src/Utils/AST.php - - message: '#^Variable property access on array\|object\.$#' + message: '#^Variable property access on (array\|)?object\.$#' identifier: property.dynamicName count: 1 path: src/Utils/AST.php