Skip to content

Commit 638afd8

Browse files
committed
Code styling tweaks
1 parent dc819e7 commit 638afd8

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.php_cs.dist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ return PhpCsFixer\Config::create()
99
'@PHP70Migration' => true,
1010
'@PHP71Migration' => true,
1111
'@PSR2' => true,
12-
'@Symfony' => true,
1312
'array_syntax' => ['syntax' => 'short'],
1413
'increment_style' => ['style' => 'post'],
1514
'no_multiline_whitespace_before_semicolons' => true,
16-
'ordered_imports' => ['sortAlgorithm' => 'length'],
15+
'not_operator_with_successor_space' => true,
16+
'ordered_imports' => ['sortAlgorithm' => 'alpha'],
1717
'semicolon_after_instruction' => false,
1818
'strict_comparison' => true,
1919
'yoda_style' => false,

src/Response.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
namespace Inertia;
44

55
use Closure;
6-
use Illuminate\Support\Arr;
7-
use Illuminate\Http\JsonResponse;
8-
use Illuminate\Support\Facades\App;
96
use Illuminate\Contracts\Support\Arrayable;
107
use Illuminate\Contracts\Support\Responsable;
8+
use Illuminate\Http\JsonResponse;
9+
use Illuminate\Support\Arr;
10+
use Illuminate\Support\Facades\App;
1111
use Illuminate\Support\Facades\Response as ResponseFactory;
1212

1313
class Response implements Responsable

src/ResponseFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
namespace Inertia;
44

55
use Closure;
6+
use Illuminate\Contracts\Support\Arrayable;
67
use Illuminate\Support\Arr;
78
use Illuminate\Support\Facades\App;
89
use Illuminate\Support\Facades\Response as BaseResponse;
910
use Illuminate\Support\Traits\Macroable;
10-
use Illuminate\Contracts\Support\Arrayable;
1111

1212
class ResponseFactory
1313
{

0 commit comments

Comments
 (0)