Open jmikkola opened 9 years ago
spyc_load_file() makes dealing with missing files very confusing by returning a valid-looking value instead of reporting the error.
spyc_load_file()
<?php var_dump(spyc_load_file('/missing/file.yaml'));
Some kind of error about the file not existing.
array(1) { [0] => string(18) "/missing/file.yaml" }
spyc_load_file()
makes dealing with missing files very confusing by returning a valid-looking value instead of reporting the error.Steps to reproduce
Expected result
Some kind of error about the file not existing.
Actual result