Skip to content

Commit

Permalink
Merge pull request #10706 from nanaya/enum-dir
Browse files Browse the repository at this point in the history
Create enums directory
  • Loading branch information
notbakaneko authored Nov 6, 2023
2 parents 32485bc + 27b0d11 commit 02015c2
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/Libraries/Ip.php → app/Enums/Ip.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

declare(strict_types=1);

namespace App\Libraries;
namespace App\Enums;

enum Ip: string
{
Expand Down
2 changes: 1 addition & 1 deletion app/Libraries/Ruleset.php → app/Enums/Ruleset.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

declare(strict_types=1);

namespace App\Libraries;
namespace App\Enums;

enum Ruleset: int
{
Expand Down
1 change: 1 addition & 0 deletions app/Libraries/Ip2Asn.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

namespace App\Libraries;

use App\Enums\Ip;
use Exception;
use WeakMap;

Expand Down
1 change: 1 addition & 0 deletions app/Libraries/Ip2AsnUpdater.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

namespace App\Libraries;

use App\Enums\Ip;
use Log;

class Ip2AsnUpdater
Expand Down
2 changes: 1 addition & 1 deletion app/Models/Multiplayer/PlaylistItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

namespace App\Models\Multiplayer;

use App\Enums\Ruleset;
use App\Exceptions\InvariantException;
use App\Libraries\Ruleset;
use App\Models\Beatmap;
use App\Models\Model;
use App\Models\ScoreToken;
Expand Down
2 changes: 1 addition & 1 deletion tests/Libraries/ModsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

namespace Tests\Libraries;

use App\Enums\Ruleset;
use App\Exceptions\InvariantException;
use App\Libraries\Ruleset;
use Tests\TestCase;

class ModsTest extends TestCase
Expand Down

0 comments on commit 02015c2

Please sign in to comment.