beberlei / assert

Thin assertion library for use in libraries and business-model
Other
2.41k stars 188 forks source link

Remove a hard dependency on the intl extension #289

Closed jakzal closed 4 years ago

jakzal commented 4 years ago

Fixes #288.

While #268 and #269 updated count() and isCountable() to now work with intl resources, #286 made that the whole beberlei/assert package now requires the intl extension to be installed.

However, the intl extension dependency is a soft dependency. The package does not need intl for most of its features and can safely work without it.