Add a packagist requirements to have the bcmath extension installed
khalyomede opened this issue · 2 comments
khalyomede commented
Description
I tried to used the package in a minimal PHP environnement, without compiling it with the bcmath extension. An error has been raised telling me that bcmul
function does not exists. After downloading the bcmath extension, no error was raised.
Expected behavior
To be warned if the local environment does not have the required bcmath extension.
Actual behavior
No error is raised if the local environment does not have the bcmath extension enabled.
ConsoleTVs commented
Should't that happen already?
https://github.com/ConsoleTVs/Invoices/blob/master/composer.json#L10
khalyomede commented
You absolutely right, I used my local composer binary instead of the composer binary on my Docker container!