Closed bhanu951 closed 1 year ago
After enabling Module Builder Module in combination of Drupal Core 9.4.4 , PHP 8.1 I am getting following deprecation errors.
Error message Deprecated function: Return type of DrupalCodeBuilder\Definition\PropertyDefinition::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include() (line 13 of /app/vendor/drupal-code-builder/drupal-code-builder/Definition/PropertyDefinition.php). include('/app/vendor/drupal-code-builder/drupal-code-builder/Definition/PropertyDefinition.php') (Line: 571) Composer\Autoload\includeFile('/app/vendor/composer/../drupal-code-builder/drupal-code-builder/Definition/PropertyDefinition.php') (Line: 428) Composer\Autoload\ClassLoader->loadClass('DrupalCodeBuilder\Definition\PropertyDefinition') (Line: 98) DrupalCodeBuilder\Generator\Module::configurationDefinition() (Line: 127) MutableTypedData\DataItemFactory::createFromCallback('DrupalCodeBuilder\Generator\Module::configurationDefinition') (Line: 44) DrupalCodeBuilder\Task\Configuration->getConfigurationData('module') (Line: 52) Drupal\module_builder\Form\SettingsForm->buildForm(Array, Object) call_user_func_array(Array, Array) (Line: 531) Drupal\Core\Form\FormBuilder->retrieveForm('module_builder_settings', Object) (Line: 278) Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 73) Drupal\Core\Controller\FormController->getContentResult(Object, Object) call_user_func_array(Array, Array) (Line: 123) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 564) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 158) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 80) Symfony\Component\HttpKernel\HttpKernel->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: 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: 23) Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 709) Drupal\Core\DrupalKernel->handle(Object) (Line: 19) Deprecated function: Return type of DrupalCodeBuilder\Definition\PropertyDefinition::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include() (line 13 of /app/vendor/drupal-code-builder/drupal-code-builder/Definition/PropertyDefinition.php). include('/app/vendor/drupal-code-builder/drupal-code-builder/Definition/PropertyDefinition.php') (Line: 571) Composer\Autoload\includeFile('/app/vendor/composer/../drupal-code-builder/drupal-code-builder/Definition/PropertyDefinition.php') (Line: 428) Composer\Autoload\ClassLoader->loadClass('DrupalCodeBuilder\Definition\PropertyDefinition') (Line: 98) DrupalCodeBuilder\Generator\Module::configurationDefinition() (Line: 127) MutableTypedData\DataItemFactory::createFromCallback('DrupalCodeBuilder\Generator\Module::configurationDefinition') (Line: 44) DrupalCodeBuilder\Task\Configuration->getConfigurationData('module') (Line: 52) Drupal\module_builder\Form\SettingsForm->buildForm(Array, Object) call_user_func_array(Array, Array) (Line: 531) Drupal\Core\Form\FormBuilder->retrieveForm('module_builder_settings', Object) (Line: 278) Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 73) Drupal\Core\Controller\FormController->getContentResult(Object, Object) call_user_func_array(Array, Array) (Line: 123) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 564) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 158) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 80) Symfony\Component\HttpKernel\HttpKernel->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: 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: 23) Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 709) Drupal\Core\DrupalKernel->handle(Object) (Line: 19) Deprecated function: Return type of DrupalCodeBuilder\Definition\PropertyDefinition::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include() (line 13 of /app/vendor/drupal-code-builder/drupal-code-builder/Definition/PropertyDefinition.php). include('/app/vendor/drupal-code-builder/drupal-code-builder/Definition/PropertyDefinition.php') (Line: 571) Composer\Autoload\includeFile('/app/vendor/composer/../drupal-code-builder/drupal-code-builder/Definition/PropertyDefinition.php') (Line: 428) Composer\Autoload\ClassLoader->loadClass('DrupalCodeBuilder\Definition\PropertyDefinition') (Line: 98) DrupalCodeBuilder\Generator\Module::configurationDefinition() (Line: 127) MutableTypedData\DataItemFactory::createFromCallback('DrupalCodeBuilder\Generator\Module::configurationDefinition') (Line: 44) DrupalCodeBuilder\Task\Configuration->getConfigurationData('module') (Line: 52) Drupal\module_builder\Form\SettingsForm->buildForm(Array, Object) call_user_func_array(Array, Array) (Line: 531) Drupal\Core\Form\FormBuilder->retrieveForm('module_builder_settings', Object) (Line: 278) Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 73) Drupal\Core\Controller\FormController->getContentResult(Object, Object) call_user_func_array(Array, Array) (Line: 123) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 564) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 158) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 80) Symfony\Component\HttpKernel\HttpKernel->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: 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: 23) Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 709) Drupal\Core\DrupalKernel->handle(Object) (Line: 19) Deprecated function: Return type of DrupalCodeBuilder\Definition\PropertyDefinition::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include() (line 13 of /app/vendor/drupal-code-builder/drupal-code-builder/Definition/PropertyDefinition.php). include('/app/vendor/drupal-code-builder/drupal-code-builder/Definition/PropertyDefinition.php') (Line: 571) Composer\Autoload\includeFile('/app/vendor/composer/../drupal-code-builder/drupal-code-builder/Definition/PropertyDefinition.php') (Line: 428) Composer\Autoload\ClassLoader->loadClass('DrupalCodeBuilder\Definition\PropertyDefinition') (Line: 98) DrupalCodeBuilder\Generator\Module::configurationDefinition() (Line: 127) MutableTypedData\DataItemFactory::createFromCallback('DrupalCodeBuilder\Generator\Module::configurationDefinition') (Line: 44) DrupalCodeBuilder\Task\Configuration->getConfigurationData('module') (Line: 52) Drupal\module_builder\Form\SettingsForm->buildForm(Array, Object) call_user_func_array(Array, Array) (Line: 531) Drupal\Core\Form\FormBuilder->retrieveForm('module_builder_settings', Object) (Line: 278) Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 73) Drupal\Core\Controller\FormController->getContentResult(Object, Object) call_user_func_array(Array, Array) (Line: 123) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 564) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 158) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 80) Symfony\Component\HttpKernel\HttpKernel->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: 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: 23) Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 709) Drupal\Core\DrupalKernel->handle(Object) (Line: 19) Deprecated function: Return type of MutableTypedData\Data\ComplexData::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include() (line 13 of /app/vendor/joachim-n/mutable-typed-data/Data/ComplexData.php). include('/app/vendor/joachim-n/mutable-typed-data/Data/ComplexData.php') (Line: 571) Composer\Autoload\includeFile('/app/vendor/composer/../joachim-n/mutable-typed-data/Data/ComplexData.php') (Line: 428) Composer\Autoload\ClassLoader->loadClass('MutableTypedData\Data\ComplexData') (Line: 7) include('/app/vendor/drupal-code-builder/drupal-code-builder/MutableTypedData/Data/MergeableComplexDataWithArrayAccess.php') (Line: 571) Composer\Autoload\includeFile('/app/vendor/composer/../drupal-code-builder/drupal-code-builder/MutableTypedData/Data/MergeableComplexDataWithArrayAccess.php') (Line: 428) Composer\Autoload\ClassLoader->loadClass('DrupalCodeBuilder\MutableTypedData\Data\MergeableComplexDataWithArrayAccess') (Line: 113) DrupalCodeBuilder\MutableTypedData\DrupalCodeBuilderDataItemFactory::createFromDefinition(Object) (Line: 129) MutableTypedData\DataItemFactory::createFromCallback('DrupalCodeBuilder\Generator\Module::configurationDefinition') (Line: 44) DrupalCodeBuilder\Task\Configuration->getConfigurationData('module') (Line: 52) Drupal\module_builder\Form\SettingsForm->buildForm(Array, Object) call_user_func_array(Array, Array) (Line: 531) Drupal\Core\Form\FormBuilder->retrieveForm('module_builder_settings', Object) (Line: 278) Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 73) Drupal\Core\Controller\FormController->getContentResult(Object, Object) call_user_func_array(Array, Array) (Line: 123) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 564) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 158) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 80) Symfony\Component\HttpKernel\HttpKernel->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: 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: 23) Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 709) Drupal\Core\DrupalKernel->handle(Object) (Line: 19) Deprecated function: Return type of DrupalCodeBuilder\MutableTypedData\Data\MergeableComplexDataWithArrayAccess::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include() (line 7 of /app/vendor/drupal-code-builder/drupal-code-builder/MutableTypedData/Data/MergeableComplexDataWithArrayAccess.php). include('/app/vendor/drupal-code-builder/drupal-code-builder/MutableTypedData/Data/MergeableComplexDataWithArrayAccess.php') (Line: 571) Composer\Autoload\includeFile('/app/vendor/composer/../drupal-code-builder/drupal-code-builder/MutableTypedData/Data/MergeableComplexDataWithArrayAccess.php') (Line: 428) Composer\Autoload\ClassLoader->loadClass('DrupalCodeBuilder\MutableTypedData\Data\MergeableComplexDataWithArrayAccess') (Line: 113) DrupalCodeBuilder\MutableTypedData\DrupalCodeBuilderDataItemFactory::createFromDefinition(Object) (Line: 129) MutableTypedData\DataItemFactory::createFromCallback('DrupalCodeBuilder\Generator\Module::configurationDefinition') (Line: 44) DrupalCodeBuilder\Task\Configuration->getConfigurationData('module') (Line: 52) Drupal\module_builder\Form\SettingsForm->buildForm(Array, Object) call_user_func_array(Array, Array) (Line: 531) Drupal\Core\Form\FormBuilder->retrieveForm('module_builder_settings', Object) (Line: 278) Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 73) Drupal\Core\Controller\FormController->getContentResult(Object, Object) call_user_func_array(Array, Array) (Line: 123) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 564) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 158) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 80) Symfony\Component\HttpKernel\HttpKernel->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: 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: 23) Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 709) Drupal\Core\DrupalKernel->handle(Object) (Line: 19) Deprecated function: Return type of DrupalCodeBuilder\MutableTypedData\Data\MergeableComplexDataWithArrayAccess::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include() (line 7 of /app/vendor/drupal-code-builder/drupal-code-builder/MutableTypedData/Data/MergeableComplexDataWithArrayAccess.php). include('/app/vendor/drupal-code-builder/drupal-code-builder/MutableTypedData/Data/MergeableComplexDataWithArrayAccess.php') (Line: 571) Composer\Autoload\includeFile('/app/vendor/composer/../drupal-code-builder/drupal-code-builder/MutableTypedData/Data/MergeableComplexDataWithArrayAccess.php') (Line: 428) Composer\Autoload\ClassLoader->loadClass('DrupalCodeBuilder\MutableTypedData\Data\MergeableComplexDataWithArrayAccess') (Line: 113) DrupalCodeBuilder\MutableTypedData\DrupalCodeBuilderDataItemFactory::createFromDefinition(Object) (Line: 129) MutableTypedData\DataItemFactory::createFromCallback('DrupalCodeBuilder\Generator\Module::configurationDefinition') (Line: 44) DrupalCodeBuilder\Task\Configuration->getConfigurationData('module') (Line: 52) Drupal\module_builder\Form\SettingsForm->buildForm(Array, Object) call_user_func_array(Array, Array) (Line: 531) Drupal\Core\Form\FormBuilder->retrieveForm('module_builder_settings', Object) (Line: 278) Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 73) Drupal\Core\Controller\FormController->getContentResult(Object, Object) call_user_func_array(Array, Array) (Line: 123) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 564) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 158) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 80) Symfony\Component\HttpKernel\HttpKernel->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: 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: 23) Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 709) Drupal\Core\DrupalKernel->handle(Object) (Line: 19) Deprecated function: Return type of DrupalCodeBuilder\MutableTypedData\Data\MergeableComplexDataWithArrayAccess::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include() (line 7 of /app/vendor/drupal-code-builder/drupal-code-builder/MutableTypedData/Data/MergeableComplexDataWithArrayAccess.php). include('/app/vendor/drupal-code-builder/drupal-code-builder/MutableTypedData/Data/MergeableComplexDataWithArrayAccess.php') (Line: 571) Composer\Autoload\includeFile('/app/vendor/composer/../drupal-code-builder/drupal-code-builder/MutableTypedData/Data/MergeableComplexDataWithArrayAccess.php') (Line: 428) Composer\Autoload\ClassLoader->loadClass('DrupalCodeBuilder\MutableTypedData\Data\MergeableComplexDataWithArrayAccess') (Line: 113) DrupalCodeBuilder\MutableTypedData\DrupalCodeBuilderDataItemFactory::createFromDefinition(Object) (Line: 129) MutableTypedData\DataItemFactory::createFromCallback('DrupalCodeBuilder\Generator\Module::configurationDefinition') (Line: 44) DrupalCodeBuilder\Task\Configuration->getConfigurationData('module') (Line: 52) Drupal\module_builder\Form\SettingsForm->buildForm(Array, Object) call_user_func_array(Array, Array) (Line: 531) Drupal\Core\Form\FormBuilder->retrieveForm('module_builder_settings', Object) (Line: 278) Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 73) Drupal\Core\Controller\FormController->getContentResult(Object, Object) call_user_func_array(Array, Array) (Line: 123) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 564) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 158) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 80) Symfony\Component\HttpKernel\HttpKernel->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: 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: 23) Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 709) Drupal\Core\DrupalKernel->handle(Object) (Line: 19) Deprecated function: Return type of DrupalCodeBuilder\MutableTypedData\Data\MergeableComplexDataWithArrayAccess::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include() (line 7 of /app/vendor/drupal-code-builder/drupal-code-builder/MutableTypedData/Data/MergeableComplexDataWithArrayAccess.php). include('/app/vendor/drupal-code-builder/drupal-code-builder/MutableTypedData/Data/MergeableComplexDataWithArrayAccess.php') (Line: 571) Composer\Autoload\includeFile('/app/vendor/composer/../drupal-code-builder/drupal-code-builder/MutableTypedData/Data/MergeableComplexDataWithArrayAccess.php') (Line: 428) Composer\Autoload\ClassLoader->loadClass('DrupalCodeBuilder\MutableTypedData\Data\MergeableComplexDataWithArrayAccess') (Line: 113) DrupalCodeBuilder\MutableTypedData\DrupalCodeBuilderDataItemFactory::createFromDefinition(Object) (Line: 129) MutableTypedData\DataItemFactory::createFromCallback('DrupalCodeBuilder\Generator\Module::configurationDefinition') (Line: 44) DrupalCodeBuilder\Task\Configuration->getConfigurationData('module') (Line: 52) Drupal\module_builder\Form\SettingsForm->buildForm(Array, Object) call_user_func_array(Array, Array) (Line: 531) Drupal\Core\Form\FormBuilder->retrieveForm('module_builder_settings', Object) (Line: 278) Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 73) Drupal\Core\Controller\FormController->getContentResult(Object, Object) call_user_func_array(Array, Array) (Line: 123) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 564) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 158) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 80) Symfony\Component\HttpKernel\HttpKernel->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: 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: 23) Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 709) Drupal\Core\DrupalKernel->handle(Object) (Line: 19) Deprecated function: Return type of MutableTypedData\Data\SimpleData::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include() (line 23 of /app/vendor/joachim-n/mutable-typed-data/Data/SimpleData.php). include('/app/vendor/joachim-n/mutable-typed-data/Data/SimpleData.php') (Line: 571) Composer\Autoload\includeFile('/app/vendor/composer/../joachim-n/mutable-typed-data/Data/SimpleData.php') (Line: 428) Composer\Autoload\ClassLoader->loadClass('MutableTypedData\Data\SimpleData') (Line: 7) include('/app/vendor/joachim-n/mutable-typed-data/Data/StringData.php') (Line: 571) Composer\Autoload\includeFile('/app/vendor/composer/../joachim-n/mutable-typed-data/Data/StringData.php') (Line: 428) Composer\Autoload\ClassLoader->loadClass('MutableTypedData\Data\StringData') (Line: 7) include('/app/vendor/drupal-code-builder/drupal-code-builder/MutableTypedData/Data/MergeableStringData.php') (Line: 571) Composer\Autoload\includeFile('/app/vendor/composer/../drupal-code-builder/drupal-code-builder/MutableTypedData/Data/MergeableStringData.php') (Line: 428) Composer\Autoload\ClassLoader->loadClass('DrupalCodeBuilder\MutableTypedData\Data\MergeableStringData') (Line: 113) DrupalCodeBuilder\MutableTypedData\DrupalCodeBuilderDataItemFactory::createFromDefinition(Object, Object) (Line: 266) MutableTypedData\Data\ComplexData->import(Array) (Line: 55) Drupal\module_builder\Form\SettingsForm->buildForm(Array, Object) call_user_func_array(Array, Array) (Line: 531) Drupal\Core\Form\FormBuilder->retrieveForm('module_builder_settings', Object) (Line: 278) Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 73) Drupal\Core\Controller\FormController->getContentResult(Object, Object) call_user_func_array(Array, Array) (Line: 123) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 564) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 158) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 80) Symfony\Component\HttpKernel\HttpKernel->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: 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: 23) Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 709) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Related to drupal-code-builder/issues/260
After enabling Module Builder Module in combination of Drupal Core 9.4.4 , PHP 8.1 I am getting following deprecation errors.