dpi / namespace-shortener-phpcs
PHP_CodeSniffer standard that imports configured namespace roots and rewrites every usage to go through them
Package info
github.com/dpi/namespace-shortener-phpcs
Type:phpcodesniffer-standard
pkg:composer/dpi/namespace-shortener-phpcs
v1.0.0-beta2
2026-11-08 13:38 UTC
Requires
- php: >=8.3
- dealerdirect/phpcodesniffer-composer-installer: ^1.0
- dpi/namespace-shortener-core: v1.0.0-beta2
- nikic/php-parser: ^5.6
- squizlabs/php_codesniffer: ^3.13 || ^4.0
- thecodingmachine/safe: ^3.4
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-08 13:38:34 UTC
README
The PHP_CodeSniffer standard for Namespace Shortener, which imports the namespaces you choose, and rewrites every usage to go through them.
Install
composer require --dev dpi/namespace-shortener-phpcs
Documentation
Read the documentation at dpi.github.io/namespace-shortener.
License
Copyright (c) 2026, dpi