Skip to content

Commit

Permalink
Use ^2.3 of willdurand/negotiation
Browse files Browse the repository at this point in the history
2.3.0+ have logic for matching `*` in `+` segments of subtypes.
  • Loading branch information
weierophinney committed May 8, 2017
1 parent 6196783 commit de168d8
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 52 deletions.
21 changes: 1 addition & 20 deletions README.md
Expand Up @@ -8,26 +8,7 @@ exception types for [PSR-7](http://www.php-fig.org/psr/psr-7/) applications.

## Installation

This library currently depends on an unreleased patch to willdurand/negotiation.
Your first step is adding a repository entry to your `composer.json` for
retrieving that patch:

```json
"repositories": [
{"type": "vcs", "url": "https://github.com/weierophinney/negotiation.git"}
]
```

You will then need to provide a manual specification for the
`willdurand/negotiation` requirement within `composer.json`:

```json
"require": {
"willdurand/negotiation": "dev-feature/plus-part-matching as 2.3.0"
}
```

Once you have made those changes, run the following to install this library:
Run the following to install this library:

```bash
$ composer require weierophinney/problem-details
Expand Down
7 changes: 2 additions & 5 deletions composer.json
Expand Up @@ -9,7 +9,7 @@
"http-interop/http-middleware": "^0.4.1",
"psr/container": "^1.0",
"spatie/array-to-xml": "^2.3",
"willdurand/negotiation": "dev-feature/plus-part-matching as 2.3.0",
"willdurand/negotiation": "^2.3",
"zendframework/zend-diactoros": "^1.4"
},
"require-dev": {
Expand Down Expand Up @@ -39,8 +39,5 @@
},
"config": {
"sort-packages": true
},
"repositories": [
{"type": "vcs", "url": "https://github.com/weierophinney/negotiation.git"}
]
}
}
43 changes: 16 additions & 27 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit de168d8

Please sign in to comment.