Skip to content

Commit be454f6

Browse files
committed
Apply fixes from StyleCI
1 parent 2f940dc commit be454f6

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

config/response.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,22 +29,22 @@
2929

3030
// You can set some attributes (eg:code/message/header/options) for the exception, and it will override the default attributes of the exception
3131
'exception' => [
32-
\Illuminate\Validation\ValidationException::class => [
32+
Illuminate\Validation\ValidationException::class => [
3333
'code' => 422,
3434
],
35-
\Illuminate\Auth\AuthenticationException::class => [
35+
Illuminate\Auth\AuthenticationException::class => [
3636
],
37-
\Symfony\Component\HttpKernel\Exception\NotFoundHttpException::class => [
37+
Symfony\Component\HttpKernel\Exception\NotFoundHttpException::class => [
3838
'message' => '',
3939
],
40-
\Illuminate\Database\Eloquent\ModelNotFoundException::class => [
40+
Illuminate\Database\Eloquent\ModelNotFoundException::class => [
4141
'message' => '',
4242
],
4343
],
4444

4545
// Any key that returns data exists supports custom aliases and display.
4646
'format' => [
47-
'class' => \Jiannei\Response\Laravel\Support\Format::class,
47+
'class' => Jiannei\Response\Laravel\Support\Format::class,
4848
'config' => [
4949
// key => config
5050
'status' => ['alias' => 'status', 'show' => true],

tests/Pest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* with this source code in the file LICENSE.
1010
*/
1111

12-
uses(\Jiannei\Response\Laravel\Tests\TestCase::class)->in('Unit');
12+
uses(Jiannei\Response\Laravel\Tests\TestCase::class)->in('Unit');
1313

1414
/*
1515
|--------------------------------------------------------------------------

tests/Unit/SuccessTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
use Jiannei\Response\Laravel\Tests\Resources\UserCollection;
1818
use Jiannei\Response\Laravel\Tests\Resources\UserResource;
1919

20-
uses(\Illuminate\Foundation\Testing\RefreshDatabase::class);
20+
uses(Illuminate\Foundation\Testing\RefreshDatabase::class);
2121

2222
test('success', function () {
2323
// 直接返回响应成功

0 commit comments

Comments
 (0)