From ebf206d9903123a47e8d7afaf0c53dbe84f209d9 Mon Sep 17 00:00:00 2001 From: wpjscc Date: Sat, 10 Aug 2024 09:38:47 +0800 Subject: [PATCH] modify namespace --- README.md | 6 +++--- composer.json | 6 +++--- examples/01.php | 2 +- src/Json.php | 2 +- src/Test.php | 2 +- tests/JsonComposeDownToUpTest.php | 4 ++-- tests/JsonComposeTest.php | 4 ++-- tests/JsonDataOptionTest.php | 4 ++-- tests/JsonLogicTest.php | 4 ++-- tests/JsonTest.php | 4 ++-- tests/TestCase.php | 2 +- 11 files changed, 20 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 61146dd..b318a54 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ -# reactphp-framework/json +# reactphp-x/json ## install ``` -composer require reactphp-framework/json -vvv +composer require reactphp-x/json -vvv ``` ## Usage @@ -11,7 +11,7 @@ composer require reactphp-framework/json -vvv ```php require __DIR__ . "/vendor/autoload.php"; -use Reactphp\Framework\Json\Json; +use ReactphpX\Json\Json; $json = new Json(); diff --git a/composer.json b/composer.json index ca5f679..2e9f0e4 100644 --- a/composer.json +++ b/composer.json @@ -1,9 +1,9 @@ { - "name": "reactphp-framework/json", + "name": "reactphp-x/json", "license": "MIT", "autoload": { "psr-4": { - "Reactphp\\Framework\\Json\\": "src/" + "ReactphpX\\Json\\": "src/" }, "files": [ "src/helpers.php" @@ -11,7 +11,7 @@ }, "autoload-dev": { "psr-4": { - "Reactphp\\Framework\\Json\\Tests\\": "tests/" + "ReactphpX\\Json\\Tests\\": "tests/" } }, "authors": [ diff --git a/examples/01.php b/examples/01.php index 8d17b63..572e517 100644 --- a/examples/01.php +++ b/examples/01.php @@ -2,7 +2,7 @@ require __DIR__ . "./../vendor/autoload.php"; -use Reactphp\Framework\Json\Json; +use ReactphpX\Json\Json; $json = new Json(); diff --git a/src/Json.php b/src/Json.php index bb409b0..e2938f5 100644 --- a/src/Json.php +++ b/src/Json.php @@ -1,6 +1,6 @@