Skip to content

Commit 42fc65b

Browse files
Merge pull request #8 from javanile/analysis-lKoLON
Apply fixes from StyleCI
2 parents 7b20019 + 2a553b3 commit 42fc65b

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

src/Loader.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function __construct()
2828
}
2929

3030
/**
31-
* @param mixed $second
31+
* @param mixed $second
3232
* @param string $message
3333
*
3434
* @return string
@@ -37,12 +37,12 @@ public function waiting($second = 10, $message = 'Waiting...')
3737
{
3838
$freq = 5;
3939
for ($i = 0; $i < $second * $freq; $i++) {
40-
$text = '['.substr($this->loader, 0, -1).'] ' . $message;
40+
$text = '['.substr($this->loader, 0, -1).'] '.$message;
4141
$this->print($text);
4242
usleep(1000000 / $freq);
43-
$this->loader = substr($this->loader, -1) . substr($this->loader, 0, -1);
43+
$this->loader = substr($this->loader, -1).substr($this->loader, 0, -1);
4444
$cleaner = str_repeat("\010", strlen($text));
45-
$this->print($cleaner . str_repeat(' ', strlen($text)) . $cleaner);
45+
$this->print($cleaner.str_repeat(' ', strlen($text)).$cleaner);
4646
}
4747
}
4848

src/MysqlImport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ protected function writeLockFile()
331331
{
332332
$json = [
333333
'database' => $this->database,
334-
'force' => $this->force,
334+
'force' => $this->force,
335335
];
336336

337337
file_put_contents($this->lockFile, json_encode($json, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES));

tests/DatabaseAdapterTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ class DatabaseAdapterTest extends TestCase
1010
public function testDatabaseAdapter()
1111
{
1212
$properties = [
13-
'host' => 'localhost',
14-
'port' => '1080',
15-
'database' => 'db_0'
13+
'host' => 'localhost',
14+
'port' => '1080',
15+
'database' => 'db_0',
1616
];
1717

1818
$databaseAdapter = new DatabaseAdapter($properties);

0 commit comments

Comments
 (0)