From ded806df8cc489e08647bc81898cfbbbdebb111f Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Wed, 5 May 2021 17:04:42 +0545 Subject: [PATCH] Suppress PhanDeprecatedFunction for doctrine/dbal changes --- lib/Command/Db/Stress.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Command/Db/Stress.php b/lib/Command/Db/Stress.php index 54d5142..6a666c8 100644 --- a/lib/Command/Db/Stress.php +++ b/lib/Command/Db/Stress.php @@ -110,6 +110,7 @@ protected function testRWSplit(IDBConnection $connection, OutputInterface $outpu $update->execute(); $result = $select->execute(); + /* @phan-suppress-next-line PhanDeprecatedFunction */ $value = $result->fetch(); $p->advance(); @@ -171,6 +172,7 @@ protected function testReadCommited(IDBConnection $connection, OutputInterface $ // read current value $result = $select->execute(); + /* @phan-suppress-next-line PhanDeprecatedFunction */ $value = $result->fetch(); $i = (int)$value['configvalue']; @@ -181,6 +183,7 @@ protected function testReadCommited(IDBConnection $connection, OutputInterface $ // read current value $result = $select->execute(); + /* @phan-suppress-next-line PhanDeprecatedFunction */ $value = $result->fetch(); $connection->commit();