Support PHP 8.2 compatibility (trim(), ltrim() and rtrim())

Created on 30 March 2024, 9 months ago
Updated 16 April 2024, 8 months ago
Deprecated function: trim(): Passing null to parameter #1 ($string) of type string is deprecated in Drupal\cloud_cluster\Authentication\Provider\BearerToken->getRequestToken() (line 25 of modules/contrib/cloud/modules/cloud_service_providers/cloud_cluster/src/Traits/CloudClusterTrait.php).
Drupal\cloud_cluster\Authentication\Provider\BearerToken->getRequestToken(Object) (Line: 39)
Drupal\cloud_cluster\Authentication\Provider\BearerToken->applies(Object) (Line: 103)
Drupal\Core\Authentication\AuthenticationManager->getProvider(Object) (Line: 41)
Drupal\Core\Authentication\AuthenticationManager->applies(Object) (Line: 76)
Drupal\Core\EventSubscriber\AuthenticationSubscriber->onKernelRequestAuthenticate(Object, 'kernel.request', Object)
call_user_func(Array, Object, 'kernel.request', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.request') (Line: 157)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 68)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
🐛 Bug report
Status

Fixed

Version

7.0

Component

Code

Created by

🇨🇳China zterry95

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024