From c783980ab24bc8bd416b612b7e1bfc052b3d1b3e Mon Sep 17 00:00:00 2001 From: Wilmer Arambula Date: Sat, 30 Sep 2023 10:41:32 -0300 Subject: [PATCH] Update namespaces. --- README.md | 2 +- composer.json | 4 ++-- src/Example.php | 2 +- tests/ExampleTest.php | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 64f169d..e57a09b 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ For install this package, you need [composer](https://getcomposer.org/). [![Mutation testing badge](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fyii2-extensions%2Ftemplate%2Fmain)](https://dashboard.stryker-mutator.io/reports/github.com/yii2-extensions/template/main) [![static analysis](https://github.com/yii2-extensions/template/actions/workflows/static.yml/badge.svg)](https://github.com/yii2-extensions/template/actions/workflows/static.yml) [![type-coverage](https://shepherd.dev/github/yii2-extensions/template/coverage.svg)](https://shepherd.dev/github/yii2-extensions/template) -[![StyleCI](https://github.styleci.io/repos/494495136/shield?branch=main)](https://github.styleci.io/repos/494495136?branch=main) +[![StyleCI](https://github.styleci.io/repos/698621511/shield?branch=main)](https://github.styleci.io/repos/698621511?branch=main) ## Our social networks diff --git a/composer.json b/composer.json index 4c6a791..24aa0ed 100644 --- a/composer.json +++ b/composer.json @@ -19,12 +19,12 @@ }, "autoload": { "psr-4": { - "yii2\\template\\": "src" + "yii\\template\\": "src" } }, "autoload-dev": { "psr-4": { - "yii2\\template\\tests\\": "tests" + "yii\\template\\tests\\": "tests" } }, "extra": { diff --git a/src/Example.php b/src/Example.php index c9d61f5..067eeb8 100644 --- a/src/Example.php +++ b/src/Example.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace yii2\template; +namespace yii\template; final class Example { diff --git a/tests/ExampleTest.php b/tests/ExampleTest.php index ce29e53..2825a4e 100644 --- a/tests/ExampleTest.php +++ b/tests/ExampleTest.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace yii2\template\tests; +namespace yii\template\tests; use PHPUnit\Framework\TestCase; -use yii2\template\Example; +use yii\template\Example; final class ExampleTest extends TestCase {