Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/snippets/schedule-setup-manual.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

use DragonCode\LaravelFeed\Console\Commands\FeedGenerateCommand;
use DragonCode\LaravelFeed\Commands\FeedGenerateCommand;
use Illuminate\Support\Facades\Schedule;

Schedule::command(FeedGenerateCommand::class, [111])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace DragonCode\LaravelFeed\Console\Commands;
namespace DragonCode\LaravelFeed\Commands;

use DragonCode\LaravelFeed\Exceptions\InvalidFeedArgumentException;
use DragonCode\LaravelFeed\Queries\FeedQuery;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace DragonCode\LaravelFeed\Console\Commands;
namespace DragonCode\LaravelFeed\Commands;

use DragonCode\LaravelFeed\Concerns\InteractsWithName;
use Illuminate\Console\GeneratorCommand;
Expand All @@ -18,7 +18,7 @@ class FeedInfoMakeCommand extends GeneratorCommand

protected function getStub(): string
{
return __DIR__ . '/../../../stubs/feed_info.stub';
return __DIR__ . '/../../stubs/feed_info.stub';
}

protected function getDefaultNamespace($rootNamespace): string // @pest-ignore-type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace DragonCode\LaravelFeed\Console\Commands;
namespace DragonCode\LaravelFeed\Commands;

use DragonCode\LaravelFeed\Concerns\InteractsWithName;
use Illuminate\Console\GeneratorCommand;
Expand All @@ -18,7 +18,7 @@ class FeedItemMakeCommand extends GeneratorCommand

protected function getStub(): string
{
return __DIR__ . '/../../../stubs/feed_item.stub';
return __DIR__ . '/../../stubs/feed_item.stub';
}

protected function getDefaultNamespace($rootNamespace): string // @pest-ignore-type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace DragonCode\LaravelFeed\Console\Commands;
namespace DragonCode\LaravelFeed\Commands;

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

protected function getStub(): string
{
return __DIR__ . '/../../../stubs/feed.stub';
return __DIR__ . '/../../stubs/feed.stub';
}

protected function getDefaultNamespace($rootNamespace): string // @pest-ignore-type
Expand Down
2 changes: 1 addition & 1 deletion src/Helpers/ScheduleFeedHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace DragonCode\LaravelFeed\Helpers;

use DragonCode\LaravelFeed\Console\Commands\FeedGenerateCommand;
use DragonCode\LaravelFeed\Commands\FeedGenerateCommand;
use DragonCode\LaravelFeed\Models\Feed;
use DragonCode\LaravelFeed\Queries\FeedQuery;
use Illuminate\Console\Scheduling\Event;
Expand Down
8 changes: 4 additions & 4 deletions src/LaravelFeedServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

namespace DragonCode\LaravelFeed;

use DragonCode\LaravelFeed\Console\Commands\FeedGenerateCommand;
use DragonCode\LaravelFeed\Console\Commands\FeedInfoMakeCommand;
use DragonCode\LaravelFeed\Console\Commands\FeedItemMakeCommand;
use DragonCode\LaravelFeed\Console\Commands\FeedMakeCommand;
use DragonCode\LaravelFeed\Commands\FeedGenerateCommand;
use DragonCode\LaravelFeed\Commands\FeedInfoMakeCommand;
use DragonCode\LaravelFeed\Commands\FeedItemMakeCommand;
use DragonCode\LaravelFeed\Commands\FeedMakeCommand;
use Illuminate\Support\ServiceProvider;

class LaravelFeedServiceProvider extends ServiceProvider
Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/Console/Generation/DefaultTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

use DragonCode\LaravelFeed\Console\Commands\FeedGenerateCommand;
use DragonCode\LaravelFeed\Commands\FeedGenerateCommand;
use DragonCode\LaravelFeed\Models\Feed;

use function Pest\Laravel\artisan;
Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/Console/Generation/DisabledTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

use DragonCode\LaravelFeed\Console\Commands\FeedGenerateCommand;
use DragonCode\LaravelFeed\Commands\FeedGenerateCommand;
use DragonCode\LaravelFeed\Models\Feed;
use Workbench\App\Feeds\SitemapFeed;
use Workbench\App\Feeds\YandexFeed;
Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/Console/Generation/FoundTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

use DragonCode\LaravelFeed\Console\Commands\FeedGenerateCommand;
use DragonCode\LaravelFeed\Commands\FeedGenerateCommand;
use DragonCode\LaravelFeed\Models\Feed;

use function Pest\Laravel\artisan;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

use DragonCode\LaravelFeed\Console\Commands\FeedGenerateCommand;
use DragonCode\LaravelFeed\Commands\FeedGenerateCommand;
use DragonCode\LaravelFeed\Exceptions\InvalidFeedArgumentException;

use function Pest\Laravel\artisan;
Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/Console/Generation/NotFoundTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

use DragonCode\LaravelFeed\Console\Commands\FeedGenerateCommand;
use DragonCode\LaravelFeed\Commands\FeedGenerateCommand;
use DragonCode\LaravelFeed\Exceptions\FeedNotFoundException;

use function Pest\Laravel\artisan;
Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/Console/Generation/SpecifiedTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

use DragonCode\LaravelFeed\Console\Commands\FeedGenerateCommand;
use DragonCode\LaravelFeed\Commands\FeedGenerateCommand;
use DragonCode\LaravelFeed\Models\Feed;
use Workbench\App\Feeds\SitemapFeed;

Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/Queries/Create/LastActivity.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

use DragonCode\LaravelFeed\Console\Commands\FeedGenerateCommand;
use DragonCode\LaravelFeed\Commands\FeedGenerateCommand;
use DragonCode\LaravelFeed\Models\Feed;

use function Pest\Laravel\artisan;
Expand Down
2 changes: 1 addition & 1 deletion tests/Helpers/expects.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

use DragonCode\LaravelFeed\Console\Commands\FeedGenerateCommand;
use DragonCode\LaravelFeed\Commands\FeedGenerateCommand;

use function Pest\Laravel\artisan;

Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Console/Make/FeedTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

use DragonCode\LaravelFeed\Console\Commands\FeedMakeCommand;
use DragonCode\LaravelFeed\Commands\FeedMakeCommand;

use function Pest\Laravel\artisan;

Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Console/Make/InfoTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

use DragonCode\LaravelFeed\Console\Commands\FeedMakeCommand;
use DragonCode\LaravelFeed\Commands\FeedMakeCommand;

use function Pest\Laravel\artisan;

Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Console/Make/ItemTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

use DragonCode\LaravelFeed\Console\Commands\FeedMakeCommand;
use DragonCode\LaravelFeed\Commands\FeedMakeCommand;

use function Pest\Laravel\artisan;

Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Console/Make/MigrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

use DragonCode\LaravelFeed\Console\Commands\FeedMakeCommand;
use DragonCode\LaravelFeed\Commands\FeedMakeCommand;

use function Pest\Laravel\artisan;

Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Console/Make/OperationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

use DragonCode\LaravelFeed\Console\Commands\FeedMakeCommand;
use DragonCode\LaravelFeed\Commands\FeedMakeCommand;

use function Pest\Laravel\artisan;

Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Console/MakeInfoTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

use DragonCode\LaravelFeed\Console\Commands\FeedInfoMakeCommand;
use DragonCode\LaravelFeed\Commands\FeedInfoMakeCommand;

use function Pest\Laravel\artisan;

Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Console/MakeItemTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

use DragonCode\LaravelFeed\Console\Commands\FeedItemMakeCommand;
use DragonCode\LaravelFeed\Commands\FeedItemMakeCommand;

use function Pest\Laravel\artisan;

Expand Down