Massive PHPCS linting

This commit is contained in:
Dane Everitt 2017-08-21 22:10:48 -05:00
parent 78c8b8d8ea
commit 3ee5803416
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
346 changed files with 834 additions and 1424 deletions

View file

@ -26,5 +26,4 @@ namespace Pterodactyl\Exceptions;
class AccountNotFoundException extends \Exception
{
//
}

View file

@ -26,5 +26,4 @@ namespace Pterodactyl\Exceptions;
class AutoDeploymentException extends \Exception
{
//
}

View file

@ -31,9 +31,8 @@ class DisplayException extends PterodactylException
/**
* Exception constructor.
*
* @param string $message
* @param mixed $log
* @return void
* @param string $message
* @param mixed $log
*/
public function __construct($message, $log = null)
{

View file

@ -26,5 +26,4 @@ namespace Pterodactyl\Exceptions;
class DisplayValidationException extends PterodactylException
{
//
}

View file

@ -37,7 +37,7 @@ class Handler extends ExceptionHandler
*
* This is a great spot to send exceptions to Sentry, Bugsnag, etc.
*
* @param \Exception $exception
* @param \Exception $exception
*
* @throws \Exception
*/
@ -49,8 +49,8 @@ class Handler extends ExceptionHandler
/**
* Render an exception into an HTTP response.
*
* @param \Illuminate\Http\Request $request
* @param \Exception $exception
* @param \Illuminate\Http\Request $request
* @param \Exception $exception
* @return \Illuminate\Http\JsonResponse|\Symfony\Component\HttpFoundation\Response
*
* @throws \Exception
@ -85,8 +85,8 @@ class Handler extends ExceptionHandler
/**
* Convert an authentication exception into an unauthenticated response.
*
* @param \Illuminate\Http\Request $request
* @param \Illuminate\Auth\AuthenticationException $exception
* @param \Illuminate\Http\Request $request
* @param \Illuminate\Auth\AuthenticationException $exception
* @return \Illuminate\Http\Response
*/
protected function unauthenticated($request, AuthenticationException $exception)

View file

@ -26,5 +26,4 @@ namespace Pterodactyl\Exceptions;
class PterodactylException extends \Exception
{
//
}

View file

@ -26,5 +26,4 @@ namespace Pterodactyl\Exceptions\Repository;
class RecordNotFoundException extends \Exception
{
//
}

View file

@ -26,5 +26,4 @@ namespace Pterodactyl\Exceptions\Repository;
class RepositoryException extends \Exception
{
//
}

View file

@ -28,5 +28,4 @@ use Pterodactyl\Exceptions\DisplayException;
class HasActiveServersException extends DisplayException
{
//
}

View file

@ -28,5 +28,4 @@ use Pterodactyl\Exceptions\DisplayException;
class InvalidFileMimeTypeException extends DisplayException
{
//
}

View file

@ -28,5 +28,4 @@ use Pterodactyl\Exceptions\DisplayException;
class InvalidFileUploadException extends DisplayException
{
//
}

View file

@ -28,5 +28,4 @@ use Pterodactyl\Exceptions\DisplayException;
class InvalidPackArchiveFormatException extends DisplayException
{
//
}

View file

@ -28,5 +28,4 @@ use Pterodactyl\Exceptions\DisplayException;
class UnreadableZipArchiveException extends DisplayException
{
//
}

View file

@ -26,5 +26,4 @@ namespace Pterodactyl\Exceptions\Service\Pack;
class ZipArchiveCreationException extends \Exception
{
//
}

View file

@ -28,5 +28,4 @@ use Exception;
class RequiredVariableMissingException extends Exception
{
//
}

View file

@ -26,5 +26,4 @@ namespace Pterodactyl\Exceptions\Service\ServiceOption;
class InvalidCopyFromException extends \Exception
{
//
}

View file

@ -26,5 +26,4 @@ namespace Pterodactyl\Exceptions\Service\ServiceOption;
class NoParentConfigurationFoundException extends \Exception
{
//
}

View file

@ -28,5 +28,4 @@ use Exception;
class ReservedVariableNameException extends Exception
{
//
}