Skip to content

2.0.0

Choose a tag to compare

@mondrake mondrake released this 19 Aug 10:43
· 71 commits to master since this release
24144b7

The package's API has not changed significantly from 1.x releases, but now all methods are strictly typed.

Methods no longer accept being passed null values for arguments. Methods no longer return null - always throw exceptions in that case. The $strict parameter that could be passed to some methods is no longer supported.

A lot of the refactoring was driven by recommendations from the implementation of the PHPStan and Psalm tools.