1
0
mirror of https://github.com/flarum/core.git synced 2025-07-30 21:20:24 +02:00

Upgrade Zend Diactoros to 1.1

This gives us a bunch of handy helper classes for empty responses,
redirects, HTML and JSON content types.

Closes flarum/core#153
This commit is contained in:
Franz Liedke
2015-06-26 22:34:34 +02:00
parent 260f4c85bf
commit cca97398ae
10 changed files with 92 additions and 53 deletions

View File

@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically"
],
"hash": "57202a56eaacefdff162f426710d1cb2",
"hash": "8ad4b2052460cb12a510ea37eab3b038",
"packages": [
{
"name": "danielstjules/stringy",
@@ -431,7 +431,7 @@
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/Intervention/image/zipball/1009557c32205b077e34b2ae611e6316fa423021",
"url": "https://api.github.com/repos/Intervention/image/zipball/bfc49d8702cafa22de5912b23d82c39d9236933f",
"reference": "1009557c32205b077e34b2ae611e6316fa423021",
"shasum": ""
},
@@ -585,7 +585,7 @@
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/nikic/FastRoute/zipball/ffb3b68a3ab0df7e60cf587d2de4937915670f16",
"url": "https://api.github.com/repos/nikic/FastRoute/zipball/31fa86924556b80735f98b294a7ffdfb26789f22",
"reference": "ffb3b68a3ab0df7e60cf587d2de4937915670f16",
"shasum": ""
},
@@ -736,7 +736,7 @@
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/Translation/zipball/95f9b028555f55b78b465a2488f1a38442acc412",
"url": "https://api.github.com/repos/symfony/Translation/zipball/eda5e27afa889870ad77eb32031d1f27c9deb87f",
"reference": "95f9b028555f55b78b465a2488f1a38442acc412",
"shasum": ""
},
@@ -797,7 +797,7 @@
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/tobscure/json-api/zipball/d6c82a496289569e8907f3aa980ace407a35b45e",
"url": "https://api.github.com/repos/tobscure/json-api/zipball/cfc22175c1c2fa30871dfc40b4aa7713d4246399",
"reference": "d6c82a496289569e8907f3aa980ace407a35b45e",
"shasum": ""
},
@@ -859,6 +859,56 @@
],
"description": "Powerful, flexible, relational permissions using Eloquent.",
"time": "2015-05-29 05:01:56"
},
{
"name": "zendframework/zend-diactoros",
"version": "dev-develop",
"source": {
"type": "git",
"url": "https://github.com/zendframework/zend-diactoros.git",
"reference": "1aface914fb3a45747a1db001ffaf2830a19ae4c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/zendframework/zend-diactoros/zipball/1aface914fb3a45747a1db001ffaf2830a19ae4c",
"reference": "1aface914fb3a45747a1db001ffaf2830a19ae4c",
"shasum": ""
},
"require": {
"php": ">=5.4",
"psr/http-message": "~1.0"
},
"provide": {
"psr/http-message-implementation": "~1.0.0"
},
"require-dev": {
"phpunit/phpunit": "~4.6",
"squizlabs/php_codesniffer": "^2.3.1"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.0-dev",
"dev-develop": "1.1-dev"
}
},
"autoload": {
"psr-4": {
"Zend\\Diactoros\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD-2-Clause"
],
"description": "PSR HTTP Message implementations",
"homepage": "https://github.com/zendframework/zend-diactoros",
"keywords": [
"http",
"psr",
"psr-7"
],
"time": "2015-06-25 18:49:21"
}
],
"packages-dev": [
@@ -872,7 +922,7 @@
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/Codeception/Codeception/zipball/8b3ab1c66653a18fdbe4e11416e46faee4d14f69",
"url": "https://api.github.com/repos/Codeception/Codeception/zipball/180611273eda0c428ab0fd134860d179e252ba4d",
"reference": "8b3ab1c66653a18fdbe4e11416e46faee4d14f69",
"shasum": ""
},
@@ -1656,7 +1706,7 @@
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/a02682e0fee6392379f6cc1784aa8a7b83bf4551",
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/df88fdf48a61af29cc309545f9c8d425c63b8852",
"reference": "a02682e0fee6392379f6cc1784aa8a7b83bf4551",
"shasum": ""
},
@@ -1718,7 +1768,7 @@
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/a923bb15680d0089e2316f7a4af8f437046e96bb",
"url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/6150bf2c35d3fc379e50c7602b75caceaa39dbf0",
"reference": "a923bb15680d0089e2316f7a4af8f437046e96bb",
"shasum": ""
},
@@ -1850,7 +1900,7 @@
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/1c7eb0aa0d1ca766cc7177b1709ed00b4cb352a5",
"url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/7a9b0969488c3c54fd62b4d504b3ec758fd005d9",
"reference": "1c7eb0aa0d1ca766cc7177b1709ed00b4cb352a5",
"shasum": ""
},
@@ -1971,7 +2021,7 @@
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/9e9609457d9dee6404eb19de95fe1e78d4fd9faa",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/a1304c50e6982bf6d1fa5131ee276bbc6229d80b",
"reference": "9e9609457d9dee6404eb19de95fe1e78d4fd9faa",
"shasum": ""
},
@@ -2070,7 +2120,7 @@
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/1dd8869519a225f7f2b9eb663e225298fade819e",
"url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/abd05e77d364138c0532a1b78a13c4d78311f546",
"reference": "1dd8869519a225f7f2b9eb663e225298fade819e",
"shasum": ""
},
@@ -2134,7 +2184,7 @@
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/863df9687835c62aa423a22412d26fa2ebde3fd3",
"url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/6899b3e33bfbd386d88b5eea5f65f563e8793051",
"reference": "863df9687835c62aa423a22412d26fa2ebde3fd3",
"shasum": ""
},
@@ -2186,7 +2236,7 @@
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/5a8c7d31914337b69923db26c4221b81ff5a196e",
"url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/bc66c3bbe6e5822c34395049e110566491cafa3b",
"reference": "5a8c7d31914337b69923db26c4221b81ff5a196e",
"shasum": ""
},
@@ -2236,7 +2286,7 @@
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/84839970d05254c73cde183a721c7af13aede943",
"url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/7ae5513327cb536431847bcc0c10edba2701064e",
"reference": "84839970d05254c73cde183a721c7af13aede943",
"shasum": ""
},
@@ -2302,7 +2352,7 @@
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/1ee0113873e66eb8618381b91bca0265ebb64056",
"url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/23af31f402993cfd94e99cbc4b782e9a78eb0e97",
"reference": "1ee0113873e66eb8618381b91bca0265ebb64056",
"shasum": ""
},
@@ -2353,7 +2403,7 @@
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/7cd333d1e240458cd5963a6b6ba6500bb1d26212",
"url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/994d4a811bafe801fb06dccbee797863ba2792ba",
"reference": "7cd333d1e240458cd5963a6b6ba6500bb1d26212",
"shasum": ""
},
@@ -2570,7 +2620,7 @@
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/Console/zipball/caba94cb0b1b9c77aa6870040ef6b1b66f588f6d",
"url": "https://api.github.com/repos/symfony/Console/zipball/2a909e48c528c7c9b22caff6ff622c6c69032bfc",
"reference": "caba94cb0b1b9c77aa6870040ef6b1b66f588f6d",
"shasum": ""
},
@@ -2733,7 +2783,7 @@
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/EventDispatcher/zipball/d91fb729673cc8587d0471bab5be02c77d608e77",
"url": "https://api.github.com/repos/symfony/EventDispatcher/zipball/d7246885b7fe4cb5a2786bda34362d2f0e40b730",
"reference": "d91fb729673cc8587d0471bab5be02c77d608e77",
"shasum": ""
},
@@ -2791,7 +2841,7 @@
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/Finder/zipball/798e9a9c69f3e2e9d8766e8633e404676a09f99c",
"url": "https://api.github.com/repos/symfony/Finder/zipball/588ded81facfb6462c43e6922509e3f8c889de05",
"reference": "798e9a9c69f3e2e9d8766e8633e404676a09f99c",
"shasum": ""
},
@@ -2840,7 +2890,7 @@
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/Yaml/zipball/709857e12da0f00ff2a15b3b54b75f827d591029",
"url": "https://api.github.com/repos/symfony/Yaml/zipball/f248a72777f3fec2bcafdce3ccd94086250448e1",
"reference": "709857e12da0f00ff2a15b3b54b75f827d591029",
"shasum": ""
},