diff --git a/docs/composer/plugin/drupal-dev-environment/index.md b/docs/composer/plugin/drupal-dev-environment/index.md index 0adf67afb1e8185a35d39fe2c40f4498e3467672..d70d140c36fd4c0c79ec0e14d2458cebfd38766f 100644 --- a/docs/composer/plugin/drupal-dev-environment/index.md +++ b/docs/composer/plugin/drupal-dev-environment/index.md @@ -12,7 +12,7 @@ This composer plugin builds all necessary structures of a Drupal project for dev It provides a massive amount of testing tools, which can be executed out of the box using [Ahoy](../../plugin/ahoy/index.md): -- [Dependency Analysis](../../../dev_tools/test.md#php-code-sniffer) +- [Dependency Analysis](../../../dev_tools/test.md#drupal-dependency-analysis) - [PHP Unit](../../../dev_tools/test.md#unitkernelfunctional-testing) - [PHP Code Sniffer](../../../dev_tools/test.md#php-code-sniffer) - [PHP PHPStan](../../../dev_tools/test.md#php-code-sniffer) diff --git a/docs/dev_tools/test.md b/docs/dev_tools/test.md index 97598a6cee55000f3e382a90a2eb45a199d542b9..5ed81a768c401d70048f88dc83e0e82dccb679fd 100644 --- a/docs/dev_tools/test.md +++ b/docs/dev_tools/test.md @@ -14,6 +14,30 @@ code analysis to unit testing. You also have to set up your environment with the tool [l3d](../docker/l3d/index.md). The composer plugin [Drupal Development Environment](../composer/plugin/drupal-dev-environment/index.md) does all the setup for you. +## Drupal Dependency Analysis + +This tools provides a very useful functionality. You can check, if there are new versions of a module. We have the following +categories: + +- Direct dependencies required in composer.json +- Transitive dependencies not required in composer.json + +Usage: + +```l3d +a test outdated +``` + +Note: **This can take a while depending on your installation.** + +Provides an output something like this: + +```l3d +Transitive dependencies not required in composer.json: +drupal/blazy 2.16.0 2.27.0 Provides.. +``` + + ## Static Code Analysis We have several tools to perform static code analysis.