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

Fix: Rename interface #667

Merged
merged 1 commit into from Jan 30, 2022
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 10 additions & 2 deletions CHANGELOG.md
Expand Up @@ -6,11 +6,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## Unreleased

For a full diff see [`2.2.0...main`][2.2.0...main].
For a full diff see [`3.0.0...main`][3.0.0...main].

## [`3.0.0`][3.0.0]

For a full diff see [`2.2.0...3.0.0`][2.2.0...3.0.0].

### Changed

- Required `ergebnis/json-schema-validator:^3.0.0` ([#666]), by [@dependabot]
- Renamed `Exception\ExceptionInterface` to `Exception\Exception` ([#667]), by [@dependabot]

## [`2.2.0`][2.2.0]

Expand Down Expand Up @@ -370,6 +375,7 @@ For a full diff see [`5d8b3e2...0.1.0`][5d8b3e2...0.1.0].
[2.0.0]: https://github.com/ergebnis/json-normalizer/releases/tag/2.0.0
[2.1.0]: https://github.com/ergebnis/json-normalizer/releases/tag/2.1.0
[2.2.0]: https://github.com/ergebnis/json-normalizer/releases/tag/2.2.0
[3.0.0]: https://github.com/ergebnis/json-normalizer/releases/tag/3.0.0

[5d8b3e2...0.1.0]: https://github.com/ergebnis/json-normalizer/compare/5d8b3e2...0.1.0
[0.1.0...0.2.0]: https://github.com/ergebnis/json-normalizer/compare/0.1.0...0.2.0
Expand Down Expand Up @@ -397,7 +403,8 @@ For a full diff see [`5d8b3e2...0.1.0`][5d8b3e2...0.1.0].
[1.0.3...2.0.0]: https://github.com/ergebnis/json-normalizer/compare/1.0.3...2.0.0
[2.0.0...2.1.0]: https://github.com/ergebnis/json-normalizer/compare/2.0.0...2.1.0
[2.1.0...2.2.0]: https://github.com/ergebnis/json-normalizer/compare/2.1.0...2.2.0
[2.2.0...main]: https://github.com/ergebnis/json-normalizer/compare/2.2.0...main
[2.2.0...3.0.0]: https://github.com/ergebnis/json-normalizer/compare/2.2.0...3.0.0
[3.0.0...main]: https://github.com/ergebnis/json-normalizer/compare/3.0.0...main

[#1]: https://github.com/ergebnis/json-normalizer/pull/1
[#2]: https://github.com/ergebnis/json-normalizer/pull/2
Expand Down Expand Up @@ -481,6 +488,7 @@ For a full diff see [`5d8b3e2...0.1.0`][5d8b3e2...0.1.0].
[#639]: https://github.com/ergebnis/json-normalizer/pull/639
[#641]: https://github.com/ergebnis/json-normalizer/pull/641
[#666]: https://github.com/ergebnis/json-normalizer/pull/666
[#667]: https://github.com/ergebnis/json-normalizer/pull/667

[@BackEndTea]: https://github.com/BackEndTea
[@dependabot]: https://github.com/dependabot
Expand Down
Expand Up @@ -13,6 +13,6 @@

namespace Ergebnis\Json\Normalizer\Exception;

interface ExceptionInterface extends \Throwable
interface Exception extends \Throwable
{
}
2 changes: 1 addition & 1 deletion src/Exception/InvalidIndentSizeException.php
Expand Up @@ -13,7 +13,7 @@

namespace Ergebnis\Json\Normalizer\Exception;

final class InvalidIndentSizeException extends \InvalidArgumentException implements ExceptionInterface
final class InvalidIndentSizeException extends \InvalidArgumentException implements Exception
{
private int $size = 0;
private int $minimumSize = 0;
Expand Down
2 changes: 1 addition & 1 deletion src/Exception/InvalidIndentStringException.php
Expand Up @@ -13,7 +13,7 @@

namespace Ergebnis\Json\Normalizer\Exception;

final class InvalidIndentStringException extends \InvalidArgumentException implements ExceptionInterface
final class InvalidIndentStringException extends \InvalidArgumentException implements Exception
{
private string $string = '';

Expand Down
2 changes: 1 addition & 1 deletion src/Exception/InvalidIndentStyleException.php
Expand Up @@ -13,7 +13,7 @@

namespace Ergebnis\Json\Normalizer\Exception;

final class InvalidIndentStyleException extends \InvalidArgumentException implements ExceptionInterface
final class InvalidIndentStyleException extends \InvalidArgumentException implements Exception
{
private string $style = '';

Expand Down
2 changes: 1 addition & 1 deletion src/Exception/InvalidJsonEncodeOptionsException.php
Expand Up @@ -13,7 +13,7 @@

namespace Ergebnis\Json\Normalizer\Exception;

final class InvalidJsonEncodeOptionsException extends \InvalidArgumentException implements ExceptionInterface
final class InvalidJsonEncodeOptionsException extends \InvalidArgumentException implements Exception
{
private int $jsonEncodeOptions = 0;

Expand Down
2 changes: 1 addition & 1 deletion src/Exception/InvalidJsonEncodedException.php
Expand Up @@ -13,7 +13,7 @@

namespace Ergebnis\Json\Normalizer\Exception;

final class InvalidJsonEncodedException extends \InvalidArgumentException implements ExceptionInterface
final class InvalidJsonEncodedException extends \InvalidArgumentException implements Exception
{
private string $encoded = '';

Expand Down
2 changes: 1 addition & 1 deletion src/Exception/InvalidNewLineStringException.php
Expand Up @@ -13,7 +13,7 @@

namespace Ergebnis\Json\Normalizer\Exception;

final class InvalidNewLineStringException extends \InvalidArgumentException implements ExceptionInterface
final class InvalidNewLineStringException extends \InvalidArgumentException implements Exception
{
private string $string = '';

Expand Down
Expand Up @@ -13,7 +13,7 @@

namespace Ergebnis\Json\Normalizer\Exception;

final class NormalizedInvalidAccordingToSchemaException extends \RuntimeException implements ExceptionInterface
final class NormalizedInvalidAccordingToSchemaException extends \RuntimeException implements Exception
{
private string $schemaUri = '';

Expand Down
Expand Up @@ -13,7 +13,7 @@

namespace Ergebnis\Json\Normalizer\Exception;

final class OriginalInvalidAccordingToSchemaException extends \RuntimeException implements ExceptionInterface
final class OriginalInvalidAccordingToSchemaException extends \RuntimeException implements Exception
{
private string $schemaUri = '';

Expand Down
2 changes: 1 addition & 1 deletion src/Exception/SchemaUriCouldNotBeReadException.php
Expand Up @@ -13,7 +13,7 @@

namespace Ergebnis\Json\Normalizer\Exception;

final class SchemaUriCouldNotBeReadException extends \RuntimeException implements ExceptionInterface
final class SchemaUriCouldNotBeReadException extends \RuntimeException implements Exception
{
private string $schemaUri = '';

Expand Down
2 changes: 1 addition & 1 deletion src/Exception/SchemaUriCouldNotBeResolvedException.php
Expand Up @@ -13,7 +13,7 @@

namespace Ergebnis\Json\Normalizer\Exception;

final class SchemaUriCouldNotBeResolvedException extends \RuntimeException implements ExceptionInterface
final class SchemaUriCouldNotBeResolvedException extends \RuntimeException implements Exception
{
private string $schemaUri = '';

Expand Down
Expand Up @@ -13,7 +13,7 @@

namespace Ergebnis\Json\Normalizer\Exception;

final class SchemaUriReferencesDocumentWithInvalidMediaTypeException extends \RuntimeException implements ExceptionInterface
final class SchemaUriReferencesDocumentWithInvalidMediaTypeException extends \RuntimeException implements Exception
{
private string $schemaUri = '';

Expand Down
Expand Up @@ -13,7 +13,7 @@

namespace Ergebnis\Json\Normalizer\Exception;

final class SchemaUriReferencesInvalidJsonDocumentException extends \RuntimeException implements ExceptionInterface
final class SchemaUriReferencesInvalidJsonDocumentException extends \RuntimeException implements Exception
{
private string $schemaUri = '';

Expand Down