Skip to content

Commit 22fb3f3

Browse files
committed
Apply fixes from StyleCI
[ci skip] [skip ci]
1 parent f4e9d35 commit 22fb3f3

10 files changed

+4
-13
lines changed

src/Actions/ConvertsFooterMarkdown.php

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Hyde\Framework\Actions;
44

5-
65
use Illuminate\Support\Str;
76

87
/**

src/Actions/GeneratesDocumentationSidebar.php

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Hyde\Framework\Actions;
44

5-
65
use Hyde\Framework\Hyde;
76
use Hyde\Framework\Models\DocumentationPage;
87
use Hyde\Framework\Services\CollectionService;

src/Actions/GeneratesNavigationMenu.php

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Hyde\Framework\Actions;
44

5-
65
use Hyde\Framework\Features;
76
use Hyde\Framework\Hyde;
87
use Hyde\Framework\Services\CollectionService;

src/Commands/HydeMakePageCommand.php

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
/**
1212
* Hyde Command to scaffold a new Markdown or Blade page file.
13+
*
1314
* @todo Ask for title if it was not specified.
1415
*/
1516
class HydeMakePageCommand extends Command

src/Commands/HydeMakePostCommand.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function handle(): int
3838

3939
$this->line(
4040
$this->argument('title')
41-
? '<info>Selected title: ' . $this->argument('title') . "</info>\n"
41+
? '<info>Selected title: '.$this->argument('title')."</info>\n"
4242
: 'Please enter the title of the post, it will be used to generate the slug.'
4343
);
4444

@@ -66,7 +66,7 @@ public function handle(): int
6666
$this->line("Date: $creator->date");
6767
$this->line("Slug: $creator->slug");
6868

69-
if (!$this->confirm('Do you wish to continue?', true)) {
69+
if (! $this->confirm('Do you wish to continue?', true)) {
7070
$this->info('Aborting.');
7171

7272
return 130;

src/Concerns/HasTableOfContents.php

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Hyde\Framework\Concerns;
44

5-
65
use Hyde\Framework\Actions\GeneratesTableOfContents;
76

87
/**

src/Concerns/Internal/FileHelpers.php

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
namespace Hyde\Framework\Concerns\Internal;
44

5-
6-
75
/**
86
* General file helpers intended to be used through the Hyde Facade.
97
*/

src/Concerns/Markdown/HasMarkdownFeatures.php

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
namespace Hyde\Framework\Concerns\Markdown;
44

5-
6-
75
/**
86
* Global Markdown Feature Handler.
97
*

src/Concerns/Markdown/HasTorchlightIntegration.php

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
namespace Hyde\Framework\Concerns\Markdown;
44

5-
6-
75
trait HasTorchlightIntegration
86
{
97
protected bool $useTorchlight;

tests/Feature/Commands/MakePostCommandTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,5 +119,5 @@ public function test_that_command_can_be_canceled()
119119
->assertExitCode(130);
120120

121121
$this->assertFileDoesNotExist($this->getPath());
122-
}
122+
}
123123
}

0 commit comments

Comments
 (0)