diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e3dd40..5121d40 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ### Added - Issue #5: `ResultInterface::get()` method added. +### Fixed +- Issue #6: locator builder moved to correct namespace. ## [0.6.3] - 2019-11-18 ### Fixed diff --git a/src/Locator/Exception/ExceptionInterface.php b/src/Locator/Exception/ExceptionInterface.php new file mode 100644 index 0000000..55885b6 --- /dev/null +++ b/src/Locator/Exception/ExceptionInterface.php @@ -0,0 +1,10 @@ +referenceFactory = $referenceFactory; diff --git a/src/Parser/LocatorBuilderInterface.php b/src/Locator/LocatorBuilderInterface.php similarity index 65% rename from src/Parser/LocatorBuilderInterface.php rename to src/Locator/LocatorBuilderInterface.php index 39d1501..501554e 100644 --- a/src/Parser/LocatorBuilderInterface.php +++ b/src/Locator/LocatorBuilderInterface.php @@ -1,9 +1,7 @@ createMock(ReferenceFactoryInterface::class)); diff --git a/tests/Parser/TranslationSchemeTest.php b/tests/Parser/TranslationSchemeTest.php index 9baccf6..83f0663 100644 --- a/tests/Parser/TranslationSchemeTest.php +++ b/tests/Parser/TranslationSchemeTest.php @@ -4,7 +4,7 @@ namespace Remorhaz\JSON\Pointer\Test\Parser; use PHPUnit\Framework\TestCase; -use Remorhaz\JSON\Pointer\Parser\LocatorBuilderInterface; +use Remorhaz\JSON\Pointer\Locator\LocatorBuilderInterface; use Remorhaz\JSON\Pointer\Parser\TranslationScheme; use Remorhaz\JSON\Pointer\TokenMatcher; use Remorhaz\UniLex\Exception as UniLexException;