From 051e75950fed835a9615a5b60e9453878d95af30 Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Fri, 20 Mar 2026 02:03:39 +0300 Subject: [PATCH] Fixed Symfony 8 compatibility --- src/Console/EditorConfigCommand.php | 4 ++-- src/Console/NpmCommand.php | 4 ++-- src/Console/PintCommand.php | 4 ++-- src/Console/RectorCommand.php | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Console/EditorConfigCommand.php b/src/Console/EditorConfigCommand.php index 8423d11..741837a 100644 --- a/src/Console/EditorConfigCommand.php +++ b/src/Console/EditorConfigCommand.php @@ -15,9 +15,9 @@ class EditorConfigCommand extends Command { - protected function configure(): Command + protected function configure(): void { - return $this + $this ->setName('editorconfig') ->setDescription('Publishes the .editorconfig file') ->addOption('path', 'p', InputOption::VALUE_OPTIONAL, 'Path to publish files', realpath('.')); diff --git a/src/Console/NpmCommand.php b/src/Console/NpmCommand.php index 9b85974..2acbaf2 100644 --- a/src/Console/NpmCommand.php +++ b/src/Console/NpmCommand.php @@ -15,9 +15,9 @@ class NpmCommand extends Command { - protected function configure(): Command + protected function configure(): void { - return $this + $this ->setName('npm') ->setDescription('Publishes the biome.json file') ->addOption('path', 'p', InputOption::VALUE_OPTIONAL, 'Path to publish files', realpath('.')); diff --git a/src/Console/PintCommand.php b/src/Console/PintCommand.php index 42067e6..e7544cb 100644 --- a/src/Console/PintCommand.php +++ b/src/Console/PintCommand.php @@ -16,9 +16,9 @@ class PintCommand extends Command { - protected function configure(): Command + protected function configure(): void { - return $this + $this ->setName('pint') ->setDescription('Publishes presets for the Laravel Pint') ->addArgument('preset', InputArgument::REQUIRED, 'The name of the preset') diff --git a/src/Console/RectorCommand.php b/src/Console/RectorCommand.php index 4db79ea..574c8e5 100644 --- a/src/Console/RectorCommand.php +++ b/src/Console/RectorCommand.php @@ -12,9 +12,9 @@ class RectorCommand extends Command { - protected function configure(): Command + protected function configure(): void { - return $this + $this ->setName('rector') ->setDescription('Publishes presets for the Rector') ->addArgument('preset', InputArgument::REQUIRED, 'The name of the preset')