Skip to content

Commit 2e260e1

Browse files
spawniaStyleCIBot
authored andcommitted
Apply fixes from StyleCI
1 parent 5473bee commit 2e260e1

14 files changed

+46
-18
lines changed

src/Email.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
3+
declare(strict_types=1);
24

35
namespace MLL\GraphQLScalars;
46

src/JSON.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
3+
declare(strict_types=1);
24

35
namespace MLL\GraphQLScalars;
46

src/MixedScalar.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
3+
declare(strict_types=1);
24

35
namespace MLL\GraphQLScalars;
46

src/Regex.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
3+
declare(strict_types=1);
24

35
namespace MLL\GraphQLScalars;
46

src/StringScalar.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
3+
declare(strict_types=1);
24

35
namespace MLL\GraphQLScalars;
46

src/Utils.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
3+
declare(strict_types=1);
24

35
namespace MLL\GraphQLScalars;
46

tests/EmailTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
3+
declare(strict_types=1);
24

35
namespace Tests;
46

tests/JSONTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
3+
declare(strict_types=1);
24

35
namespace Tests;
46

tests/MixedScalarTest.php

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
3+
declare(strict_types=1);
24

35
namespace Tests;
46

@@ -129,20 +131,20 @@ public function literalToPhpMap(): array
129131
[/** @lang GraphQL */'null', /** @lang JSON */'null', null],
130132
[/** @lang GraphQL */'[1, 2]', /** @lang JSON */'[1, 2]', [1, 2]],
131133
[
132-
/** @lang GraphQL */'{a: 1}',
133-
/** @lang JSON */'{"a": 1}',
134+
/** @lang GraphQL */'{a: 1}',
135+
/** @lang JSON */'{"a": 1}',
134136
['a' => 1],
135137
],
136138
[
137-
/** @lang GraphQL */'
139+
/** @lang GraphQL */'
138140
{
139141
a: [
140142
{
141143
b: "c"
142144
}
143145
]
144146
}',
145-
/** @lang JSON */'
147+
/** @lang JSON */'
146148
{
147149
"a": [
148150
{

tests/MyRegex.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
3+
declare(strict_types=1);
24

35
namespace Tests;
46

0 commit comments

Comments
 (0)