mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
drupal-check: add page (#4410)
This commit is contained in:
parent
e098045a72
commit
02f68ba74a
1 changed files with 20 additions and 0 deletions
20
pages/common/drupal-check.md
Normal file
20
pages/common/drupal-check.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# drupal-check
|
||||
|
||||
> Check Drupal PHP code for deprecations.
|
||||
> More information: <https://github.com/mglaman/drupal-check>.
|
||||
|
||||
- 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}}`
|
Loading…
Add table
Reference in a new issue