Drupal 9 compatibility for [Vartheme Admin] with Drupal coding standard and practice

Created on 20 August 2019, almost 5 years ago
Updated 26 November 2023, 7 months ago

drupal-check docroot/themes/contrib/vartheme_admin

1/1 [β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“] 100%

 ------ -------------------------------------------------------------------------- 
  Line   vartheme_admin.theme                                                      
 ------ -------------------------------------------------------------------------- 
  28     Call to deprecated function drupal_get_profile():                         
         in drupal:8.3.0 and is removed from drupal:9.0.0.                         
         Use the install_profile container parameter or \Drupal::installProfile()  
         instead. If you are accessing the value before it is written to           
         configuration during the installer use the $install_state global. If you  
         need to access the value before container is available you can use        
         BootstrapConfigStorageFactory to load the value directly from             
         configuration.                                                            
  30     Call to deprecated function drupal_get_profile():                         
         in drupal:8.3.0 and is removed from drupal:9.0.0.                         
         Use the install_profile container parameter or \Drupal::installProfile()  
         instead. If you are accessing the value before it is written to           
         configuration during the installer use the $install_state global. If you  
         need to access the value before container is available you can use        
         BootstrapConfigStorageFactory to load the value directly from             
         configuration.                                                            
  31     Call to deprecated function drupal_get_profile():                         
         in drupal:8.3.0 and is removed from drupal:9.0.0.                         
         Use the install_profile container parameter or \Drupal::installProfile()  
         instead. If you are accessing the value before it is written to           
         configuration during the installer use the $install_state global. If you  
         need to access the value before container is available you can use        
         BootstrapConfigStorageFactory to load the value directly from             
         configuration.                                                            
  34     Call to deprecated function drupal_get_profile():                         
         in drupal:8.3.0 and is removed from drupal:9.0.0.                         
         Use the install_profile container parameter or \Drupal::installProfile()  
         instead. If you are accessing the value before it is written to           
         configuration during the installer use the $install_state global. If you  
         need to access the value before container is available you can use        
         BootstrapConfigStorageFactory to load the value directly from             
         configuration.                                                            
 ------ -------------------------------------------------------------------------- 

                                                                                                                        
 [ERROR] Found 4 errors

Upgrade status


Drupal coding standard and Drupal Practice check should pass

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

Check Vartheme Admin Drupal coding standard

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

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

Check Vartheme Admin Drupal Practice

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

phpcs --standard=DrupalPractice --extensions=php,inc,install,test,profile,theme,scss,css,info,txt,md /var/www/html/products/vartheme_admin/ --ignore="/var/www/html/products/vartheme_admin/node_modules/"
πŸ“Œ Task
Status

Fixed

Version

6.0

Component

Code

Created by

πŸ‡²πŸ‡©Moldova Sergiu Stici

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.69.0 2024