Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
samdark authored and StyleCIBot committed Sep 7, 2021
1 parent df30351 commit 5c25f78
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions tests/FormModelTest.php
Expand Up @@ -18,7 +18,7 @@ final class FormModelTest extends TestCase
{
public function testAnonymousFormName(): void
{
$form = new class() extends FormModel {};
$form = new class () extends FormModel {};
$this->assertEquals('', $form->getFormName());
}

Expand Down Expand Up @@ -47,7 +47,7 @@ public function testUnknownPropertyType(): void
'/You must specify the type hint for "%s" property in "([^"]+)" class./',
'property',
));
$form = new class() extends FormModel {
$form = new class () extends FormModel {
private $property;
};
}
Expand Down Expand Up @@ -211,7 +211,7 @@ public function testLoadWithNestedAttribute(): void
public function testFailedLoadForm(): void
{
$form1 = new LoginForm();
$form2 = new class() extends FormModel {
$form2 = new class () extends FormModel {
};

$data1 = [
Expand All @@ -233,7 +233,7 @@ public function testFailedLoadForm(): void

public function testLoadWithEmptyScope()
{
$form = new class() extends FormModel {
$form = new class () extends FormModel {
private int $int = 1;
private string $string = 'string';
private float $float = 3.14;
Expand Down
2 changes: 1 addition & 1 deletion tests/Helper/HtmlFormTest.php
Expand Up @@ -25,7 +25,7 @@ public function testGetAttributeName(): void
public function dataGetInputName(): array
{
$loginForm = new LoginForm();
$anonymousForm = new class() extends FormModel {
$anonymousForm = new class () extends FormModel {
};
return [
[$loginForm, '[0]content', 'LoginForm[0][content]'],
Expand Down

0 comments on commit 5c25f78

Please sign in to comment.