diff options
author | Joas Schilling <coding@schilljs.com> | 2023-08-21 13:33:30 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2023-08-21 13:33:30 +0200 |
commit | a707aa7b5a8aa0dd34511374f4e517000490d8bb (patch) | |
tree | c11f5702ecc588adebcfc8632d5d3a6241c0aeb5 | |
parent | a115880b23f5d01b15d1d49bf1fb86678c77487b (diff) |
fix(CS): Fix coding style
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | lib/Command/Bot/Install.php | 2 | ||||
-rw-r--r-- | lib/Command/Bot/State.php | 2 | ||||
-rw-r--r-- | tests/integration/features/bootstrap/FeatureContext.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/Command/Bot/Install.php b/lib/Command/Bot/Install.php index 9d6fa21ac..fdcf03804 100644 --- a/lib/Command/Bot/Install.php +++ b/lib/Command/Bot/Install.php @@ -75,7 +75,7 @@ class Install extends Base { ->addOption( 'features', 'f', - InputOption::VALUE_REQUIRED|InputOption::VALUE_IS_ARRAY, + InputOption::VALUE_REQUIRED | InputOption::VALUE_IS_ARRAY, 'Specify the list of features for the bot' . "\n" . ' - webhook: The bot receives posted chat messages as webhooks' . "\n" . ' - response: The bot can post messages and reactions as a response' . "\n" diff --git a/lib/Command/Bot/State.php b/lib/Command/Bot/State.php index 66b605085..5ba68dbaa 100644 --- a/lib/Command/Bot/State.php +++ b/lib/Command/Bot/State.php @@ -59,7 +59,7 @@ class State extends Base { ->addOption( 'feature', 'f', - InputOption::VALUE_REQUIRED|InputOption::VALUE_IS_ARRAY, + InputOption::VALUE_REQUIRED | InputOption::VALUE_IS_ARRAY, 'Specify the list of features for the bot' . "\n" . ' - webhook: The bot receives posted chat messages as webhooks' . "\n" . ' - response: The bot can post messages and reactions as a response' . "\n" diff --git a/tests/integration/features/bootstrap/FeatureContext.php b/tests/integration/features/bootstrap/FeatureContext.php index d3b08e2ec..8931d7fdf 100644 --- a/tests/integration/features/bootstrap/FeatureContext.php +++ b/tests/integration/features/bootstrap/FeatureContext.php @@ -3530,7 +3530,7 @@ class FeatureContext implements Context, SnippetAcceptingContext { $features = ''; if ($body) { $features = array_map(static fn ($map) => $map['feature'], $body->getColumnsHash()); - $features = ' -f ' . implode (' -f ', $features); + $features = ' -f ' . implode(' -f ', $features); } $this->invokingTheCommand('talk:bot:state ' . self::$botNameToId[$botName] . ' ' . $state . $features); |