Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run new php-cs-fixer #51

Merged
merged 3 commits into from
Sep 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
https://www.apache.org/licenses/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change was a bit interesting. I had to see if it was OK and it appears it is -- https://opensource.stackexchange.com/questions/4200/is-it-ok-to-change-url-scheme-for-the-links-to-apache-2-license


TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

Expand Down Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
5 changes: 2 additions & 3 deletions src/Exception/AuthenticationException.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@
/**
* This class represents an error authenticating.
*/
class AuthenticationException extends InvalidRequestException
{
}
// phpcs:disable
class AuthenticationException extends InvalidRequestException {}
5 changes: 2 additions & 3 deletions src/Exception/InsufficientFundsException.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@
/**
* Thrown when the account is out of credits.
*/
class InsufficientFundsException extends InvalidRequestException
{
}
// phpcs:disable
class InsufficientFundsException extends InvalidRequestException {}
5 changes: 2 additions & 3 deletions src/Exception/InvalidInputException.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 {}
5 changes: 2 additions & 3 deletions src/Exception/IpAddressNotFoundException.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@

namespace MaxMind\Exception;

class IpAddressNotFoundException extends InvalidRequestException
{
}
// phpcs:disable
class IpAddressNotFoundException extends InvalidRequestException {}
5 changes: 2 additions & 3 deletions src/Exception/PermissionRequiredException.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 {}
5 changes: 2 additions & 3 deletions src/Exception/WebServiceException.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@
/**
* This class represents a generic web service error.
*/
class WebServiceException extends \Exception
{
}
// phpcs:disable
class WebServiceException extends \Exception {}