Skip to content

Commit

Permalink
changed NegotiationTrait namespace. v1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarotero committed Jan 25, 2018
1 parent 55b7bcf commit 46cd585
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [UNRELEASED]
## [1.0.0] - 2018-01-25

### Added

Expand All @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Changed

- Upgraded to the final version of PSR-15 `psr/http-server-middleware`
- Changed namespace of `Middlewares\NegotiationTrait` (from `Middlewares\Utils\NegotiationTrait`)

### Fixed

Expand Down Expand Up @@ -87,7 +88,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

First version

[UNRELEASED]: https://github.com/middlewares/negotiation/compare/v0.5.0...HEAD
[1.0.0]: https://github.com/middlewares/negotiation/compare/v0.5.0...v1.0.0
[0.5.0]: https://github.com/middlewares/negotiation/compare/v0.4.0...v0.5.0
[0.4.0]: https://github.com/middlewares/negotiation/compare/v0.3.1...v0.4.0
[0.3.1]: https://github.com/middlewares/negotiation/compare/v0.3.0...v0.3.1
Expand Down
2 changes: 1 addition & 1 deletion src/ContentEncoding.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

class ContentEncoding implements MiddlewareInterface
{
use Utils\NegotiationTrait;
use NegotiationTrait;

/**
* @var array Available encodings
Expand Down
2 changes: 1 addition & 1 deletion src/ContentLanguage.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

class ContentLanguage implements MiddlewareInterface
{
use Utils\NegotiationTrait;
use NegotiationTrait;

/**
* @var array Allowed languages
Expand Down
2 changes: 1 addition & 1 deletion src/ContentType.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

class ContentType implements MiddlewareInterface
{
use Utils\NegotiationTrait;
use NegotiationTrait;

/**
* @var bool Whether use the first format as default
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
declare(strict_types = 1);

namespace Middlewares\Utils;
namespace Middlewares;

use Negotiation\AbstractNegotiator;

Expand Down

0 comments on commit 46cd585

Please sign in to comment.