From 1317059babeaad280bd38ca0206c9a95b4eac383 Mon Sep 17 00:00:00 2001 From: Alexander Minkin Date: Fri, 31 Jan 2025 19:17:59 +0300 Subject: [PATCH] style: add linting for openvkctl script (#1222) --- .php-cs-fixer.dist.php | 1 + openvkctl | 12 ++++++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index 9c73a61bf..6e227eb19 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -2,6 +2,7 @@ $finder = (new PhpCsFixer\Finder()) ->in(__DIR__) + ->name('openvkctl') ; return (new PhpCsFixer\Config()) diff --git a/openvkctl b/openvkctl index 6dd2d3e75..1ed5f3beb 100755 --- a/openvkctl +++ b/openvkctl @@ -1,6 +1,10 @@ #!/usr/bin/env php -ignite(true); $application = new Application(); -$application->add(new CLI\RebuildImagesCommand); -$application->add(new CLI\FetchToncoinTransactions); +$application->add(new CLI\RebuildImagesCommand()); +$application->add(new CLI\FetchToncoinTransactions()); -$application->run(); \ No newline at end of file +$application->run();