This is useful to ensure that all classes covered by the defined autoload information in the composer.json
.
Add to your composer.json
in the require-dev
section:
"phpcq/autoload-validation": "~1.0"
Call the binary:
./vendor/bin/check-autoloading.php
Optionally pass the root of the git repository to check:
./vendor/bin/check-autoloading.php /path/to/some/repository