From 0bffae40b5b735c5e9bd14c3db6c2a6c23fdf0ae Mon Sep 17 00:00:00 2001 From: Aaron Francis Date: Thu, 31 Mar 2022 13:35:25 -0500 Subject: [PATCH] Change namespace to Hammerstone --- composer.json | 8 ++++---- phpunit.xml.dist | 2 +- readme.md | 4 ++-- src/IsPseudoDaemon.php | 2 +- src/PseudoDaemonControl.php | 2 +- src/PseudoDaemonServiceProvider.php | 2 +- tests/EventDaemonizeTest.php | 4 ++-- tests/PseudoDaemonTraitTest.php | 6 +++--- tests/Support/TestCommand.php | 4 ++-- 9 files changed, 17 insertions(+), 17 deletions(-) diff --git a/composer.json b/composer.json index ecf9944..ac0c2e1 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "resolute/laravel-pseudo-daemon", + "name": "hammerstone/laravel-pseudo-daemon", "description": "A Laravel package to mimic daemons via scheduled commands without having to change server configuration.", "type": "library", "license": "MIT", @@ -20,18 +20,18 @@ }, "autoload": { "psr-4": { - "Resolute\\PseudoDaemon\\": "src/" + "Hammerstone\\PseudoDaemon\\": "src/" } }, "autoload-dev": { "psr-4": { - "Resolute\\PseudoDaemon\\Tests\\": "tests/" + "Hammerstone\\PseudoDaemon\\Tests\\": "tests/" } }, "extra": { "laravel": { "providers": [ - "Resolute\\PseudoDaemon\\PseudoDaemonServiceProvider" + "Hammerstone\\PseudoDaemon\\PseudoDaemonServiceProvider" ] } } diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 693276b..140aaca 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -11,7 +11,7 @@ processIsolation="false" stopOnFailure="false"> - + tests diff --git a/readme.md b/readme.md index e5afdfa..2363021 100644 --- a/readme.md +++ b/readme.md @@ -10,7 +10,7 @@ A Laravel package to mimic daemons via scheduled commands without having to chan You can install the package via composer: -`composer require resolute/laravel-pseudo-daemon` +`composer require Hammerstone/laravel-pseudo-daemon` # Basic Usage @@ -19,7 +19,7 @@ Add the `IsPseudoDaemon` trait to any of your Laravel Commands and call `runAsPs ```php class TestCommand extends Command { - use \Resolute\PseudoDaemon\IsPseudoDaemon; + use \Hammerstone\PseudoDaemon\IsPseudoDaemon; public function handle() { diff --git a/src/IsPseudoDaemon.php b/src/IsPseudoDaemon.php index 518c7c4..285f868 100644 --- a/src/IsPseudoDaemon.php +++ b/src/IsPseudoDaemon.php @@ -3,7 +3,7 @@ * @author Aaron Francis */ -namespace Resolute\PseudoDaemon; +namespace Hammerstone\PseudoDaemon; use Illuminate\Support\Carbon; use Illuminate\Support\Str; diff --git a/src/PseudoDaemonControl.php b/src/PseudoDaemonControl.php index d1667dd..f66e4c9 100644 --- a/src/PseudoDaemonControl.php +++ b/src/PseudoDaemonControl.php @@ -3,7 +3,7 @@ * @author Aaron Francis */ -namespace Resolute\PseudoDaemon; +namespace Hammerstone\PseudoDaemon; class PseudoDaemonControl { diff --git a/src/PseudoDaemonServiceProvider.php b/src/PseudoDaemonServiceProvider.php index c5839d6..f25998e 100644 --- a/src/PseudoDaemonServiceProvider.php +++ b/src/PseudoDaemonServiceProvider.php @@ -3,7 +3,7 @@ * @author Aaron Francis */ -namespace Resolute\PseudoDaemon; +namespace Hammerstone\PseudoDaemon; use Illuminate\Console\Scheduling\CallbackEvent; use Illuminate\Console\Scheduling\Event; diff --git a/tests/EventDaemonizeTest.php b/tests/EventDaemonizeTest.php index e5884a0..8ed2ba2 100644 --- a/tests/EventDaemonizeTest.php +++ b/tests/EventDaemonizeTest.php @@ -3,12 +3,12 @@ * @author Aaron Francis */ -namespace Resolute\PseudoDaemon\Tests; +namespace Hammerstone\PseudoDaemon\Tests; use Illuminate\Console\Scheduling\CacheEventMutex; use Illuminate\Console\Scheduling\Event; use Orchestra\Testbench\TestCase; -use Resolute\PseudoDaemon\PseudoDaemonServiceProvider; +use Hammerstone\PseudoDaemon\PseudoDaemonServiceProvider; class EventDaemonizeTest extends TestCase { diff --git a/tests/PseudoDaemonTraitTest.php b/tests/PseudoDaemonTraitTest.php index 6fd2d32..55a9e59 100644 --- a/tests/PseudoDaemonTraitTest.php +++ b/tests/PseudoDaemonTraitTest.php @@ -3,13 +3,13 @@ * @author Aaron Francis */ -namespace Resolute\PseudoDaemon\Tests; +namespace Hammerstone\PseudoDaemon\Tests; use Illuminate\Support\Carbon; use Mockery; use Orchestra\Testbench\TestCase; -use Resolute\PseudoDaemon\PseudoDaemonControl; -use Resolute\PseudoDaemon\Tests\Support\TestCommand; +use Hammerstone\PseudoDaemon\PseudoDaemonControl; +use Hammerstone\PseudoDaemon\Tests\Support\TestCommand; class PseudoDaemonTraitTest extends TestCase { diff --git a/tests/Support/TestCommand.php b/tests/Support/TestCommand.php index f3ea544..9da3a4a 100644 --- a/tests/Support/TestCommand.php +++ b/tests/Support/TestCommand.php @@ -3,11 +3,11 @@ * @author Aaron Francis */ -namespace Resolute\PseudoDaemon\Tests\Support; +namespace Hammerstone\PseudoDaemon\Tests\Support; use Illuminate\Console\Command; -use Resolute\PseudoDaemon\IsPseudoDaemon; +use Hammerstone\PseudoDaemon\IsPseudoDaemon; class TestCommand extends Command {