From d3ccd399e1d1b49ee1d081d3b3cd9cfc830969d3 Mon Sep 17 00:00:00 2001 From: mscherer Date: Sun, 17 Nov 2024 14:21:42 +0100 Subject: [PATCH] Cleanup --- tests/TestCase/View/Helper/DocBlockHelperTest.php | 4 ++-- tests/phpstan.neon | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/tests/TestCase/View/Helper/DocBlockHelperTest.php b/tests/TestCase/View/Helper/DocBlockHelperTest.php index 9c58945a..49185102 100644 --- a/tests/TestCase/View/Helper/DocBlockHelperTest.php +++ b/tests/TestCase/View/Helper/DocBlockHelperTest.php @@ -30,8 +30,8 @@ public function setUp(): void { $request = new Request(); $response = new Response(); - $this->View = new BakeView($request, $response); - $this->DocBlockHelper = new DocBlockHelper($this->View); + $View = new BakeView($request, $response); + $this->DocBlockHelper = new DocBlockHelper($View); } /** diff --git a/tests/phpstan.neon b/tests/phpstan.neon index fbc28d05..c816e213 100644 --- a/tests/phpstan.neon +++ b/tests/phpstan.neon @@ -4,12 +4,8 @@ parameters: - TestCase/ bootstrapFiles: - bootstrap.php - - ../phpunit.phar - shim.php checkMissingIterableValueType: false earlyTerminatingMethodCalls: Cake\Console\Shell: - abort - ignoreErrors: - excludePaths: - - src/Shell/*