Skip to content

Commit 01f545e

Browse files
The DragonCode\LaravelFeed\Console\Commands namespace was replaced with DragonCode\LaravelFeed\Commands
1 parent 444d3ed commit 01f545e

22 files changed

+28
-28
lines changed

docs/snippets/schedule-setup-manual.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
use DragonCode\LaravelFeed\Console\Commands\FeedGenerateCommand;
5+
use DragonCode\LaravelFeed\Commands\FeedGenerateCommand;
66
use Illuminate\Support\Facades\Schedule;
77

88
Schedule::command(FeedGenerateCommand::class, [111])

src/Console/Commands/FeedGenerateCommand.php renamed to src/Commands/FeedGenerateCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
namespace DragonCode\LaravelFeed\Console\Commands;
5+
namespace DragonCode\LaravelFeed\Commands;
66

77
use DragonCode\LaravelFeed\Exceptions\InvalidFeedArgumentException;
88
use DragonCode\LaravelFeed\Queries\FeedQuery;

src/Console/Commands/FeedInfoMakeCommand.php renamed to src/Commands/FeedInfoMakeCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
namespace DragonCode\LaravelFeed\Console\Commands;
5+
namespace DragonCode\LaravelFeed\Commands;
66

77
use DragonCode\LaravelFeed\Concerns\InteractsWithName;
88
use Illuminate\Console\GeneratorCommand;
@@ -18,7 +18,7 @@ class FeedInfoMakeCommand extends GeneratorCommand
1818

1919
protected function getStub(): string
2020
{
21-
return __DIR__ . '/../../../stubs/feed_info.stub';
21+
return __DIR__ . '/../../stubs/feed_info.stub';
2222
}
2323

2424
protected function getDefaultNamespace($rootNamespace): string // @pest-ignore-type

src/Console/Commands/FeedItemMakeCommand.php renamed to src/Commands/FeedItemMakeCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
namespace DragonCode\LaravelFeed\Console\Commands;
5+
namespace DragonCode\LaravelFeed\Commands;
66

77
use DragonCode\LaravelFeed\Concerns\InteractsWithName;
88
use Illuminate\Console\GeneratorCommand;
@@ -18,7 +18,7 @@ class FeedItemMakeCommand extends GeneratorCommand
1818

1919
protected function getStub(): string
2020
{
21-
return __DIR__ . '/../../../stubs/feed_item.stub';
21+
return __DIR__ . '/../../stubs/feed_item.stub';
2222
}
2323

2424
protected function getDefaultNamespace($rootNamespace): string // @pest-ignore-type

src/Console/Commands/FeedMakeCommand.php renamed to src/Commands/FeedMakeCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
namespace DragonCode\LaravelFeed\Console\Commands;
5+
namespace DragonCode\LaravelFeed\Commands;
66

77
use DragonCode\LaravelDeployOperations\Operation;
88
use DragonCode\LaravelFeed\Concerns\InteractsWithName;
@@ -77,7 +77,7 @@ protected function makeFeedInfo(string $name, bool $force): void
7777

7878
protected function getStub(): string
7979
{
80-
return __DIR__ . '/../../../stubs/feed.stub';
80+
return __DIR__ . '/../../stubs/feed.stub';
8181
}
8282

8383
protected function getDefaultNamespace($rootNamespace): string // @pest-ignore-type

src/Helpers/ScheduleFeedHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace DragonCode\LaravelFeed\Helpers;
66

7-
use DragonCode\LaravelFeed\Console\Commands\FeedGenerateCommand;
7+
use DragonCode\LaravelFeed\Commands\FeedGenerateCommand;
88
use DragonCode\LaravelFeed\Models\Feed;
99
use DragonCode\LaravelFeed\Queries\FeedQuery;
1010
use Illuminate\Console\Scheduling\Event;

src/LaravelFeedServiceProvider.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
namespace DragonCode\LaravelFeed;
66

7-
use DragonCode\LaravelFeed\Console\Commands\FeedGenerateCommand;
8-
use DragonCode\LaravelFeed\Console\Commands\FeedInfoMakeCommand;
9-
use DragonCode\LaravelFeed\Console\Commands\FeedItemMakeCommand;
10-
use DragonCode\LaravelFeed\Console\Commands\FeedMakeCommand;
7+
use DragonCode\LaravelFeed\Commands\FeedGenerateCommand;
8+
use DragonCode\LaravelFeed\Commands\FeedInfoMakeCommand;
9+
use DragonCode\LaravelFeed\Commands\FeedItemMakeCommand;
10+
use DragonCode\LaravelFeed\Commands\FeedMakeCommand;
1111
use Illuminate\Support\ServiceProvider;
1212

1313
class LaravelFeedServiceProvider extends ServiceProvider

tests/Feature/Console/Generation/DefaultTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
use DragonCode\LaravelFeed\Console\Commands\FeedGenerateCommand;
5+
use DragonCode\LaravelFeed\Commands\FeedGenerateCommand;
66
use DragonCode\LaravelFeed\Models\Feed;
77

88
use function Pest\Laravel\artisan;

tests/Feature/Console/Generation/DisabledTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
use DragonCode\LaravelFeed\Console\Commands\FeedGenerateCommand;
5+
use DragonCode\LaravelFeed\Commands\FeedGenerateCommand;
66
use DragonCode\LaravelFeed\Models\Feed;
77
use Workbench\App\Feeds\SitemapFeed;
88
use Workbench\App\Feeds\YandexFeed;

tests/Feature/Console/Generation/FoundTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
use DragonCode\LaravelFeed\Console\Commands\FeedGenerateCommand;
5+
use DragonCode\LaravelFeed\Commands\FeedGenerateCommand;
66
use DragonCode\LaravelFeed\Models\Feed;
77

88
use function Pest\Laravel\artisan;

0 commit comments

Comments
 (0)