Add path to message in UnsupportedFileTypeException
vjik opened this issue · 1 comments
vjik commented
I mistaked and don't use extension for config file.
By error message I don't understand where error.
What steps will reproduce the problem?
Make mistake in config file path: don't add extension.
For example set "config/app-main/params" instead a "config/app-main/params.php"
What is the expected result?
Fatal error: Uncaught Yiisoft\Composer\Config\Exception\UnsupportedFileTypeException: Unsupported file type for "config/app-main/params" in ...\Reader\ReaderFactory.php on line 50
What do you get instead?
Fatal error: Uncaught Yiisoft\Composer\Config\Exception\UnsupportedFileTypeException: Unsupported file type: "" in ...\Reader\ReaderFactory.php on line 50
Additional info
Q | A |
---|---|
Version | 0.4.0 |
PHP version | 7.4 |
Operating system | Win10 |