Massive PHPCS linting

This commit is contained in:
Dane Everitt
2017-08-21 22:10:48 -05:00
parent 78c8b8d8ea
commit 3ee5803416
346 changed files with 834 additions and 1424 deletions
@@ -26,5 +26,4 @@ namespace Pterodactyl\Exceptions;
class AccountNotFoundException extends \Exception
{
//
}
@@ -26,5 +26,4 @@ namespace Pterodactyl\Exceptions;
class AutoDeploymentException extends \Exception
{
//
}
+2 -3
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)
{
@@ -26,5 +26,4 @@ namespace Pterodactyl\Exceptions;
class DisplayValidationException extends PterodactylException
{
//
}
+5 -5
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)
-1
View File
@@ -26,5 +26,4 @@ namespace Pterodactyl\Exceptions;
class PterodactylException extends \Exception
{
//
}
@@ -26,5 +26,4 @@ namespace Pterodactyl\Exceptions\Repository;
class RecordNotFoundException extends \Exception
{
//
}
@@ -26,5 +26,4 @@ namespace Pterodactyl\Exceptions\Repository;
class RepositoryException extends \Exception
{
//
}
@@ -28,5 +28,4 @@ use Pterodactyl\Exceptions\DisplayException;
class HasActiveServersException extends DisplayException
{
//
}
@@ -28,5 +28,4 @@ use Pterodactyl\Exceptions\DisplayException;
class InvalidFileMimeTypeException extends DisplayException
{
//
}
@@ -28,5 +28,4 @@ use Pterodactyl\Exceptions\DisplayException;
class InvalidFileUploadException extends DisplayException
{
//
}
@@ -28,5 +28,4 @@ use Pterodactyl\Exceptions\DisplayException;
class InvalidPackArchiveFormatException extends DisplayException
{
//
}
@@ -28,5 +28,4 @@ use Pterodactyl\Exceptions\DisplayException;
class UnreadableZipArchiveException extends DisplayException
{
//
}
@@ -26,5 +26,4 @@ namespace Pterodactyl\Exceptions\Service\Pack;
class ZipArchiveCreationException extends \Exception
{
//
}
@@ -28,5 +28,4 @@ use Exception;
class RequiredVariableMissingException extends Exception
{
//
}
@@ -26,5 +26,4 @@ namespace Pterodactyl\Exceptions\Service\ServiceOption;
class InvalidCopyFromException extends \Exception
{
//
}
@@ -26,5 +26,4 @@ namespace Pterodactyl\Exceptions\Service\ServiceOption;
class NoParentConfigurationFoundException extends \Exception
{
//
}
@@ -28,5 +28,4 @@ use Exception;
class ReservedVariableNameException extends Exception
{
//
}