Skip to content

Commit ac0ea5e

Browse files
LKaemmerlingStyleCIBot
authored andcommitted
Apply fixes from StyleCI
1 parent bd68629 commit ac0ea5e

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
<?php
22

3-
require_once __DIR__ . '/../bootstrap.php';
3+
require_once __DIR__.'/../bootstrap.php';
44

55
$serverType = $hetznerClient->serverTypes()->get(1);
6-
$location = $hetznerClient->locations()->getByName("fsn1");
7-
$image = $hetznerClient->images()->getByName("ubuntu-20.04");
6+
$location = $hetznerClient->locations()->getByName('fsn1');
7+
$image = $hetznerClient->images()->getByName('ubuntu-20.04');
88
$apiResponse = $hetznerClient->servers()->createInLocation('my-example-server.test', $serverType, $image, $location);
99
$server = $apiResponse->getResponsePart('server');
1010
$action = $apiResponse->getResponsePart('action');
11-
echo 'Server: ' . $server->name . PHP_EOL;
12-
echo 'IP: ' . $server->publicNet->ipv4->ip . PHP_EOL;
13-
echo 'Password: ' . $apiResponse->getResponsePart('root_password') . PHP_EOL;
14-
echo 'Now we wait on the success of the server creation!' . PHP_EOL;
15-
echo date('H:i:s') . PHP_EOL;
11+
echo 'Server: '.$server->name.PHP_EOL;
12+
echo 'IP: '.$server->publicNet->ipv4->ip.PHP_EOL;
13+
echo 'Password: '.$apiResponse->getResponsePart('root_password').PHP_EOL;
14+
echo 'Now we wait on the success of the server creation!'.PHP_EOL;
15+
echo date('H:i:s').PHP_EOL;
1616
$action->waitUntilCompleted();
17-
echo date('H:i:s') . PHP_EOL;
17+
echo date('H:i:s').PHP_EOL;
1818
echo 'Done!';

0 commit comments

Comments
 (0)