CmdID

CmdID / Commands

drupal-check

Check Drupal PHP code for deprecations. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Check the code in a specific directory for deprecations

drupal-check path/to/directoryIdentify

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/directoryIdentify

Don't show a progress bar

drupal-check --no-progress path/to/directoryIdentify

Perform static analysis to detect bad coding practices

drupal-check --analysis path/to/directoryIdentify