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

@@ -28,27 +28,6 @@ class RegexTest extends BaseTestCase
private $simpleText;
private $camelCaseText;
/**
* {@inheritdoc}
*/
protected function setUp(): void
{
parent::setUp();
$this->simpleText = 'lorem ipsum dolor sit';
$simpleUppercase = ucwords($this->simpleText);
$this->camelCaseText = str_replace(' ', '', lcfirst($simpleUppercase)); // 'loremIpsumDolorSit'
}
/**
* {@inheritdoc}
*/
protected function tearDown(): void
{
parent::tearDown();
unset($this->simpleText, $this->camelCaseText);
}
public function testConstructor()
{
static::assertHasNoConstructor(Regex::class);
@@ -2003,4 +1982,25 @@ class RegexTest extends BaseTestCase
true,
];
}
/**
* {@inheritdoc}
*/
protected function setUp(): void
{
parent::setUp();
$this->simpleText = 'lorem ipsum dolor sit';
$simpleUppercase = ucwords($this->simpleText);
$this->camelCaseText = str_replace(' ', '', lcfirst($simpleUppercase)); // 'loremIpsumDolorSit'
}
/**
* {@inheritdoc}
*/
protected function tearDown(): void
{
parent::tearDown();
unset($this->simpleText, $this->camelCaseText);
}
}