@@ -8,7 +8,6 @@ |
||
8 | 8 | use eXpansion\Framework\Core\Helpers\TMString; |
9 | 9 | use eXpansion\Framework\Core\Services\DedicatedConnection\Factory; |
10 | 10 | use eXpansion\Framework\Core\Storage\PlayerStorage; |
11 | -use Maniaplanet\DedicatedServer\Connection; |
|
12 | 11 | use Maniaplanet\DedicatedServer\Xmlrpc\Exception as DedicatedException; |
13 | 12 | use Psr\Log\LoggerInterface; |
14 | 13 | use Symfony\Component\Console\Input\InputArgument; |
@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | $this->console->getSfStyleOutput()->error( |
102 | 102 | [ |
103 | 103 | "Looks like your Dedicated server is either offline or has wrong config settings", |
104 | - "Error message: " . $lastExcelption->getMessage() |
|
104 | + "Error message: ".$lastExcelption->getMessage() |
|
105 | 105 | ] |
106 | 106 | ); |
107 | 107 | $this->logger->error( |
@@ -171,14 +171,14 @@ discard block |
||
171 | 171 | ] |
172 | 172 | ); |
173 | 173 | $this->console->getSfStyleOutput()->block([ |
174 | - "Host : " . $this->host, |
|
175 | - "Port : " . $this->port, |
|
176 | - "Timeout : " . $this->timeout, |
|
177 | - "User : " . $this->user, |
|
174 | + "Host : ".$this->host, |
|
175 | + "Port : ".$this->port, |
|
176 | + "Timeout : ".$this->timeout, |
|
177 | + "User : ".$this->user, |
|
178 | 178 | "Password : ****", |
179 | 179 | ]); |
180 | 180 | } |
181 | - } while($attempts < $maxAttempts && !is_null($lastExcelption)); |
|
181 | + } while ($attempts < $maxAttempts && !is_null($lastExcelption)); |
|
182 | 182 | |
183 | 183 | return $lastExcelption; |
184 | 184 | } |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use eXpansion\Bundle\InfoMessages\DependencyInjection\InfoMessagesExtension; |
6 | 6 | use eXpansion\Framework\Config\Model\IntegerConfig; |
7 | -use eXpansion\Framework\Config\Model\TextListConfig; |
|
8 | 7 | use eXpansion\Framework\Config\Services\ConfigManagerInterface; |
9 | 8 | use eXpansion\Framework\Core\DataProviders\Listener\ListenerInterfaceExpTimer; |
10 | 9 | use eXpansion\Framework\Core\Helpers\Translations; |
@@ -81,7 +81,7 @@ |
||
81 | 81 | // Ideally the list of configs should have been passed in the construct, to achieve this we would need |
82 | 82 | // to inject the config services throught the Extension. We have chose not to do this to simply simplify |
83 | 83 | // the code to make it a bit easier for people that are new to symfony to understand. |
84 | - $values = $this->configManager->get(InfoMessagesExtension::CONFIG_PATH_PREFIX . $locale); |
|
84 | + $values = $this->configManager->get(InfoMessagesExtension::CONFIG_PATH_PREFIX.$locale); |
|
85 | 85 | |
86 | 86 | if (count($values) > 0) { |
87 | 87 | $messagesPerLocale[] = [ |
@@ -49,7 +49,7 @@ |
||
49 | 49 | $this->chatNotification->sendMessage('$z$fff$s - - – – — — – – - -'); |
50 | 50 | $this->chatNotification->sendMessage('$z$s$w$i$fff e X p a n s i o n ²', null, []); |
51 | 51 | $this->chatNotification->sendMessage( |
52 | - '$z$o$000 version$o '. $this->version->getExpansionVersion(), null, []); |
|
52 | + '$z$o$000 version$o '.$this->version->getExpansionVersion(), null, []); |
|
53 | 53 | |
54 | 54 | $this->chatNotification->sendMessage('$z$s$fff —————————— '); |
55 | 55 | $this->chatNotification->sendMessage(""); |
@@ -38,7 +38,7 @@ |
||
38 | 38 | $this->console->writeln('$fff `"Ybbd8"\' 8P Y8$fff 88`YbbdP"\' $0d0 88888888888'); |
39 | 39 | $this->console->writeln('$fff $fff 88 $0d0 '); |
40 | 40 | $this->console->writeln('$777 $fff 88 $0d0 '); |
41 | - $this->console->writeln('$777 eXpansion v' . $this->version->getExpansionVersion()); |
|
41 | + $this->console->writeln('$777 eXpansion v'.$this->version->getExpansionVersion()); |
|
42 | 42 | |
43 | 43 | return parent::init($console); |
44 | 44 | } |
@@ -35,7 +35,7 @@ |
||
35 | 35 | $id = "eXpansion.info_messages.config.messages.$locale"; |
36 | 36 | |
37 | 37 | $service = $container->setDefinition($id, new ChildDefinition(self::ABSTRACT_SERVICE_DEFINITION_ID)) |
38 | - ->replaceArgument('$path', self::CONFIG_PATH_PREFIX . "$locale") |
|
38 | + ->replaceArgument('$path', self::CONFIG_PATH_PREFIX."$locale") |
|
39 | 39 | ->replaceArgument('$name', "expansion_info_messages.config.messages.$locale.name") |
40 | 40 | ->addTag("expansion.config"); |
41 | 41 |
@@ -21,7 +21,6 @@ discard block |
||
21 | 21 | /** |
22 | 22 | * ServerInformationLineFactory constructor. |
23 | 23 | * @param Factory $factory |
24 | - * @param string $class |
|
25 | 24 | * @param float $titleWidth |
26 | 25 | * @param float $dataWidth |
27 | 26 | */ |
@@ -36,7 +35,7 @@ discard block |
||
36 | 35 | /** |
37 | 36 | * Create a server information line. |
38 | 37 | * |
39 | - * @param $title |
|
38 | + * @param string $title |
|
40 | 39 | * @param $data |
41 | 40 | * @return Frame |
42 | 41 | */ |
@@ -16,7 +16,7 @@ |
||
16 | 16 | { |
17 | 17 | return $this->serverInformationLineFactory->create( |
18 | 18 | "expansion_server_information.server_os", |
19 | - $this->dataStorage->getServerOs() . " - " . PHP_OS |
|
19 | + $this->dataStorage->getServerOs()." - ".PHP_OS |
|
20 | 20 | ); |
21 | 21 | } |
22 | 22 | } |