theseer / Autoload

A lightweight php namespace aware autoload generator and phar archive builder
Other
388 stars 47 forks source link

Throw an exception if the template file cannot be read #93

Closed suve closed 4 years ago

suve commented 4 years ago

Currently, if the template cannot be read, the code will produce a PHP Warning on stderr and then continue on its merry way.

This changeset makes the code throw an exception if the template does not exist, alerting the user to the issue.

remicollet commented 4 years ago

make sense.

theseer commented 4 years ago

Nice catch!