Drupal 9 Readiness for [Vartheme BS4 (Bootstrap 4 - SASS)] 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_bs4

4/4 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%

 ------ ---------------------------------------------------------------- 
  Line   VARTHEME_BS4_SUBTHEME/theme-settings.php                        
 ------ ---------------------------------------------------------------- 
  64     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.  
 ------ ---------------------------------------------------------------- 

 ------ ---------------------------------------------------------------- 
  Line   theme-settings.php                                              
 ------ ---------------------------------------------------------------- 
  64     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 BS4 (Bootstrap 4 - SASS) Drupal coding standard

phpcbf --standard=Drupal --extensions=php,inc,install,test,profile,theme,scss,css,info,txt,md,yml /var/www/html/products/vartheme_bs4/ --ignore="/var/www/html/products/vartheme_bs4/node_modules/ , /var/www/html/products/vartheme_bs4/VARTHEME_BS4_SUBTHEME/node_modules/"

phpcs --standard=Drupal --extensions=php,inc,install,test,profile,theme,scss,css,info,txt,md,yml /var/www/html/products/vartheme_bs4/ --ignore="/var/www/html/products/vartheme_bs4/node_modules/ , /var/www/html/products/vartheme_bs4/VARTHEME_BS4_SUBTHEME/node_modules/"

Check Vartheme BS4 (Bootstrap 4 - SASS) Drupal Practice

phpcbf --standard=DrupalPractice --extensions=php,inc,install,test,profile,theme,scss,css,info,txt,md,yml /var/www/html/products/vartheme_bs4/ --ignore="/var/www/html/products/vartheme_bs4/node_modules/ , /var/www/html/products/vartheme_bs4/VARTHEME_BS4_SUBTHEME/node_modules/"

phpcs --standard=DrupalPractice --extensions=php,inc,install,test,profile,theme,scss,css,info,txt,md,yml /var/www/html/products/vartheme_bs4/ --ignore="/var/www/html/products/vartheme_bs4/node_modules/ , /var/www/html/products/vartheme_bs4/VARTHEME_BS4_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