Apply PhpStorm source code formatting

This commit is contained in:
Fonata
2021-05-13 19:55:19 +02:00
committed by Fonata
parent 99daaa7235
commit ee13c17157

View File

@@ -166,18 +166,22 @@ class ParseTest extends TestCase {
// This also tests if ::load_data removed the BOM from the data; // This also tests if ::load_data removed the BOM from the data;
// otherwise the 'title' column would have 3 extra bytes. // otherwise the 'title' column would have 3 extra bytes.
$this->assertEquals([ $this->assertEquals(
'title', [
'isbn', 'title',
'publishedAt', 'isbn',
], array_keys(reset($this->csv->data))); 'publishedAt',
],
array_keys(reset($this->csv->data)));
$titles = array_column($this->csv->data, 'title'); $titles = array_column($this->csv->data, 'title');
$this->assertEquals([ $this->assertEquals(
'Красивая кулинария', [
'The Wine Connoisseurs', 'Красивая кулинария',
'Weißwein', 'The Wine Connoisseurs',
], $titles); 'Weißwein',
],
$titles);
} }
public function testWithMultipleNewlines() { public function testWithMultipleNewlines() {
@@ -185,18 +189,20 @@ class ParseTest extends TestCase {
$aElse9 = array_column($this->csv->data, 'else9'); $aElse9 = array_column($this->csv->data, 'else9');
/** @noinspection SpellCheckingInspection */ /** @noinspection SpellCheckingInspection */
$this->assertEquals([ $this->assertEquals(
'Abweichung', [
'Abweichung', 'Abweichung',
'Abweichung', 'Abweichung',
'Alt', 'Abweichung',
'Fehlt', 'Alt',
'Neu', 'Fehlt',
'OK', 'Neu',
'Fehlt', 'OK',
'Fehlt', 'Fehlt',
'Fehlt', 'Fehlt',
], $aElse9); 'Fehlt',
],
$aElse9);
} }
/** /**
@@ -298,9 +304,9 @@ class ParseTest extends TestCase {
/** /**
* Call protected/private method of a class. * Call protected/private method of a class.
* *
* @param object $object Instantiated object that we will run method on. * @param object $object Instantiated object that we will run method on.
* @param string $methodName Method name to call * @param string $methodName Method name to call
* @param array $parameters Array of parameters to pass into method. * @param array $parameters Array of parameters to pass into method.
* *
* @return mixed Method return. * @return mixed Method return.
*/ */