stable

Clone or download

Read-only

Use PSR-18 HTTP client interface instead of the interface provided by HTTPPlug

The end goal is to make easier to interact with the rest of the PHP eco-system. PSR-18 [0] is still quite recent but it is likely that over time libraries will rely on it as a first party component or at least provide an adapter. The usage of the ErrorPlugin has been dropped because it breaks the contract sets by PSR-18. No functionnal changes are expected. 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-18/ Change-Id: I40b7b4cef5e9b8c59b6ce86a6a47d18553a26152

Modified Files

Name
M plugins/git/hooks/post-receive.php +2 −2 Go to diff View file
M plugins/hudson/include/HudsonJobBuilder.php +7 −1 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 +2 −2 Go to diff View file
M plugins/hudson/phpunit/HudsonJobBuilderTest.php +10 −5 Go to diff View file
M plugins/openidconnectclient/include/OpenIDConnectClient/Authentication/Token/TokenRequestSender.php +2 −2 Go to diff View file
M plugins/openidconnectclient/include/OpenIDConnectClient/Authentication/UserInfo/UserInfoRequestSender.php +5 −3 Go to diff View file
M plugins/prometheus_metrics/include/MetricsController.php +4 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/PostCreation/ActionsRunner.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_ArtifactFactory.class.php +3 −3 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/XMLImportBuilder.class.php +3 −21 Go to diff View file
M plugins/tracker/include/Tracker/Migration/MigrationManager.php +6 −32 Go to diff View file
M src/common/Http/HttpClientFactory.php +37 −11 Go to diff View file
M src/common/RSS/FeedHTTPClient.php +4 −3 Go to diff View file
M src/common/Webhook/Emitter.php +2 −2 Go to diff View file
M src/common/project/ProjectManager.class.php +2 −2 Go to diff View file
M src/common/widget/Widget_Rss.class.php +3 −3 Go to diff View file
M src/composer.json +5 −4 Go to diff View file
M src/composer.lock +166 −64 Go to diff View file
M tools/utils/TuleapDev/GerritSetupCommand.php +7 −7 Go to diff View file