![]() The execution of your module's test suite can be configured to fail when a deprecated code path (a trigger_error() with E_USER_DEPRECATED level) is reached.The testing system also has support for deprecation checking. Upgrade Status also comes with Drush support if you prefer the command line.ĭ testing support for deprecation checking Missing core_version_requirement keys are noted for all scanned projects.Deprecated Drupal library use and extension of deprecated libraries is detected.Problem categorization based on deprecation version number.Additional features on top of drupal-check include: You can use this report to assess the overall Drupal 9 compatibility of your site. Use the Drupal 8 branch of Upgrade Status for full site reportingįor a full site scan of all projects on a site, the Drupal 8 branch of Upgrade Status provides a complete solution. It wraps the internals of drupal-check and runs scanning on custom and contributed projects on your site. This helps ensure Drupal 9 compatibility of your custom code, contributed modules, and Drupal 7 to 8 migration code. This can be integrated in build processes and continuous integration systems. Matt Glaman built drupal-check (only for Drupal 8), which allows you to run a standalone PHP executable from the command line and get a report of any deprecated code used. Deprecated code use will be made visible as part of the development process. ![]() For example, IDEs like PHPStorm will cross out calls to deprecated methods and inform you of what should be used instead. If you are developing Drupal code, it is best to use an IDE or code editor that understands deprecations ( annotations particularly). Use an IDE or code editor that understands deprecations
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |