Skip to content
Snippets Groups Projects

Issue #3130107: Extend unit test coverage for LanguageNegotiationContentEntity

Open Stefanos Petrakis requested to merge issue/drupal-3130107:3130107-add-unit-test into 10.1.x
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
  • fff02a20
    Issue #3320483 by andypost: Remove unused variable $pos in system.install · fff02a20
    catch authored
@@ -1266,7 +1266,7 @@ function system_requirements($phase) {
$provider = $connection->getProvider();
if ($provider !== 'core' && !\Drupal::moduleHandler()->moduleExists($provider)) {
$autoload = $connection->getConnectionOptions()['autoload'] ?? '';
if (($pos = strpos($autoload, 'src/Driver/Database/')) !== FALSE) {
if (strpos($autoload, 'src/Driver/Database/') !== FALSE) {
$post_update_registry = \Drupal::service('update.post_update_registry');
$pending_updates = $post_update_registry->getPendingUpdateInformation();
if (!in_array('enable_provider_database_driver', array_keys($pending_updates['system']['pending'] ?? []), TRUE)) {
Loading