diff --git a/tests/unit/rules/CanOnlyDepend/CatchBlockTest.php b/tests/unit/rules/CanOnlyDepend/CatchBlockTest.php index 84fedcc4..4ea1413d 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), 97], + [sprintf('%s should not depend on %s', FixtureClass::class, SimpleException::class), 115], ]); } diff --git a/tests/unit/rules/ShouldNotDepend/CatchBlockTest.php b/tests/unit/rules/ShouldNotDepend/CatchBlockTest.php index aa5c9339..9deab28d 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), 97], + [sprintf('%s should not depend on %s', FixtureClass::class, SimpleException::class), 115], ]); }