Skip to content

Commit 051e759

Browse files
Fixed Symfony 8 compatibility
1 parent 6832e72 commit 051e759

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

src/Console/EditorConfigCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515

1616
class EditorConfigCommand extends Command
1717
{
18-
protected function configure(): Command
18+
protected function configure(): void
1919
{
20-
return $this
20+
$this
2121
->setName('editorconfig')
2222
->setDescription('Publishes the .editorconfig file')
2323
->addOption('path', 'p', InputOption::VALUE_OPTIONAL, 'Path to publish files', realpath('.'));

src/Console/NpmCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515

1616
class NpmCommand extends Command
1717
{
18-
protected function configure(): Command
18+
protected function configure(): void
1919
{
20-
return $this
20+
$this
2121
->setName('npm')
2222
->setDescription('Publishes the biome.json file')
2323
->addOption('path', 'p', InputOption::VALUE_OPTIONAL, 'Path to publish files', realpath('.'));

src/Console/PintCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616

1717
class PintCommand extends Command
1818
{
19-
protected function configure(): Command
19+
protected function configure(): void
2020
{
21-
return $this
21+
$this
2222
->setName('pint')
2323
->setDescription('Publishes presets for the Laravel Pint')
2424
->addArgument('preset', InputArgument::REQUIRED, 'The name of the preset')

src/Console/RectorCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212

1313
class RectorCommand extends Command
1414
{
15-
protected function configure(): Command
15+
protected function configure(): void
1616
{
17-
return $this
17+
$this
1818
->setName('rector')
1919
->setDescription('Publishes presets for the Rector')
2020
->addArgument('preset', InputArgument::REQUIRED, 'The name of the preset')

0 commit comments

Comments
 (0)