PHP Coding Standards Fixer > fix coding standard

This commit is contained in:
Meritoo
2019-04-15 21:23:49 +02:00
parent 4c6fb569bc
commit c7c96daaaf
9 changed files with 258 additions and 258 deletions

View File

@@ -38,15 +38,6 @@ class AddressTest extends BaseTestCase
*/
private $addressWithoutStreet;
protected function setUp(): void
{
parent::setUp();
$this->address = new Address('New York', '00123', '4th Avenue', '10', '200');
$this->addressWithoutFlat = new Address('San Francisco', '00456', 'Green Street', '22');
$this->addressWithoutStreet = new Address('Saint Louis', '00111', '', '1', '300');
}
public function testConstructor()
{
static::assertConstructorVisibilityAndArguments(
@@ -105,4 +96,13 @@ class AddressTest extends BaseTestCase
static::assertSame('Green Street 22, 00456, San Francisco', (string)$this->addressWithoutFlat);
static::assertSame('00111, Saint Louis', (string)$this->addressWithoutStreet);
}
protected function setUp(): void
{
parent::setUp();
$this->address = new Address('New York', '00123', '4th Avenue', '10', '200');
$this->addressWithoutFlat = new Address('San Francisco', '00456', 'Green Street', '22');
$this->addressWithoutStreet = new Address('Saint Louis', '00111', '', '1', '300');
}
}