370 matches across 1 category. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/HandlerStackTest.php | 27 | public function testCanSetDifferentHandlerAfterConstruction() |
| LOW | tests/HandlerStackTest.php | 60 | public function testUnshiftsInReverseOrder() |
| LOW | tests/HandlerStackTest.php | 76 | public function testCanRemoveMiddlewareByInstance() |
| LOW | tests/HandlerStackTest.php | 91 | public function testCanRemoveMiddlewareByCallableStringName() |
| LOW | tests/HandlerStackTest.php | 105 | public function testCanRemoveMiddlewareByCallableStringInstance() |
| LOW | tests/HandlerStackTest.php | 119 | public function testRemovePrefersNameWhenStringIsAlsoCallable() |
| LOW | tests/HandlerStackTest.php | 173 | public function testEnsuresHandlerExistsByName() |
| LOW | tests/HandlerStackTest.php | 198 | public function testPicksUpCookiesFromRedirects() |
| LOW | tests/UtilsTest.php | 55 | public function testParsesHeadersFromLines() |
| LOW | tests/UtilsTest.php | 74 | public function testParsesHeadersFromLinesWithMultipleLines() |
| LOW | tests/UtilsTest.php | 89 | public function testChooseHandlerAcceptsPreferredTransportSharing(): void |
| LOW | tests/UtilsTest.php | 110 | public function testChooseHandlerAcceptsRequiredTransportSharing(): void |
| LOW | tests/UtilsTest.php | 131 | public function testChooseHandlerAcceptsDisabledTransportSharing(): void |
| LOW | tests/UtilsTest.php | 157 | public function testProvidesDefaultCaBundler() |
| LOW | tests/UtilsTest.php | 172 | public function testNormalizeHeaderKeysHandlesNumericKeys() |
| LOW | tests/UtilsTest.php | 180 | public function testNormalizeProtocolsAcceptsLowercaseProtocols() |
| LOW | tests/UtilsTest.php | 185 | public function testNormalizeProtocolsRejectsUppercaseProtocols() |
| LOW | tests/UtilsTest.php | 268 | public function testEnsuresNoProxyCheckHostIsSet() |
| LOW | tests/UtilsTest.php | 275 | public function testEnsuresNoProxyCheckHostIsSetLegacy() |
| LOW | tests/UtilsTest.php | 288 | public function testEncodesJsonAndThrowsOnError() |
| LOW | tests/UtilsTest.php | 295 | public function testEncodesJsonAndThrowsOnErrorLegacy() |
| LOW | tests/UtilsTest.php | 308 | public function testDecodesJsonAndThrowsOnError() |
| LOW | tests/UtilsTest.php | 315 | public function testDecodesJsonAndThrowsOnErrorLegacy() |
| LOW | tests/UtilsTest.php | 325 | public function testDecodesJsonAndThrowsOnInvalidDepth(int $depth) |
| LOW | tests/UtilsTest.php | 335 | public function testDecodesJsonAndThrowsOnInvalidDepthLegacy(int $depth) |
| LOW | tests/UtilsTest.php | 347 | private static function skipIfDefaultCurlHandlerIsUnavailable(): void |
| LOW | tests/PrepareBodyMiddlewareTest.php | 33 | public function testAddsContentLengthWhenMissingAndPossible($method, $body) |
| LOW | tests/PrepareBodyMiddlewareTest.php | 57 | public function testPreservesCustomRequestWhenAddingContentLength() |
| LOW | tests/PrepareBodyMiddlewareTest.php | 111 | public function testAddsTransferEncodingWhenNoContentLength() |
| LOW | tests/PrepareBodyMiddlewareTest.php | 136 | public function testAddsContentTypeWhenMissingAndPossible() |
| LOW | tests/PrepareBodyMiddlewareTest.php | 194 | public function testPreservesCustomRequestWhenAddingExpect() |
| LOW | tests/PrepareBodyMiddlewareTest.php | 218 | public function testIgnoresIfExpectIsPresent() |
| LOW | tests/RetryMiddlewareTest.php | 16 | public function testRetriesWhenDeciderReturnsTrue() |
| LOW | tests/RetryMiddlewareTest.php | 44 | public function testDoesNotRetryWhenDeciderReturnsFalse() |
| LOW | tests/RetryMiddlewareTest.php | 78 | public function testUsesDefaultExponentialDelay() |
| LOW | tests/RetryMiddlewareTest.php | 100 | public function testExponentialDelayIsDeprecated() |
| LOW | tests/MiddlewareTest.php | 25 | public function testAddsCookiesToRequests() |
| LOW | tests/MiddlewareTest.php | 47 | public function testThrowsExceptionOnHttpClientError() |
| LOW | tests/MiddlewareTest.php | 60 | public function testThrowsExceptionOnHttpClientErrorLongBody() |
| LOW | tests/MiddlewareTest.php | 73 | public function testThrowsExceptionOnHttpServerError() |
| LOW | tests/MiddlewareTest.php | 110 | public function testNullContainerException() |
| LOW | tests/MiddlewareTest.php | 126 | public function testTracksHistoryForFailures() |
| LOW | tests/MiddlewareTest.php | 201 | public function testLogsRequestsAndResponses() |
| LOW | tests/MiddlewareTest.php | 215 | public function testLogsRequestsAndResponsesCustomLevel() |
| LOW | tests/MiddlewareTest.php | 230 | public function testLogsRequestsAndErrors() |
| LOW | tests/MessageFormatterTest.php | 17 | public function testCreatesWithClfByDefault() |
| LOW | tests/RedirectMiddlewareTest.php | 35 | public function testIgnoresWhenNoLocation() |
| LOW | tests/RedirectMiddlewareTest.php | 47 | public function testRedirectsWithAbsoluteUri() |
| LOW | tests/RedirectMiddlewareTest.php | 65 | public function testRedirectsWithRelativeUri() |
| LOW | tests/RedirectMiddlewareTest.php | 83 | public function testRelativeRedirectPreservesCustomRequestAndUriImplementations() |
| LOW | tests/RedirectMiddlewareTest.php | 123 | public function testTooManyRedirectsExceptionHasResponse() |
| LOW | tests/RedirectMiddlewareTest.php | 143 | public function testEnsuresProtocolIsValid() |
| LOW | tests/RedirectMiddlewareTest.php | 178 | public function testAddsRefererHeaderButClearsUserInfo() |
| LOW | tests/RedirectMiddlewareTest.php | 198 | public function testAddsGuzzleRedirectHeader() |
| LOW | tests/RedirectMiddlewareTest.php | 225 | public function testAddsGuzzleRedirectStatusHeader() |
| LOW | tests/RedirectMiddlewareTest.php | 254 | public function testDoesNotAddRefererWhenGoingFromHttpsToHttp() |
| LOW | tests/RedirectMiddlewareTest.php | 271 | public function testInvokesOnRedirectForRedirects() |
| LOW | tests/RedirectMiddlewareTest.php | 301 | public function testRemoveCurlAuthorizationOptionsOnRedirectCrossHost($auth) |
| LOW | tests/RedirectMiddlewareTest.php | 331 | public function testRemoveCurlAuthorizationOptionsOnRedirectCrossPort($auth) |
| LOW | tests/RedirectMiddlewareTest.php | 361 | public function testRemoveCurlAuthorizationOptionsOnRedirectCrossScheme($auth) |
| 310 more matches not shown… | |||