Skip to content

Drupal 9 readiness April 29 2020

Karin Gerritsen edited this page Apr 30, 2020 · 1 revision

karins-MBP:drupal sysadmin$ vendor/bin/drupal-check web/modules/contrib/webform_civicrm

26/26 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%


Line includes/contact_component.inc


21 Call to deprecated function node_load():
in drupal:8.0.0 and is removed from drupal:9.0.0. Use
\Drupal\node\Entity\Node::load().
322 Call to deprecated function node_load():
in drupal:8.0.0 and is removed from drupal:9.0.0. Use
\Drupal\node\Entity\Node::load().



Line includes/wf_crm_admin_component.inc


     Class wf_crm_admin_component was not found while trying to analyse it - autoloading is probably not configured properly.  
     💡 Learn more at https://phpstan.org/user-guide/autoloading                                                                


Line includes/wf_crm_admin_form.inc


     Class wf_crm_admin_form was not found while trying to analyse it - autoloading is probably not configured properly.  
     💡 Learn more at https://phpstan.org/user-guide/autoloading                                                           


Line includes/wf_crm_admin_help.inc


     Class wf_crm_admin_help was not found while trying to analyse it - autoloading is probably not configured properly.  
     💡 Learn more at https://phpstan.org/user-guide/autoloading                                                           


Line includes/wf_crm_webform_ajax.inc


     Class wf_crm_webform_ajax was not found while trying to analyse it - autoloading is probably not configured properly.  
     💡 Learn more at https://phpstan.org/user-guide/autoloading                                                             


Line includes/wf_crm_webform_base.inc


     Class wf_crm_webform_base was not found while trying to analyse it - autoloading is probably not configured properly.  
     💡 Learn more at https://phpstan.org/user-guide/autoloading                                                             


Line includes/wf_crm_webform_postprocess.inc


     Class wf_crm_webform_postprocess was not found while trying to analyse it - autoloading is probably not configured properly.  
     💡 Learn more at https://phpstan.org/user-guide/autoloading                                                                    


Line includes/wf_crm_webform_preprocess.inc


     Class wf_crm_webform_preprocess was not found while trying to analyse it - autoloading is probably not configured properly.  
     💡 Learn more at https://phpstan.org/user-guide/autoloading                                                                   


Line src/Controller/AjaxController.php


14 Drupal\Core\DependencyInjection\ContainerNotInitializedException (\Drupal::$container is not initialized yet. \Drupal::setContainer() must be called with a real
container.) thrown while autoloading class Drupal\webform_civicrm\Controller\AjaxController.
💡 Learn more at https://phpstan.org/user-guide/autoloading



Line src/Plugin/WebformHandler/CivicrmWebformHandler.php


36 Drupal\Core\DependencyInjection\ContainerNotInitializedException (\Drupal::$container is not initialized yet. \Drupal::setContainer() must be called with a real
container.) thrown while autoloading class Drupal\webform_civicrm\Plugin\WebformHandler\CivicrmWebformHandler.
💡 Learn more at https://phpstan.org/user-guide/autoloading



Line tests/src/Kernel/FieldOptionsTest.php


     Class PHPUnit\Framework\TestCase not found and could not be autoloaded.  
     💡 Learn more at https://phpstan.org/user-guide/autoloading               

13 Class PHPUnit\Framework\TestCase not found and could not be autoloaded.
💡 Learn more at https://phpstan.org/user-guide/autoloading



Line tests/src/Unit/UtilsTest.php


     Class PHPUnit\Framework\TestCase not found and could not be autoloaded.  
     💡 Learn more at https://phpstan.org/user-guide/autoloading               

11 Class PHPUnit\Framework\TestCase not found and could not be autoloaded.
💡 Learn more at https://phpstan.org/user-guide/autoloading



Line webform_civicrm.install


157 Call to deprecated function db_add_field():
in drupal:8.0.0 and is removed from drupal:9.0.0. Instead,
get a database connection injected into your service from the container,
get its schema driver, and call addField() on it. For example,
196 Call to deprecated function db_add_field():
in drupal:8.0.0 and is removed from drupal:9.0.0. Instead,
get a database connection injected into your service from the container,
get its schema driver, and call addField() on it. For example,
209 Call to deprecated function db_add_field():
in drupal:8.0.0 and is removed from drupal:9.0.0. Instead,
get a database connection injected into your service from the container,
get its schema driver, and call addField() on it. For example,
217 Call to deprecated function db_add_field():
in drupal:8.0.0 and is removed from drupal:9.0.0. Instead,
get a database connection injected into your service from the container,
get its schema driver, and call addField() on it. For example,
227 Call to deprecated function db_change_field():
in drupal:8.0.0 and is removed from drupal:9.0.0. Instead,
get a database connection injected into your service from the container,
get its schema driver, and call changeField() on it. For example,
229 Call to deprecated function db_update():
in drupal:8.0.0 and is removed from drupal:9.0.0. Instead, get
a database connection injected into your service from the container and
call update() on it. For example,
266 Call to deprecated function db_update():
in drupal:8.0.0 and is removed from drupal:9.0.0. Instead, get
a database connection injected into your service from the container and
call update() on it. For example,
297 Call to deprecated function db_update():
in drupal:8.0.0 and is removed from drupal:9.0.0. Instead, get
a database connection injected into your service from the container and
call update() on it. For example,
303 Call to deprecated function db_drop_field():
in drupal:8.0.0 and is removed from drupal:9.0.0. Instead,
get a database connection injected into your service from the container,
get its schema driver, and call dropField() on it. For example,
304 Call to deprecated function db_drop_field():
in drupal:8.0.0 and is removed from drupal:9.0.0. Instead,
get a database connection injected into your service from the container,
get its schema driver, and call dropField() on it. For example,
319 Call to deprecated function db_add_field():
in drupal:8.0.0 and is removed from drupal:9.0.0. Instead,
get a database connection injected into your service from the container,
get its schema driver, and call addField() on it. For example,
333 Call to deprecated function db_add_field():
in drupal:8.0.0 and is removed from drupal:9.0.0. Instead,
get a database connection injected into your service from the container,
get its schema driver, and call addField() on it. For example,
448 Call to deprecated function node_load():
in drupal:8.0.0 and is removed from drupal:9.0.0. Use
\Drupal\node\Entity\Node::load().
497 Call to deprecated function node_load():
in drupal:8.0.0 and is removed from drupal:9.0.0. Use
\Drupal\node\Entity\Node::load().
676 Call to deprecated function db_drop_field():
in drupal:8.0.0 and is removed from drupal:9.0.0. Instead,
get a database connection injected into your service from the container,
get its schema driver, and call dropField() on it. For example,
709 Call to deprecated function db_update():
in drupal:8.0.0 and is removed from drupal:9.0.0. Instead, get
a database connection injected into your service from the container and
call update() on it. For example,
728 Call to deprecated function db_add_field():
in drupal:8.0.0 and is removed from drupal:9.0.0. Instead,
get a database connection injected into your service from the container,
get its schema driver, and call addField() on it. For example,
742 Call to deprecated function db_add_field():
in drupal:8.0.0 and is removed from drupal:9.0.0. Instead,
get a database connection injected into your service from the container,
get its schema driver, and call addField() on it. For example,
757 Call to deprecated function db_update():
in drupal:8.0.0 and is removed from drupal:9.0.0. Instead, get
a database connection injected into your service from the container and
call update() on it. For example,
771 Call to deprecated function db_drop_field():
in drupal:8.0.0 and is removed from drupal:9.0.0. Instead,
get a database connection injected into your service from the container,
get its schema driver, and call dropField() on it. For example,
772 Call to deprecated function db_drop_field():
in drupal:8.0.0 and is removed from drupal:9.0.0. Instead,
get a database connection injected into your service from the container,
get its schema driver, and call dropField() on it. For example,
819 Call to deprecated function db_update():
in drupal:8.0.0 and is removed from drupal:9.0.0. Instead, get
a database connection injected into your service from the container and
call update() on it. For example,
837 Call to deprecated function db_add_field():
in drupal:8.0.0 and is removed from drupal:9.0.0. Instead,
get a database connection injected into your service from the container,
get its schema driver, and call addField() on it. For example,



Line webform_civicrm.module


654 Call to deprecated function node_load():
in drupal:8.0.0 and is removed from drupal:9.0.0. Use
\Drupal\node\Entity\Node::load().
688 Call to deprecated function system_get_info():
in drupal:8.8.0 and is removed from drupal:9.0.0. Use
\Drupal::service('extension.list.$type')->getExtensionInfo() or
\Drupal::service('extension.list.$type')->getAllInstalledInfo() instead.
689 Call to deprecated function system_get_info():
in drupal:8.8.0 and is removed from drupal:9.0.0. Use
\Drupal::service('extension.list.$type')->getExtensionInfo() or
\Drupal::service('extension.list.$type')->getAllInstalledInfo() instead.


[ERROR] Found 41 errors

Clone this wiki locally