From f846f5467315efa772ef10766662296d99b95f18 Mon Sep 17 00:00:00 2001 From: "github-action[bot]" <> Date: Sat, 6 May 2023 16:42:45 +0000 Subject: [PATCH] Update Flex endpoint --- RECIPES.md | 1 + ...c0345442dcca1d8a2c65633dcf0285dd5a5a2.json | 34 +++++++++++++++++++ ...b5dd173a27873ab19f5e3180b2f661c21de02.json | 30 ++++++++++++++++ index.json | 8 +++++ nyholm.psr7.1.0.json | 5 ++- php-http.discovery.1.18.json | 30 ++++++++++++++++ 6 files changed, 107 insertions(+), 1 deletion(-) create mode 100644 archived/nyholm.psr7/4a8c0345442dcca1d8a2c65633dcf0285dd5a5a2.json create mode 100644 archived/php-http.discovery/f45b5dd173a27873ab19f5e3180b2f661c21de02.json create mode 100644 php-http.discovery.1.18.json diff --git a/RECIPES.md b/RECIPES.md index 5ce65d05..5e27d1f4 100644 --- a/RECIPES.md +++ b/RECIPES.md @@ -23,6 +23,7 @@ Additional recipes can be found on the [Contrib Recipes Repository](https://gith | [nelmio/security-bundle](https://packagist.org/packages/nelmio/security-bundle) | [2.4](nelmio/security-bundle/2.4) | | | [nyholm/psr7](https://packagist.org/packages/nyholm/psr7) | [1.0](nyholm/psr7/1.0) | | | [php-cs-fixer/shim](https://packagist.org/packages/php-cs-fixer/shim) | [3.0](php-cs-fixer/shim/3.0) | `cs-fixer-shim`, `csfixershim`, `php-cs-fixer-shim`, `phpcsfixershim` | +| [php-http/discovery](https://packagist.org/packages/php-http/discovery) | [1.18](php-http/discovery/1.18) | | | [phpunit/phpunit](https://packagist.org/packages/phpunit/phpunit) | [9.3](phpunit/phpunit/9.3) | | | [scheb/2fa-bundle](https://packagist.org/packages/scheb/2fa-bundle) | [6.0](scheb/2fa-bundle/6.0) | `2fa` | | [sensio/framework-extra-bundle](https://packagist.org/packages/sensio/framework-extra-bundle) | [5.2](sensio/framework-extra-bundle/5.2) | `annot`, `annotation`, `annotations`, `annots` | diff --git a/archived/nyholm.psr7/4a8c0345442dcca1d8a2c65633dcf0285dd5a5a2.json b/archived/nyholm.psr7/4a8c0345442dcca1d8a2c65633dcf0285dd5a5a2.json new file mode 100644 index 00000000..d3371e6f --- /dev/null +++ b/archived/nyholm.psr7/4a8c0345442dcca1d8a2c65633dcf0285dd5a5a2.json @@ -0,0 +1,34 @@ +{ + "manifests": { + "nyholm/psr7": { + "manifest": { + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "conflict": { + "php-http/discovery": ">=1.18" + } + }, + "files": { + "config/packages/nyholm_psr7.yaml": { + "contents": [ + "services:", + " # Register nyholm/psr7 services for autowiring with PSR-17 (HTTP factories)", + " Psr\\Http\\Message\\RequestFactoryInterface: '@nyholm.psr7.psr17_factory'", + " Psr\\Http\\Message\\ResponseFactoryInterface: '@nyholm.psr7.psr17_factory'", + " Psr\\Http\\Message\\ServerRequestFactoryInterface: '@nyholm.psr7.psr17_factory'", + " Psr\\Http\\Message\\StreamFactoryInterface: '@nyholm.psr7.psr17_factory'", + " Psr\\Http\\Message\\UploadedFileFactoryInterface: '@nyholm.psr7.psr17_factory'", + " Psr\\Http\\Message\\UriFactoryInterface: '@nyholm.psr7.psr17_factory'", + "", + " nyholm.psr7.psr17_factory:", + " class: Nyholm\\Psr7\\Factory\\Psr17Factory", + "" + ], + "executable": false + } + }, + "ref": "4a8c0345442dcca1d8a2c65633dcf0285dd5a5a2" + } + } +} diff --git a/archived/php-http.discovery/f45b5dd173a27873ab19f5e3180b2f661c21de02.json b/archived/php-http.discovery/f45b5dd173a27873ab19f5e3180b2f661c21de02.json new file mode 100644 index 00000000..5215c64a --- /dev/null +++ b/archived/php-http.discovery/f45b5dd173a27873ab19f5e3180b2f661c21de02.json @@ -0,0 +1,30 @@ +{ + "manifests": { + "php-http/discovery": { + "manifest": { + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } + }, + "files": { + "config/packages/http_discovery.yaml": { + "contents": [ + "services:", + " Psr\\Http\\Message\\RequestFactoryInterface: '@http_discovery.psr17_factory'", + " Psr\\Http\\Message\\ResponseFactoryInterface: '@http_discovery.psr17_factory'", + " Psr\\Http\\Message\\ServerRequestFactoryInterface: '@http_discovery.psr17_factory'", + " Psr\\Http\\Message\\StreamFactoryInterface: '@http_discovery.psr17_factory'", + " Psr\\Http\\Message\\UploadedFileFactoryInterface: '@http_discovery.psr17_factory'", + " Psr\\Http\\Message\\UriFactoryInterface: '@http_discovery.psr17_factory'", + "", + " http_discovery.psr17_factory:", + " class: Http\\Discovery\\Psr17Factory", + "" + ], + "executable": false + } + }, + "ref": "f45b5dd173a27873ab19f5e3180b2f661c21de02" + } + } +} diff --git a/index.json b/index.json index 499c167d..5b213193 100644 --- a/index.json +++ b/index.json @@ -500,6 +500,9 @@ "php-cs-fixer/shim": [ "3.0" ], + "php-http/discovery": [ + "1.18" + ], "phpunit/phpunit": [ "4.7", "9.3" @@ -958,6 +961,11 @@ "symfony/framework-bundle": "<5.3" } }, + "nyholm/psr7": { + "1.0": { + "php-http/discovery": ">=1.18" + } + }, "symfony/debug-bundle": { "5.3": { "symfony/framework-bundle": "<5.3" diff --git a/nyholm.psr7.1.0.json b/nyholm.psr7.1.0.json index 6ade120b..d3371e6f 100644 --- a/nyholm.psr7.1.0.json +++ b/nyholm.psr7.1.0.json @@ -4,6 +4,9 @@ "manifest": { "copy-from-recipe": { "config/": "%CONFIG_DIR%/" + }, + "conflict": { + "php-http/discovery": ">=1.18" } }, "files": { @@ -25,7 +28,7 @@ "executable": false } }, - "ref": "a9f242fbadb1407681c019f38c67ab448b056341" + "ref": "4a8c0345442dcca1d8a2c65633dcf0285dd5a5a2" } } } diff --git a/php-http.discovery.1.18.json b/php-http.discovery.1.18.json new file mode 100644 index 00000000..5215c64a --- /dev/null +++ b/php-http.discovery.1.18.json @@ -0,0 +1,30 @@ +{ + "manifests": { + "php-http/discovery": { + "manifest": { + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } + }, + "files": { + "config/packages/http_discovery.yaml": { + "contents": [ + "services:", + " Psr\\Http\\Message\\RequestFactoryInterface: '@http_discovery.psr17_factory'", + " Psr\\Http\\Message\\ResponseFactoryInterface: '@http_discovery.psr17_factory'", + " Psr\\Http\\Message\\ServerRequestFactoryInterface: '@http_discovery.psr17_factory'", + " Psr\\Http\\Message\\StreamFactoryInterface: '@http_discovery.psr17_factory'", + " Psr\\Http\\Message\\UploadedFileFactoryInterface: '@http_discovery.psr17_factory'", + " Psr\\Http\\Message\\UriFactoryInterface: '@http_discovery.psr17_factory'", + "", + " http_discovery.psr17_factory:", + " class: Http\\Discovery\\Psr17Factory", + "" + ], + "executable": false + } + }, + "ref": "f45b5dd173a27873ab19f5e3180b2f661c21de02" + } + } +}