From 9cc297f787106b998e82f32830dc63d5fd48ede3 Mon Sep 17 00:00:00 2001 From: Carlos Alandete Sastre Date: Sun, 17 Nov 2024 11:13:23 +0100 Subject: [PATCH] Update tests after merge --- tests/unit/rules/CanOnlyDepend/CatchBlockTest.php | 2 +- tests/unit/rules/ShouldNotDepend/CatchBlockTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/rules/CanOnlyDepend/CatchBlockTest.php b/tests/unit/rules/CanOnlyDepend/CatchBlockTest.php index 4ea1413d..d1572246 100644 --- a/tests/unit/rules/CanOnlyDepend/CatchBlockTest.php +++ b/tests/unit/rules/CanOnlyDepend/CatchBlockTest.php @@ -26,7 +26,7 @@ class CatchBlockTest extends RuleTestCase public function testRule(): void { $this->analyse(['tests/fixtures/FixtureClass.php'], [ - [sprintf('%s should not depend on %s', FixtureClass::class, SimpleException::class), 115], + [sprintf('%s should not depend on %s', FixtureClass::class, SimpleException::class), 108], ]); } diff --git a/tests/unit/rules/ShouldNotDepend/CatchBlockTest.php b/tests/unit/rules/ShouldNotDepend/CatchBlockTest.php index 9deab28d..08459840 100644 --- a/tests/unit/rules/ShouldNotDepend/CatchBlockTest.php +++ b/tests/unit/rules/ShouldNotDepend/CatchBlockTest.php @@ -26,7 +26,7 @@ class CatchBlockTest extends RuleTestCase public function testRule(): void { $this->analyse(['tests/fixtures/FixtureClass.php'], [ - [sprintf('%s should not depend on %s', FixtureClass::class, SimpleException::class), 115], + [sprintf('%s should not depend on %s', FixtureClass::class, SimpleException::class), 108], ]); }