Skip to content

Commit fcbc4a3

Browse files
committed
Update codestyle
1 parent f20a9ad commit fcbc4a3

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"symfony/http-kernel": "^6.1 || ^7.0"
2626
},
2727
"require-dev": {
28-
"inspirum/coding-standard": "^1.4",
28+
"inspirum/coding-standard": "^1.5",
2929
"phpstan/phpstan": "^1.10",
3030
"phpunit/phpunit": "^10.5",
3131
"shipmonk/composer-dependency-analyser": "^1.5",

src/BalikobotBundle.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ public function loadExtension(array $config, ContainerConfigurator $container, C
136136
{
137137
$services = $container->services();
138138

139-
$connections = $this->resolveConnections($config);
140-
$connectionsNames = array_keys($connections);
139+
$connections = $this->resolveConnections($config);
140+
$connectionsNames = array_keys($connections);
141141
$defaultConnectionName = $this->resolveDefaultConnectionName($connections, $config['default_connection'] ?? self::CONNECTION_DEFAULT);
142142

143143
$this->registerClients($services, $connections, $defaultConnectionName);
@@ -167,7 +167,7 @@ private function registerClientForConnection(ServicesConfigurator $services, arr
167167
$defaultCurlRequesterServiceId = $this->serviceIdForConnection(DefaultCurlRequester::class, $name);
168168
$services->set($defaultCurlRequesterServiceId, DefaultCurlRequester::class)->args([
169169
'$apiUser' => $connection['api_user'],
170-
'$apiKey' => $connection['api_key'],
170+
'$apiKey' => $connection['api_key'],
171171
]);
172172

173173
$requesterServiceId = $this->serviceIdForConnection(Requester::class, $name);
@@ -432,7 +432,7 @@ private function resolveConnections(array $config): array
432432
if (count($connections) === 0) {
433433
$connections[self::CONNECTION_DEFAULT] = [
434434
'api_user' => $config['api_user'] ?? throw new RuntimeException('Missing "api_user" configuration'),
435-
'api_key' => $config['api_key'] ?? throw new RuntimeException('Missing "api_key" configuration'),
435+
'api_key' => $config['api_key'] ?? throw new RuntimeException('Missing "api_key" configuration'),
436436
];
437437
}
438438

tests/BalikobotBundleTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ private static function assertServiceContainerRequester(string $expectedUser, st
177177
private static function getProperty(object $service, string $key): mixed
178178
{
179179
$requester = new ReflectionClass($service);
180-
$property = $requester->getProperty($key);
180+
$property = $requester->getProperty($key);
181181

182182
return $property->getValue($service);
183183
}

0 commit comments

Comments
 (0)