add rejected
rule
add number
as alias of integer
rule
fix strict type check on Date
rule where value is sometimes null
some additional cleanup from code inspections
add Exists
and Unique
database rules (uses DBAL)
add readme contents based on rakit/validation readme
add setting validation language on Validation
clean up imports
rename In
, NotIn
to use values()
as the method to set values
add AttributeBag
and RuleBag
rename ValidatorTest
to FactoryTest
refactor more internals
split out tests from FactoryTest
into smaller groups
add InputBag
for holding all input items
add support for callables in Helper::arrayGet
rename more methods
rename primaryAttribute
to parent
remove setAliases
, setAlias
is good enough
remove otherAttributes
from attribute, not used anywhere
add phone
, uuid
, prohibited
, prohibited_if
, prohibited_unless
, string
, and float
rules
add matches
as alias of regex
add MimeTypeGuesser
interface to allow injecting alternative guessers in rules
add helpers to In
and NotIn
for building rules
add initial language translation support
allow commas in parameters on rules e.g. in, not_in etc.
change Rule key
to name
move Interfaces
to Contracts
move Traits
to Behaviours
refactor more internals
remove the humanize keys and override checks - not needed
remove unused methods
add support for aliases on rules and drop pre-process of input data
add support for rules as array of rule -> value as well as [ rule:value ]
correct usage of assertEquals in tests
You can’t perform that action at this time.