diff --git a/README.md b/README.md
index eccacff..848ee2e 100644
--- a/README.md
+++ b/README.md
@@ -1,10 +1,10 @@
-
-
-
-
+
+
+
+
@@ -128,7 +128,7 @@ the extension is registered automatically. Otherwise, add the following to your
```neon
includes:
- - vendor/jonpurvis/lawman/extension.neon
+ - vendor/saloonphp/lawman/extension.neon
```
## Contributing
diff --git a/composer.json b/composer.json
index d4ef2ad..aa2758d 100644
--- a/composer.json
+++ b/composer.json
@@ -1,5 +1,5 @@
{
- "name": "jonpurvis/lawman",
+ "name": "saloonphp/lawman",
"description": "A PestPHP Plugin to help with architecture testing SaloonPHP integrations",
"keywords": [
"php",
@@ -12,6 +12,9 @@
"saloon"
],
"license": "MIT",
+ "replace": {
+ "jonpurvis/lawman": "self.version"
+ },
"authors": [
{
"name": "Jon Purvis",
@@ -25,7 +28,7 @@
},
"autoload": {
"psr-4": {
- "JonPurvis\\Lawman\\": "src/",
+ "Saloon\\Lawman\\": "src/",
"Tests\\Fixtures\\Arch\\": "tests/Fixtures/Arch"
},
"files": [
diff --git a/extension.neon b/extension.neon
index e91beac..ae8e3c9 100644
--- a/extension.neon
+++ b/extension.neon
@@ -1,5 +1,5 @@
services:
-
- class: JonPurvis\Lawman\PHPStan\ExpectationMethodsClassReflectionExtension
+ class: Saloon\Lawman\PHPStan\ExpectationMethodsClassReflectionExtension
tags:
- phpstan.broker.methodsClassReflectionExtension
diff --git a/src/Autoload.php b/src/Autoload.php
index 74f6a0f..a6a7774 100644
--- a/src/Autoload.php
+++ b/src/Autoload.php
@@ -2,7 +2,7 @@
declare(strict_types=1);
-namespace JonPurvis\Lawman;
+namespace Saloon\Lawman;
require_once __DIR__.'/Expectations/Authentication.php';
require_once __DIR__.'/Expectations/Cache.php';
diff --git a/src/PHPStan/ExpectationMethods.php b/src/PHPStan/ExpectationMethods.php
index 87d8dec..4bc7b15 100644
--- a/src/PHPStan/ExpectationMethods.php
+++ b/src/PHPStan/ExpectationMethods.php
@@ -2,7 +2,7 @@
declare(strict_types=1);
-namespace JonPurvis\Lawman\PHPStan;
+namespace Saloon\Lawman\PHPStan;
use Pest\Expectation;
diff --git a/src/PHPStan/ExpectationMethodsClassReflectionExtension.php b/src/PHPStan/ExpectationMethodsClassReflectionExtension.php
index 1c463c6..2968559 100644
--- a/src/PHPStan/ExpectationMethodsClassReflectionExtension.php
+++ b/src/PHPStan/ExpectationMethodsClassReflectionExtension.php
@@ -2,7 +2,7 @@
declare(strict_types=1);
-namespace JonPurvis\Lawman\PHPStan;
+namespace Saloon\Lawman\PHPStan;
use Pest\Expectation;
use PHPStan\Reflection\ClassReflection;
diff --git a/src/Plugin.php b/src/Plugin.php
index 36a9053..2bb2513 100644
--- a/src/Plugin.php
+++ b/src/Plugin.php
@@ -2,7 +2,7 @@
declare(strict_types=1);
-namespace JonPurvis\Lawman;
+namespace Saloon\Lawman;
// use Pest\Contracts\Plugins\AddsOutput;
// use Pest\Contracts\Plugins\HandlesArguments;