From 79222598be474e69206f587ac0138f1be7b774b9 Mon Sep 17 00:00:00 2001 From: Alexander Minkin Date: Fri, 31 Jan 2025 19:14:02 +0300 Subject: [PATCH] style: add linting for openvkctl script --- .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 9c73a61b..6e227eb1 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 6dd2d3e7..1ed5f3be 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();