Drupal 9 compatibility for [Vartheme (Bootstrap 3 - LESS)] with Drupal coding standard and practice

Created on 12 February 2020, almost 5 years ago
Updated 26 November 2023, 12 months ago

drupal-check docroot/themes/contrib/vartheme

3/3 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%

 ------ ---------------------------------------------------------------- 
  Line   theme-settings.php                                              
 ------ ---------------------------------------------------------------- 
  43     Call to deprecated method l() of class Drupal:                  
         in drupal:8.0.0 and is removed from drupal:9.0.0. Use           
         \Drupal\Core\Link::fromTextAndUrl() instead.                    
  84     Call to deprecated function file_default_scheme():              
         in drupal:8.8.0 and is removed from drupal:9.0.0. Use           
         \Drupal::config('system.file')->get('default_scheme') instead.  
 ------ ---------------------------------------------------------------- 

                                                                                                                        
 [ERROR] Found 2 errors

Upgrade status


Drupal coding standard and Drupal Practice check should pass

PHPCS, PHPCBF for both --standard=Drupal and --standard=DrupalPractice

Check Vartheme (Bootstrap 3 - LESS) Drupal coding standard

phpcbf --standard=Drupal --extensions=php,inc,install,test,theme,less,css,info,txt,md,yml /var/www/html/products/vartheme/ --ignore="/var/www/html/products/vartheme/node_modules/ , /var/www/html/products/vartheme/VARTHEME_SUBTHEME/node_modules/"

phpcs --standard=Drupal --extensions=php,inc,install,test,theme,less,css,info,txt,md,yml /var/www/html/products/vartheme/ --ignore="/var/www/html/products/vartheme/node_modules/ , /var/www/html/products/vartheme/VARTHEME_SUBTHEME/node_modules/"

Check Vartheme (Bootstrap 3 - LESS) Drupal Practice

phpcbf --standard=DrupalPractice --extensions=php,inc,install,test,theme,less,css,info,txt,md,yml /var/www/html/products/vartheme/ --ignore="/var/www/html/products/vartheme/node_modules/ , /var/www/html/products/vartheme/VARTHEME_SUBTHEME/node_modules/"

phpcs --standard=DrupalPractice --extensions=php,inc,install,test,theme,less,css,info,txt,md,yml /var/www/html/products/vartheme/ --ignore="/var/www/html/products/vartheme/node_modules/ , /var/www/html/products/vartheme/VARTHEME_SUBTHEME/node_modules/"
📌 Task
Status

Fixed

Version

6.0

Component

Code

Created by

🇯🇴Jordan Rajab Natshah Jordan

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024