Loading core/.phpstan-baseline.php +56 −1502 File changed.Preview size limit exceeded, changes collapsed. Show changes core/modules/rest/tests/src/Functional/ResourceTestBase.php +15 −0 Original line number Diff line number Diff line Loading @@ -216,6 +216,9 @@ protected function getExpectedUnauthorizedAccessMessage($method) { * @param string $method * The HTTP method for which to set up authentication. * * @return void * Returns nothing. * * @see ::grantPermissionsToAnonymousRole() * @see ::grantPermissionsToAuthenticatedRole() */ Loading @@ -228,6 +231,9 @@ abstract protected function setUpAuthorization($method); * HTTP method. * @param \Psr\Http\Message\ResponseInterface $response * The response to assert. * * @return void * Returns nothing. */ abstract protected function assertResponseWhenMissingAuthentication($method, ResponseInterface $response); Loading @@ -243,6 +249,9 @@ abstract protected function assertResponseWhenMissingAuthentication($method, Res * @param array $request_options * Request options to apply. * * @return void * Returns nothing. * * @see \GuzzleHttp\ClientInterface::request() */ abstract protected function assertNormalizationEdgeCases($method, Url $url, array $request_options); Loading @@ -259,6 +268,9 @@ abstract protected function assertNormalizationEdgeCases($method, Url $url, arra * @param array $request_options * Request options to apply. * * @return void * Returns nothing. * * @see \GuzzleHttp\ClientInterface::request() */ abstract protected function assertAuthenticationEdgeCases($method, Url $url, array $request_options); Loading @@ -275,6 +287,9 @@ abstract protected function getExpectedUnauthorizedAccessCacheability(); * Initializes authentication. * * E.g. for cookie authentication, we first need to get a cookie. * * @return void * Returns nothing. */ protected function initAuthentication() {} Loading Loading
core/.phpstan-baseline.php +56 −1502 File changed.Preview size limit exceeded, changes collapsed. Show changes
core/modules/rest/tests/src/Functional/ResourceTestBase.php +15 −0 Original line number Diff line number Diff line Loading @@ -216,6 +216,9 @@ protected function getExpectedUnauthorizedAccessMessage($method) { * @param string $method * The HTTP method for which to set up authentication. * * @return void * Returns nothing. * * @see ::grantPermissionsToAnonymousRole() * @see ::grantPermissionsToAuthenticatedRole() */ Loading @@ -228,6 +231,9 @@ abstract protected function setUpAuthorization($method); * HTTP method. * @param \Psr\Http\Message\ResponseInterface $response * The response to assert. * * @return void * Returns nothing. */ abstract protected function assertResponseWhenMissingAuthentication($method, ResponseInterface $response); Loading @@ -243,6 +249,9 @@ abstract protected function assertResponseWhenMissingAuthentication($method, Res * @param array $request_options * Request options to apply. * * @return void * Returns nothing. * * @see \GuzzleHttp\ClientInterface::request() */ abstract protected function assertNormalizationEdgeCases($method, Url $url, array $request_options); Loading @@ -259,6 +268,9 @@ abstract protected function assertNormalizationEdgeCases($method, Url $url, arra * @param array $request_options * Request options to apply. * * @return void * Returns nothing. * * @see \GuzzleHttp\ClientInterface::request() */ abstract protected function assertAuthenticationEdgeCases($method, Url $url, array $request_options); Loading @@ -275,6 +287,9 @@ abstract protected function getExpectedUnauthorizedAccessCacheability(); * Initializes authentication. * * E.g. for cookie authentication, we first need to get a cookie. * * @return void * Returns nothing. */ protected function initAuthentication() {} Loading