phpcq/autoload-validation

Check that the contents of the composer.json autoload keys are correct.

1.3.1 2020-09-19 07:36 UTC

README

Version Stable Build Status Upstream Build Status License Downloads

Validate the autoload information within composer.json.

This is useful to ensure that all classes covered by the defined autoload information in the composer.json.

Usage

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