stable

Clone or download

Read-only

Use PSR-17 [0] HTTP factories

This replace the existing factories that had the same role. With this contribution and the one introducing PSR-18 HTTP clients (see d489d91ef0ab38a2610c1eab55a2351f9465453d) Tuleap has within its internal API a modern way to interact with HTTP services. The use of the PSR interfaces should be future proof and at least guarantee us some interoperability with the rest of the ecosystem. No changes are expected at the functional level. This is part of request #12996: Move to PSR-18 HTTP client and PSR-17 HTTP factories [0] https://www.php-fig.org/psr/psr-17/ Change-Id: Iaa70046a7559339f1ffec0e99a6247e66dbc1873

Modified Files

Name
M plugins/docman/include/Tus/TusServer.php +3 −3 Go to diff View file
M plugins/docman/include/docmanPlugin.class.php +3 −3 Go to diff View file
M plugins/docman/phpunit/Tus/TusCORSMiddlewareTest.php +6 −6 Go to diff View file
M plugins/docman/phpunit/Tus/TusServerTest.php +19 −19 Go to diff View file
M plugins/git/hooks/post-receive.php +7 −2 Go to diff View file
M plugins/hudson/include/HudsonJobBuilder.php +3 −3 Go to diff View file
M plugins/hudson/include/hudsonActions.class.php +2 −2 Go to diff View file
M plugins/hudson/include/hudsonPlugin.class.php +4 −4 Go to diff View file
M plugins/hudson/include/hudsonViews.class.php +5 −2 Go to diff View file
M plugins/hudson/phpunit/HudsonJobBuilderTest.php +5 −5 Go to diff View file
M plugins/openidconnectclient/include/OpenIDConnectClient/Authentication/Token/TokenRequestCreator.php +27 −18 Go to diff View file
M plugins/openidconnectclient/include/OpenIDConnectClient/Authentication/UserInfo/UserInfoRequestCreator.php +7 −9 Go to diff View file
M plugins/openidconnectclient/include/openidconnectclientPlugin.class.php +4 −3 Go to diff View file
M plugins/openidconnectclient/phpunit/Authentication/UserInfo/UserInfoRequestCreatorTest.php +2 −2 Go to diff View file
M plugins/prometheus_metrics/include/MetricsController.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/PostCreation/ActionsRunner.php +3 −2 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_ArtifactFactory.class.php +3 −2 Go to diff View file
R src/common/Http/MessageFactoryBuilder.php Go to diff View file
M src/common/Http/Server/AlwaysSuccessfulRequestHandler.php +3 −3 Go to diff View file
M src/common/RSS/FeedHTTPClient.php +7 −4 Go to diff View file
M src/common/Webhook/Emitter.php +22 −16 Go to diff View file
M src/common/project/ProjectManager.class.php +3 −2 Go to diff View file
M src/common/widget/Widget_Rss.class.php +2 −2 Go to diff View file
M src/composer.json +2 −0 Go to diff View file
M src/composer.lock +103 −1 Go to diff View file
M src/www/api/index.php +2 −2 Go to diff View file
M tests/phpunit/common/REST/TuleapRESTCORSMiddlewareTest.php +4 −4 Go to diff View file
M tests/phpunit/common/Webhook/EmitterTest.php +13 −6 Go to diff View file