Skip to content

v0.1.1

Latest

Choose a tag to compare

@harris21 harris21 released this 06 Jun 10:47
9365ba5

Patch release.

  • ValueObjectRule now returns a clean validation message when a field gets the wrong type (an array or object where a scalar Value Object is expected) instead of leaking a raw TypeError. Value Objects that accept arrays or mixed keep working, and a validationMessage() override still takes precedence. Thanks @zigzagdev for the first community contribution.
  • Added Laravel Pint and a CI lint gate that fails the build on style violations.