Goal: when crest cannot infer the project configuration, say which directory is missing.
With no crest.php, crest reads the psr-4 map in composer.json and uses the first entry whose directory exists. A project with a composer.json but no src/ fails with:
no crest.php and no usable psr-4 autoload entry found
The message does not say that a missing directory is the cause. Found by hand-testing the generators.
Goal: when crest cannot infer the project configuration, say which directory is missing.
With no
crest.php, crest reads thepsr-4map incomposer.jsonand uses the first entry whose directory exists. A project with acomposer.jsonbut nosrc/fails with:The message does not say that a missing directory is the cause. Found by hand-testing the generators.
psr-4directories that do not exist in the message (src/Project/Config.php,infer())