Skip to content

Supported tools ​

The rule's logic doesn't depend on any one tool. Each supported tool has a small adapter, in a package of its own, that connects it to the rule. Install the package for your tool, and the shared logic comes with it.

ToolPackageRule name
PHP-CS-Fixerdpi/namespace-shortener-php-cs-fixerDpi/namespace_import_roots
PHP_CodeSnifferdpi/namespace-shortener-phpcsDpiNamespaceShortener.Namespaces.ImportRoots