Skip to content

Commit b9077e7

Browse files
authored
Merge pull request #1503 from hydephp/normalize-code-style
Normalize console command descriptions
2 parents 56f3bf8 + e48dd97 commit b9077e7

File tree

8 files changed

+12
-12
lines changed

8 files changed

+12
-12
lines changed

RELEASE_NOTES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This serves two purposes:
1414

1515
### Changed
1616
- Shortened the path printed to console when using the dashboard to create a page in https://github.com/hydephp/develop/pull/1492
17-
- Code cleanup and style improvements in https://github.com/hydephp/develop/pull/1501 and https://github.com/hydephp/develop/pull/1502
17+
- Code cleanup and style improvements in https://github.com/hydephp/develop/pull/1501, https://github.com/hydephp/develop/pull/1502, and https://github.com/hydephp/develop/pull/1503.
1818

1919
### Deprecated
2020
- for soon-to-be removed features.

packages/framework/src/Console/Commands/ChangeSourceDirectoryCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class ChangeSourceDirectoryCommand extends Command
3030
protected $signature = 'change:sourceDirectory {name : The new source directory name }';
3131

3232
/** @var string */
33-
protected $description = 'Change the source directory for your project.';
33+
protected $description = 'Change the source directory for your project';
3434

3535
protected $hidden = true;
3636

packages/framework/src/Console/Commands/DebugCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class DebugCommand extends Command
2222
protected $signature = 'debug';
2323

2424
/** @var string */
25-
protected $description = 'Print debug info';
25+
protected $description = 'Print debug information';
2626

2727
public function __construct()
2828
{

packages/framework/src/Console/Commands/PublishHomepageCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class PublishHomepageCommand extends Command
2929
{--force : Overwrite any existing files}';
3030

3131
/** @var string */
32-
protected $description = 'Publish one of the default homepages to index.blade.php.';
32+
protected $description = 'Publish one of the default homepages to index.blade.php';
3333

3434
/** @var array<string, array{name: string, description: string, group: string}> */
3535
protected array $options = [

packages/framework/src/Console/Commands/PublishViewsCommand.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,23 +20,23 @@ class PublishViewsCommand extends Command
2020
protected $signature = 'publish:views {category? : The category to publish}';
2121

2222
/** @var string */
23-
protected $description = 'Publish the hyde components for customization. Note that existing files will be overwritten.';
23+
protected $description = 'Publish the hyde components for customization. Note that existing files will be overwritten';
2424

2525
/** @var array<string, array<string, string>> */
2626
protected array $options = [
2727
'layouts' => [
2828
'name' => 'Blade Layouts',
29-
'description' => 'Shared layout views, such as the app layout, navigation menu, and Markdown page templates.',
29+
'description' => 'Shared layout views, such as the app layout, navigation menu, and Markdown page templates',
3030
'group' => 'hyde-layouts',
3131
],
3232
'components' => [
3333
'name' => 'Blade Components',
34-
'description' => 'More or less self contained components, extracted for customizability and DRY code.',
34+
'description' => 'More or less self contained components, extracted for customizability and DRY code',
3535
'group' => 'hyde-components',
3636
],
3737
'page-404' => [
3838
'name' => '404 Page',
39-
'description' => 'A beautiful 404 error page by the Laravel Collective.',
39+
'description' => 'A beautiful 404 error page by the Laravel Collective',
4040
'group' => 'hyde-page-404',
4141
],
4242
];

packages/framework/src/Console/Commands/RouteListCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class RouteListCommand extends Command
2323
protected $signature = 'route:list';
2424

2525
/** @var string */
26-
protected $description = 'Display all registered routes.';
26+
protected $description = 'Display all the registered routes';
2727

2828
public function handle(): int
2929
{

packages/framework/src/Console/Commands/ServeCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class ServeCommand extends Command
3636
';
3737

3838
/** @var string */
39-
protected $description = 'Start the realtime compiler server.';
39+
protected $description = 'Start the realtime compiler server';
4040

4141
protected ConsoleOutput $console;
4242

packages/framework/src/Console/Commands/ValidateCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ class ValidateCommand extends Command
2424
protected $signature = 'validate';
2525

2626
/** @var string */
27-
protected $description = 'Test and validate your project to optimize your site.';
27+
protected $description = 'Test and validate your project to optimize your site';
2828

2929
/** @var string */
30-
protected $help = 'Run a series of tests to validate your setup and help you optimize your site.';
30+
protected $help = 'Run a series of tests to validate your setup and help you optimize your site';
3131

3232
protected ValidationService $service;
3333

0 commit comments

Comments
 (0)