Add a Response object to ResponseRenderer class
commitc0d04b68956b47ce84131b9a68723f58275d789a
authorMaurício Meneghini Fauth <mauricio@fauth.dev>
Tue, 8 Aug 2023 01:27:48 +0000 (7 22:27 -0300)
committerMaurício Meneghini Fauth <mauricio@fauth.dev>
Tue, 8 Aug 2023 01:27:48 +0000 (7 22:27 -0300)
tree550561b478d804662aa64b42fcddc70cab929845
parent8936a7a708ddef09e40747f7748a51005d46b281
Add a Response object to ResponseRenderer class

Uses a Response object to handle the HTTP headers and HTTP status code.

This makes the AbstractNetworkTestCase obsolete and removes it.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
27 files changed:
libraries/classes/Controllers/AbstractController.php
libraries/classes/Controllers/ChangeLogController.php
libraries/classes/Controllers/LicenseController.php
libraries/classes/Controllers/Server/Privileges/AccountLockController.php
libraries/classes/Controllers/Server/Privileges/AccountUnlockController.php
libraries/classes/Controllers/Server/PrivilegesController.php
libraries/classes/Controllers/Server/UserGroupsFormController.php
libraries/classes/Controllers/Server/Variables/GetVariableController.php
libraries/classes/Controllers/Setup/ShowConfigController.php
libraries/classes/Plugins/Auth/AuthenticationCookie.php
libraries/classes/Plugins/Auth/AuthenticationHttp.php
libraries/classes/ResponseRenderer.php
libraries/classes/Setup/FormProcessing.php
phpstan-baseline.neon
psalm-baseline.xml
test/classes/AbstractNetworkTestCase.php [deleted file]
test/classes/Controllers/AbstractControllerTest.php
test/classes/Controllers/Server/Privileges/AccountLockControllerTest.php
test/classes/Controllers/Server/Privileges/AccountUnlockControllerTest.php
test/classes/Controllers/Table/DropColumnConfirmationControllerTest.php
test/classes/CoreTest.php
test/classes/Plugins/Auth/AuthenticationCookieTest.php
test/classes/Plugins/Auth/AuthenticationHttpTest.php
test/classes/Plugins/Auth/AuthenticationSignonTest.php
test/classes/Setup/FormProcessingTest.php
test/classes/Stubs/ResponseRenderer.php
test/classes/UserPreferencesTest.php