Cleanup php-cs-fixer
This commit is contained in:
parent
0e1c3a76f4
commit
c16fa92904
4 changed files with 3 additions and 8 deletions
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
|
@ -12,7 +12,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
php: [ 7.4, 8.0, 8.1 ]
|
php: [ 8.1 ]
|
||||||
database: [ 'mariadb:10.6', 'mysql:8' ]
|
database: [ 'mariadb:10.6', 'mysql:8' ]
|
||||||
services:
|
services:
|
||||||
database:
|
database:
|
||||||
|
|
|
@ -9,8 +9,6 @@ class RecordNotFoundException extends RepositoryException implements HttpExcepti
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Returns the status code.
|
* Returns the status code.
|
||||||
*
|
|
||||||
* @return int
|
|
||||||
*/
|
*/
|
||||||
public function getStatusCode(): int
|
public function getStatusCode(): int
|
||||||
{
|
{
|
||||||
|
@ -19,8 +17,6 @@ class RecordNotFoundException extends RepositoryException implements HttpExcepti
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns response headers.
|
* Returns response headers.
|
||||||
*
|
|
||||||
* @return array
|
|
||||||
*/
|
*/
|
||||||
public function getHeaders(): array
|
public function getHeaders(): array
|
||||||
{
|
{
|
||||||
|
|
|
@ -13,7 +13,6 @@ use Pterodactyl\Http\Middleware\VerifyCsrfToken;
|
||||||
use Pterodactyl\Http\Middleware\VerifyReCaptcha;
|
use Pterodactyl\Http\Middleware\VerifyReCaptcha;
|
||||||
use Pterodactyl\Http\Middleware\AdminAuthenticate;
|
use Pterodactyl\Http\Middleware\AdminAuthenticate;
|
||||||
use Illuminate\Routing\Middleware\ThrottleRequests;
|
use Illuminate\Routing\Middleware\ThrottleRequests;
|
||||||
use Pterodactyl\Http\Middleware\LanguageMiddleware;
|
|
||||||
use Illuminate\Foundation\Http\Kernel as HttpKernel;
|
use Illuminate\Foundation\Http\Kernel as HttpKernel;
|
||||||
use Illuminate\Routing\Middleware\SubstituteBindings;
|
use Illuminate\Routing\Middleware\SubstituteBindings;
|
||||||
use Illuminate\Session\Middleware\AuthenticateSession;
|
use Illuminate\Session\Middleware\AuthenticateSession;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
use Illuminate\Database\Migrations\Migration;
|
|
||||||
use Illuminate\Database\Schema\Blueprint;
|
|
||||||
use Illuminate\Support\Facades\Schema;
|
use Illuminate\Support\Facades\Schema;
|
||||||
|
use Illuminate\Database\Schema\Blueprint;
|
||||||
|
use Illuminate\Database\Migrations\Migration;
|
||||||
|
|
||||||
class MakePersonalAccessTokensSoftDeletable extends Migration
|
class MakePersonalAccessTokensSoftDeletable extends Migration
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue