Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot authored and jiannei committed Oct 13, 2023
1 parent c1f8bfd commit 1588a85
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/Pest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* with this source code in the file LICENSE.
*/

uses(\Jiannei\Enum\Laravel\Tests\TestCase::class)->in('Feature');
uses(\Jiannei\Enum\Laravel\Tests\TestCase::class)->in('Feature');

/*
|--------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

namespace Jiannei\Enum\Laravel\Tests;

use Jiannei\Enum\Laravel\Providers\LaravelServiceProvider;
use Illuminate\Contracts\Config\Repository;
use Jiannei\Enum\Laravel\Providers\LaravelServiceProvider;

abstract class TestCase extends \Orchestra\Testbench\TestCase
{
Expand Down
11 changes: 10 additions & 1 deletion tests/lang/zh_CN/enums.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the Jiannei/laravel-enum.
*
* (c) Jiannei <longjian.huang@foxmail.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/

use Jiannei\Enum\Laravel\Tests\Enums\UserType;

return [
Expand All @@ -8,4 +17,4 @@
UserType::MODERATOR->value => '主持人',
UserType::SUBSCRIBER->value => '订阅用户',
],
];
];

0 comments on commit 1588a85

Please sign in to comment.