Skip to content
This repository has been archived by the owner on Apr 10, 2020. It is now read-only.

Commit

Permalink
Unified namespace conventions used across packages
Browse files Browse the repository at this point in the history
  • Loading branch information
mfrankruijter committed Nov 10, 2019
1 parent b7631ac commit 5837398
Show file tree
Hide file tree
Showing 14 changed files with 46 additions and 26 deletions.
22 changes: 21 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,25 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 2.0.0 - 2019-11-10
### Added
- Nothing

### Changed
- Unified namespace conventions used across packages

### Deprecated
- Nothing

### Removed
- Nothing

### Fixed
- Nothing

### Security
- Nothing

## 1.0.0 - 2019-03-04
### Added
- Initial implementation of ulrack/search
Expand Down Expand Up @@ -37,4 +56,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Security
- Nothing

[Unreleased]: https://github.com/ulrack/search/compare/1.0.0...HEAD
[Unreleased]: https://github.com/ulrack/search/compare/2.0.0...HEAD
[2.0.0]: https://github.com/ulrack/search/compare/1.0.0...2.0.0
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ This object should then be compiled to whatever the application expects.
Search criteria objects are build on the `\Ulrack\Search\Common\SearchCriteriaInterface`.
These objects group all underlying search related objects by getting these injected.

The implementation is provided in the class `\Ulrack\Search\Criteria\SearchCriteria`.
The implementation is provided in the class `\Ulrack\Search\Component\Criteria\SearchCriteria`.

The `SearchCriteria` object can receive and retrieve the following objects:
- `\Ulrack\Search\Common\FilterGroupInterface`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* See LICENSE for license details.
*/

namespace Ulrack\Search\Criteria;
namespace Ulrack\Search\Component\Criteria;

use Ulrack\Search\Common\FilterInterface;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* See LICENSE for license details.
*/

namespace Ulrack\Search\Criteria;
namespace Ulrack\Search\Component\Criteria;

use Ulrack\Search\Common\FilterInterface;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* See LICENSE for license details.
*/

namespace Ulrack\Search\Criteria;
namespace Ulrack\Search\Component\Criteria;

use Ulrack\Search\Common\LimiterInterface;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* See LICENSE for license details.
*/

namespace Ulrack\Search\Criteria;
namespace Ulrack\Search\Component\Criteria;

use Ulrack\Search\Common\PagerInterface;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* See LICENSE for license details.
*/

namespace Ulrack\Search\Criteria;
namespace Ulrack\Search\Component\Criteria;

use Ulrack\Search\Common\FilterGroupInterface;
use Ulrack\Search\Common\LimiterInterface;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* See LICENSE for license details.
*/

namespace Ulrack\Search\Criteria;
namespace Ulrack\Search\Component\Criteria;

use Ulrack\Search\Common\SorterInterface;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
* See LICENSE for license details.
*/

namespace Ulrack\Search\Tests\Criteria;
namespace Ulrack\Search\Tests\Component\Criteria;

use PHPUnit\Framework\TestCase;
use Ulrack\Search\Criteria\FilterGroup;
use Ulrack\Search\Component\Criteria\FilterGroup;
use Ulrack\Search\Common\FilterInterface;

/**
* @coversDefaultClass \Ulrack\Search\Criteria\FilterGroup
* @coversDefaultClass \Ulrack\Search\Component\Criteria\FilterGroup
*/
class FilterGroupTest extends TestCase
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
* See LICENSE for license details.
*/

namespace Ulrack\Search\Tests\Criteria;
namespace Ulrack\Search\Tests\Component\Criteria;

use PHPUnit\Framework\TestCase;
use Ulrack\Search\Criteria\Filter;
use Ulrack\Search\Component\Criteria\Filter;
use Ulrack\Search\Common\FilterInterface;

/**
* @coversDefaultClass \Ulrack\Search\Criteria\Filter
* @coversDefaultClass \Ulrack\Search\Component\Criteria\Filter
*/
class FilterTest extends TestCase
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
* See LICENSE for license details.
*/

namespace Ulrack\Search\Tests\Criteria;
namespace Ulrack\Search\Tests\Component\Criteria;

use PHPUnit\Framework\TestCase;
use Ulrack\Search\Criteria\Limiter;
use Ulrack\Search\Component\Criteria\Limiter;

/**
* @coversDefaultClass \Ulrack\Search\Criteria\Limiter
* @coversDefaultClass \Ulrack\Search\Component\Criteria\Limiter
*/
class LimiterTest extends TestCase
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
* See LICENSE for license details.
*/

namespace Ulrack\Search\Tests\Criteria;
namespace Ulrack\Search\Tests\Component\Criteria;

use PHPUnit\Framework\TestCase;
use Ulrack\Search\Criteria\Pager;
use Ulrack\Search\Component\Criteria\Pager;

/**
* @coversDefaultClass \Ulrack\Search\Criteria\Pager
* @coversDefaultClass \Ulrack\Search\Component\Criteria\Pager
*/
class PagerTest extends TestCase
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@
* See LICENSE for license details.
*/

namespace Ulrack\Search\Tests\Criteria;
namespace Ulrack\Search\Tests\Component\Criteria;

use PHPUnit\Framework\TestCase;
use Ulrack\Search\Criteria\SearchCriteria;
use Ulrack\Search\Component\Criteria\SearchCriteria;
use Ulrack\Search\Common\SearchCriteriaInterface;
use Ulrack\Search\Common\FilterGroupInterface;
use Ulrack\Search\Common\SorterInterface;
use Ulrack\Search\Common\PagerInterface;
use Ulrack\Search\Common\LimiterInterface;

/**
* @coversDefaultClass \Ulrack\Search\Criteria\SearchCriteria
* @coversDefaultClass \Ulrack\Search\Component\Criteria\SearchCriteria
*/
class SearchCriteriaTest extends TestCase
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
* See LICENSE for license details.
*/

namespace Ulrack\Search\Tests\Criteria;
namespace Ulrack\Search\Tests\Component\Criteria;

use PHPUnit\Framework\TestCase;
use Ulrack\Search\Criteria\Sorter;
use Ulrack\Search\Component\Criteria\Sorter;
use Ulrack\Search\Common\SorterInterface;

/**
* @coversDefaultClass \Ulrack\Search\Criteria\Sorter
* @coversDefaultClass \Ulrack\Search\Component\Criteria\Sorter
*/
class SorterTest extends TestCase
{
Expand Down

0 comments on commit 5837398

Please sign in to comment.