Method getMockForAbstractClass() of class PHPUnit\Framework\TestCase is...
Problem/MotivationMethod getMockForAbstractClass() of class PHPUnit\Framework\TestCase is deprecated in PHPUnit 10.Some uses were removed as part of #3217904: [meta] Support PHPUnit 10 in Drupal 11,...
View ArticleMethod getMockForAbstractClass() of class PHPUnit\Framework\TestCase is...
Problem/MotivationMethod getMockForAbstractClass() of class PHPUnit\Framework\TestCase is deprecated in PHPUnit 10.Some uses were removed as part of #3217904: [meta] Support PHPUnit 10 in Drupal 11,...
View ArticleFix 12 words in tests
Problem/MotivationFix another 11 words in tests.There is nothing in common about the fixes, except that most only affect one file and the dictionary.Steps to reproduceProposed...
View ArticleMigrate Toolbar button to SDC
Problem/MotivationSDC is part of core now, so we can migrate the existing code to take advantage of SDC.Create Toolbar button into a SDCMove the component Toolbar button into its own SDC.Remaining...
View ArticleCreate a trait and base class to implement...
Problem/Motivation#2851635: DefaultSingleLazyPluginCollection retains stale instance IDs shows that base plugin classes should all merge default configuration in the same way. We should make it easy to...
View ArticleEnforce second parameter in BreadcrumbBuilderInterface::applies
Problem/MotivationIn #2719721: BreadcrumbBuilder::applies() mismatch with cacheability metadata we added an optional second parameter with the intent to make it mandatory. In the next major version,...
View ArticleReplace LogicException with trigger_error in...
Problem/MotivationWhen I try to arrange text formats and editors settings I get the following error. Symfony\Component\Validator\Exception\LogicException: The LangcodeRequiredIfTranslatableValues...
View ArticleAdd passage to module removal process to add module to system.install
Problem/MotivationTo get proper help when a module is removed from core, it needs to be added to system.install. This way you get good help if you upgrade without installling the contrib version.Steps...
View ArticleExtensionMimeTypeGuesser breaks other mime_type_guesser services
Problem/MotivationThe file.mime_type.guesser employs the service collector pattern to collection all services tagged as mime_type_guesser and the calls each of the guessers until one of them returns a...
View ArticleFormStateInterface::setError*() PHPDoc are incorrect
Problem/MotivationFormStateInterface::setError*() PHPDoc is incorrect, $message can also take translatable markup. This causes PHPStan errors in contrib if the PHPStan level is higher than...
View ArticleStringFormatter always displays links to entity even if the user in context...
Problem/MotivationThis was reported privately and the security team deemed it could be solved in public\Drupal\Core\Field\Plugin\Field\FieldFormatter\StringFormatter renders a link regardless of...
View ArticleText becomes hyphenated after upgrade to 10.3.0
Problem/MotivationText becomes hyphenated after upgrade to 10.3.0This issue seems to be related to Olivero as the default theme. I tested another theme where the text was not hyphenated. Tested on PHP...
View ArticleDecompress files for config_install
Problem/MotivationCompressed files, binaries, and databases are difficult to maintain and inspect.This issue is to address: ./core/tests/fixtures/config_install/multilingual.tar.gz...
View ArticleEntity view display 'node.article.default': Component...
Problem/MotivationFresh Install comes with ErrorsSteps to reproduceFresh composer default Install or composer update to 10.3 and view error in reports/dblog.Resolve for the following error:Entity view...
View ArticleUpdate Manager Settings: Validate same email address added multiple times
Problem/MotivationThe same email address is allowed to be added multiple times in the Email addresses to notify when updates are availablefield.Steps to reproduceLogin as admin and go to...
View ArticleSearch for a translation and translation itself not working
Problem/MotivationAfter I added a new language (Italian, for example), in the Drupal translation page (/admin/config/regional/translate), every search term returned empty results instead of the list of...
View ArticleImage styles fails with absolute path in $settings['file_public_path']
Problem/MotivationMy concern is to use the ability provided by $settings['file_public_path'] and $settings['file_public_base_url'] to provide a separate webserver dedicated to serve static files and...
View ArticleAdd int return typehints to protected test helper methods
Problem/MotivationSee #3455549: Add return typehints to protected test helper methodsSteps to reproduceProposed resolutionRemaining tasksUser interface changesAPI changesData model changesRelease notes...
View ArticleCannot update from Drupal Core: 10.2.7 to 10.3.1
Drupal Version 10.2.7Problem/MotivationI can't update from 10.2.7 > 10.3.1 I run composer update "drupal/core" everything got updated except "drupal/core-recommended" and "drupal/core", which stay...
View Article