drupal-check

Check Drupal PHP code for deprecations.

TLDR

Check the code in a specific directory for deprecations

$ drupal-check [path/to/directory]
copy

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]
copy

Don't show a progress bar

$ drupal-check --no-progress [path/to/directory]
copy

Perform static analysis to detect bad coding practices

$ drupal-check --analysis [path/to/directory]
copy

Copied to clipboard
free 100$ digital ocean credit