Download the PHP package silverorange/ambiguous-class-name-detector without Composer
On this page you can find all versions of the php package silverorange/ambiguous-class-name-detector. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download silverorange/ambiguous-class-name-detector
More information about silverorange/ambiguous-class-name-detector
Files in silverorange/ambiguous-class-name-detector
Package ambiguous-class-name-detector
Short Description Command-line tool to check for ambiguous class names with Composer's generated class map.
License MIT
Homepage https://github.com/silverorange/ambiguous-class-name-detector
Informations about the package ambiguous-class-name-detector
Ambiguous Class Name Detector
Command-line tool to detect ambiguous class names when using the class map autoload mechanism with Composer.
This tool is intended to be used in a CI environment and should fail if ambiguous class names are introduced in a project.
Development
This tool uses composer. To test during
development, make sure you have the required packages installed by running
composer install
.
You can run the tool using ./bin/check-for-ambiguous-class-names
.
This project uses prettier for automatic code formatting. To format files in
the src/
directory, run yarn install
and then yarn make-pretty
.
Installation
Add to your project's development dependencies with:
Then add composer run check-for-ambiguous-class-names
to your CI pipeline. If
ambiguous class names are detected, the command will exit with a non-zero
value and report the ambiguous class names.
All versions of ambiguous-class-name-detector with dependencies
ext-json Version *
ext-mbstring Version *