Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply fixes from StyleCI #2112

Merged
merged 1 commit into from
Feb 11, 2025
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
3 changes: 2 additions & 1 deletion src/Command/About.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ protected function configure()
$this
->setName('about')
->setDescription('Shows a short description about Cecil')
->setHelp(<<<'EOF'
->setHelp(
<<<'EOF'
The <info>%command.name%</> command displays a short description about Cecil.
EOF
);
Expand Down
3 changes: 2 additions & 1 deletion src/Command/Build.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ protected function configure()
new InputOption('clear-cache', null, InputOption::VALUE_OPTIONAL, 'Clear cache before build (optional cache key regular expression)', false),
new InputOption('show-pages', null, InputOption::VALUE_NONE, 'Show built pages as table'),
])
->setHelp(<<<'EOF'
->setHelp(
<<<'EOF'
The <info>%command.name%</> command generates the website in the <comment>output</comment> directory.

To build the website, run:
Expand Down
3 changes: 2 additions & 1 deletion src/Command/CacheClear.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ protected function configure()
->setDefinition([
new InputArgument('path', InputArgument::OPTIONAL, 'Use the given path as working directory'),
])
->setHelp(<<<'EOF'
->setHelp(
<<<'EOF'
The <info>%command.name%</> command removes all cached files.
EOF
);
Expand Down
3 changes: 2 additions & 1 deletion src/Command/CacheClearAssets.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ protected function configure()
->setDefinition([
new InputArgument('path', InputArgument::OPTIONAL, 'Use the given path as working directory'),
])
->setHelp(<<<'EOF'
->setHelp(
<<<'EOF'
The <info>%command.name%</> command removes cached assets files.
EOF
);
Expand Down
3 changes: 2 additions & 1 deletion src/Command/CacheClearTemplates.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ protected function configure()
->setDefinition([
new InputArgument('path', InputArgument::OPTIONAL, 'Use the given path as working directory'),
])
->setHelp(<<<'EOF'
->setHelp(
<<<'EOF'
The <info>%command.name%</> command removes cached templates files.
EOF
);
Expand Down
3 changes: 2 additions & 1 deletion src/Command/CacheClearTranslations.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ protected function configure()
->setDefinition([
new InputArgument('path', InputArgument::OPTIONAL, 'Use the given path as working directory'),
])
->setHelp(<<<'EOF'
->setHelp(
<<<'EOF'
The <info>%command.name%</> command removes cached translations files.
EOF
);
Expand Down
3 changes: 2 additions & 1 deletion src/Command/Clear.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ protected function configure()
->setDefinition([
new InputArgument('path', InputArgument::OPTIONAL, 'Use the given path as working directory'),
])
->setHelp(<<<'EOF'
->setHelp(
<<<'EOF'
The <info>%command.name%</> command removes generated, temporary and cache files.
EOF
);
Expand Down
3 changes: 2 additions & 1 deletion src/Command/NewPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ protected function configure()
new InputOption('open', 'o', InputOption::VALUE_NONE, 'Open editor automatically'),
new InputOption('editor', null, InputOption::VALUE_REQUIRED, 'Editor to use with open option'),
])
->setHelp(<<<'EOF'
->setHelp(
<<<'EOF'
The <info>%command.name%</> command creates a new page file.

To create a new page, run:
Expand Down
3 changes: 2 additions & 1 deletion src/Command/NewSite.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ protected function configure()
new InputOption('force', 'f', InputOption::VALUE_NONE, 'Override directory if it already exists'),
new InputOption('demo', null, InputOption::VALUE_NONE, 'Add demo content (pages, templates and assets)'),
])
->setHelp(<<<'EOF'
->setHelp(
<<<'EOF'
The <info>%command.name%</> command creates a new website in the current directory, or in <comment><path></> if provided.

To create a new website, run:
Expand Down
3 changes: 2 additions & 1 deletion src/Command/OpenWith.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ protected function configure()
new InputArgument('path', InputArgument::OPTIONAL, 'Use the given path as working directory'),
new InputOption('editor', null, InputOption::VALUE_REQUIRED, 'Editor to use'),
])
->setHelp(<<<'EOF'
->setHelp(
<<<'EOF'
The <info>%command.name%</> command open pages directory with the editor defined in the configuration file.

To open pages directory with the editor, run:
Expand Down
3 changes: 2 additions & 1 deletion src/Command/SelfUpdate.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ protected function configure()
new InputOption('stable', null, InputOption::VALUE_NONE, 'Force an update to the last stable version'),
new InputOption('preview', null, InputOption::VALUE_NONE, 'Force an update to the last unstable version'),
])
->setHelp(<<<'EOF'
->setHelp(
<<<'EOF'
The <info>%command.name%</> command checks for a newer version and, if found, downloads and installs the latest.

To update Cecil, run:
Expand Down
3 changes: 2 additions & 1 deletion src/Command/Serve.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ protected function configure()
new InputOption('clear-cache', null, InputOption::VALUE_OPTIONAL, 'Clear cache before build (optional cache key regular expression)', false),
new InputOption('no-ignore-vcs', null, InputOption::VALUE_NONE, 'Changes watcher must not ignore VCS directories'),
])
->setHelp(<<<'EOF'
->setHelp(
<<<'EOF'
The <info>%command.name%</> command starts the live-reloading-built-in web server.

To start the server, run:
Expand Down
3 changes: 2 additions & 1 deletion src/Command/ShowConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ protected function configure()
new InputArgument('path', InputArgument::OPTIONAL, 'Use the given path as working directory'),
new InputOption('config', 'c', InputOption::VALUE_REQUIRED, 'Set the path to the config file'),
])
->setHelp(<<<'EOF'
->setHelp(
<<<'EOF'
The <info>%command.name%</> command shows the website\'s configuration in YAML format.

To show the configuration, run:
Expand Down
3 changes: 2 additions & 1 deletion src/Command/ShowContent.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ protected function configure()
new InputArgument('path', InputArgument::OPTIONAL, 'Use the given path as working directory'),
new InputOption('config', 'c', InputOption::VALUE_REQUIRED, 'Set the path to the config file'),
])
->setHelp(<<<'EOF'
->setHelp(
<<<'EOF'
The <info>%command.name%</> command shows the website\'s content as a tree.

To show the content, run:
Expand Down
3 changes: 2 additions & 1 deletion src/Command/UtilTemplatesExtract.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ protected function configure()
new InputArgument('path', InputArgument::OPTIONAL, 'Use the given path as working directory'),
new InputOption('force', 'f', InputOption::VALUE_NONE, 'Override files if they already exist'),
])
->setHelp(<<<'EOF'
->setHelp(
<<<'EOF'
The <info>%command.name%</> command extracts built-in templates in the "layouts" directory.

To extract built-in templates, run:
Expand Down
3 changes: 2 additions & 1 deletion src/Command/UtilTranslationsExtract.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ protected function configure(): void
new InputOption('format', null, InputOption::VALUE_REQUIRED, 'Override the default output format', 'po'),
new InputOption('theme', null, InputOption::VALUE_REQUIRED, 'Merge translation messages from a given theme'),
])
->setHelp(<<<'EOF'
->setHelp(
<<<'EOF'
The <info>%command.name%</> command extracts translation strings from your templates.

To extract translations from a specific directory, run:
Expand Down
Loading