From e517295f7e7b04bd1d184c17ce52735127bc09ef Mon Sep 17 00:00:00 2001 From: Bruce Weirdan Date: Thu, 17 Feb 2022 03:52:07 +0200 Subject: [PATCH] Fixed PSR-4 warnings Fixes the following warnings that were emitted by `composer install`: ``` Generating optimized autoload files Class Psalm\Tests\KeyOfTemplateTest located in ./tests/Template/KeyOfTemplateTest.php does not comply with psr-4 autoloading standard. Skipping. Class Psalm\Tests\ValueOfTemplateTest located in ./tests/Template/ValueOfTemplateTest.php does not comply with psr-4 autoloading standard. Skipping. ``` --- tests/Template/KeyOfTemplateTest.php | 3 ++- tests/Template/ValueOfTemplateTest.php | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/Template/KeyOfTemplateTest.php b/tests/Template/KeyOfTemplateTest.php index f5d9ded0236..69696ba7a2b 100644 --- a/tests/Template/KeyOfTemplateTest.php +++ b/tests/Template/KeyOfTemplateTest.php @@ -2,8 +2,9 @@ declare(strict_types=1); -namespace Psalm\Tests; +namespace Psalm\Tests\Template; +use Psalm\Tests\TestCase; use Psalm\Tests\Traits\InvalidCodeAnalysisTestTrait; use Psalm\Tests\Traits\ValidCodeAnalysisTestTrait; diff --git a/tests/Template/ValueOfTemplateTest.php b/tests/Template/ValueOfTemplateTest.php index 96d0d4dcacf..62d3a9d2c36 100644 --- a/tests/Template/ValueOfTemplateTest.php +++ b/tests/Template/ValueOfTemplateTest.php @@ -2,8 +2,9 @@ declare(strict_types=1); -namespace Psalm\Tests; +namespace Psalm\Tests\Template; +use Psalm\Tests\TestCase; use Psalm\Tests\Traits\InvalidCodeAnalysisTestTrait; use Psalm\Tests\Traits\ValidCodeAnalysisTestTrait;