Automated Drupal 11 compatibility fixes

Created on 22 May 2024, about 1 month ago
Updated 23 May 2024, about 1 month ago

Problem/Motivation

Running command ./vendor/bin/drush upgrade_status:analyze social_media_links can see following issues we need to fix these in order to make this module compatible.

Social Media Links Block, --
Scanned on Wed, 05/22/2024 - 12:08

FILE:
modules/contrib/social_media_links/modules/social_media_links_field/src/Element/
SocialMediaLinksPlatforms.php

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Ignore         15   Class                                                       
                    Drupal\social_media_links_field\Element\SocialMediaLinksPlat
                    forms extends deprecated class                              
                    Drupal\Core\Render\Element\FormElement. Deprecated in       
                    drupal:10.3.0 and is removed from drupal:12.0.0. use        
                    Drupal\Core\Render\Element\FormElementBase instead.         
--------------------------------------------------------------------------------

FILE: modules/contrib/social_media_links/social_media_links.info.yml

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 5    Value of core_version_requirement: ^8 || ^9 || ^10 is not   
                    compatible with the next major version of Drupal core. See  
                    https://drupal.org/node/3070687.                            
--------------------------------------------------------------------------------

FILE:
modules/contrib/social_media_links/modules/social_media_links_field/social_media
_links_field.info.yml

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 5    Value of core_version_requirement: ^8 || ^9 || ^10 is not   
                    compatible with the next major version of Drupal core. See  
                    https://drupal.org/node/3070687.                            
--------------------------------------------------------------------------------

FILE: modules/contrib/social_media_links/composer.json

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 1    The drupal/core requirement is not compatible with the next 
                    major version of Drupal. Either remove it or update it to be
                    compatible. See                                             
                    https://www.drupal.org/docs/develop/using-composer/add-a-com
                    poserjson-file#core-compatibility.                          
--------------------------------------------------------------------------------

Proposed resolution

Provide MR/patch with the fixes.

📌 Task
Status

RTBC

Version

2.0

Component

Code

Created by

🇮🇳India chandu7929 Pune

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024