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/"
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | deprecated-3075974-2.patch | 1.15 KB | sergiu stici |
Comments
Comment #2
sergiu stici commentedPlease review.
Comment #3
rajab natshah#2958925: Properly deprecate drupal_get_profile()
Postponed until Drupal 8.8.0 stable is out
It did not work with Drupal 8.7.10
Comment #4
rajab natshahComment #5
rajab natshahComment #6
rajab natshahComment #7
rajab natshahComment #8
rajab natshahComment #11
rajab natshahComment #12
rajab natshahComment #13
rajab natshahComment #14
rajab natshahWarning on install !!!
Comment #15
rajab natshahIf you are accessing the value before it is written to configuration during the installer use the $install_state global.
https://api.drupal.org/api/drupal/core%21includes%21bootstrap.inc/functi...
Comment #17
rajab natshahComment #18
rajab natshahComment #19
rajab natshahComment #20
rajab natshahComment #22
rajab natshahComment #23
rajab natshah