beberlei / assert

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

[BC Break] Intl is now a required dependency #288

Closed jakzal closed 4 years ago

jakzal commented 5 years ago

286 made that the whole beberlei/assert package now requires the intl extension to be installed.

268 and #269 updated count() and isCountable() to now work with intl resources.

It's what I'd call an optional dependency though. The Assertion class, and therefore the whole library, can work perfectly fine without the intl extension.

The intl extension is still not being commonly installed as for most projects it's of no benefit. IMO It's not nice to force people to install it because an assertion library "needs" it for some edge cases.