From 02f68ba74a445f2f5181670efe4041ae1a87b63a Mon Sep 17 00:00:00 2001 From: Pierre Rudloff <50333926+prudloff-insite@users.noreply.github.com> Date: Mon, 5 Oct 2020 16:55:19 +0200 Subject: [PATCH] drupal-check: add page (#4410) --- pages/common/drupal-check.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pages/common/drupal-check.md diff --git a/pages/common/drupal-check.md b/pages/common/drupal-check.md new file mode 100644 index 000000000..9cc1dde9e --- /dev/null +++ b/pages/common/drupal-check.md @@ -0,0 +1,20 @@ +# drupal-check + +> Check Drupal PHP code for deprecations. +> More information: . + +- Check the code in a specific directory for deprecations: + +`drupal-check {{path/to/directory}}` + +- Check the code excluding a comma-separated list of directories: + +`drupal-check --exclude-dir {{path/to/excluded_directory}},{{path/to/excluded_files/*.php}} {{path/to/directory}}` + +- Don't show a progress bar: + +`drupal-check --no-progress {{path/to/directory}}` + +- Perform static analysis to detect bad coding practices: + +`drupal-check --analysis {{path/to/directory}}`