crhayes/laravel-extended-validator

Array syntax incompatible with minimum php dependency in composer.json

Closed this issue · 1 comments

I recently got to using this package, which I think is terrific by the way, but noticed that the array syntax was of the newer style [ ] and the php dependency in composer was >= 5.3. If there is will to leave the inclusion of 5.3 then the syntax should be changed back to array() as it will throw an exception in 5.3.

Thanks for the compliment and the bug report. I've become so used to PHP 5.4 array syntax I didn't even notice. I just pushed an update that fixes this by reverting to PHP 5.3 array syntax.