auraphp / Aura.Filter

Validate and sanitize arrays and objects.
MIT License
159 stars 33 forks source link

isNotBlank gone #112

Closed designermonkey closed 8 years ago

designermonkey commented 8 years ago

https://github.com/auraphp/Aura.Filter/blob/2.0.0/src/Spec/ValidateSpec.php

The isNotBlank rule has vanished. The docs still say to use it.

How can I test a field is not blank and apply a specific error message to it if it is?

pmjones commented 8 years ago

isNotBlank() is introduced in the current 2.x branch, not the 2.0.0 tag; you can look for it in the next release (2.1), or use the 2.x development branch.

Sorry for the hassle!

designermonkey commented 8 years ago

Ok, thanks.

harikt commented 8 years ago

@pmjones how about a 2.1 release then ;) .

Thank you.

pmjones commented 8 years ago

Thought I'd wait on @jakejohns to clear up the case-related stuff, unless we're in a hurry. :-)