diff --git a/LICENSE b/LICENSE index d645695..62589ed 100644 --- a/LICENSE +++ b/LICENSE @@ -1,7 +1,7 @@ Apache License Version 2.0, January 2004 - http://www.apache.org/licenses/ + https://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION @@ -193,7 +193,7 @@ you may not use this file except in compliance with the License. You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 + https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, diff --git a/README.md b/README.md index d987e49..da8c9c1 100644 --- a/README.md +++ b/README.md @@ -16,10 +16,10 @@ style guidelines. Please include unit tests whenever possible. ## Versioning ## -This API uses [Semantic Versioning](http://semver.org/). +This API uses [Semantic Versioning](https://semver.org/). ## Copyright and License ## -This software is Copyright (c) 2015-2020 by MaxMind, Inc. +This software is Copyright (c) 2015-2023 by MaxMind, Inc. This is free software, licensed under the Apache License, Version 2.0. diff --git a/src/Exception/AuthenticationException.php b/src/Exception/AuthenticationException.php index 5b016ce..9e045d2 100644 --- a/src/Exception/AuthenticationException.php +++ b/src/Exception/AuthenticationException.php @@ -7,6 +7,5 @@ /** * This class represents an error authenticating. */ -class AuthenticationException extends InvalidRequestException -{ -} +// phpcs:disable +class AuthenticationException extends InvalidRequestException {} diff --git a/src/Exception/InsufficientFundsException.php b/src/Exception/InsufficientFundsException.php index 2831456..a29da89 100644 --- a/src/Exception/InsufficientFundsException.php +++ b/src/Exception/InsufficientFundsException.php @@ -7,6 +7,5 @@ /** * Thrown when the account is out of credits. */ -class InsufficientFundsException extends InvalidRequestException -{ -} +// phpcs:disable +class InsufficientFundsException extends InvalidRequestException {} diff --git a/src/Exception/InvalidInputException.php b/src/Exception/InvalidInputException.php index 0d3c51c..e7b7a7d 100644 --- a/src/Exception/InvalidInputException.php +++ b/src/Exception/InvalidInputException.php @@ -9,6 +9,5 @@ * web service. For example, if the array cannot be encoded as JSON or if there * is a missing or invalid field. */ -class InvalidInputException extends WebServiceException -{ -} +// phpcs:disable +class InvalidInputException extends WebServiceException {} diff --git a/src/Exception/IpAddressNotFoundException.php b/src/Exception/IpAddressNotFoundException.php index 581db48..b3bf84d 100644 --- a/src/Exception/IpAddressNotFoundException.php +++ b/src/Exception/IpAddressNotFoundException.php @@ -4,6 +4,5 @@ namespace MaxMind\Exception; -class IpAddressNotFoundException extends InvalidRequestException -{ -} +// phpcs:disable +class IpAddressNotFoundException extends InvalidRequestException {} diff --git a/src/Exception/PermissionRequiredException.php b/src/Exception/PermissionRequiredException.php index facc1f6..109d35d 100644 --- a/src/Exception/PermissionRequiredException.php +++ b/src/Exception/PermissionRequiredException.php @@ -7,6 +7,5 @@ /** * This exception is thrown when the service requires permission to access. */ -class PermissionRequiredException extends InvalidRequestException -{ -} +// phpcs:disable +class PermissionRequiredException extends InvalidRequestException {} diff --git a/src/Exception/WebServiceException.php b/src/Exception/WebServiceException.php index 9489c89..12363f4 100644 --- a/src/Exception/WebServiceException.php +++ b/src/Exception/WebServiceException.php @@ -7,6 +7,5 @@ /** * This class represents a generic web service error. */ -class WebServiceException extends \Exception -{ -} +// phpcs:disable +class WebServiceException extends \Exception {}