Open jartaud opened 6 years ago
To get green, i'm adding to en/validation.php:
'attributes' => [
'user_status' => '',
],
Now keeps failing: validation.custom.ATTRIBUTE.required
. I don't understand why it forcing me to use the custom array for: 'first_name' => 'required|string'
[en,fr]/validation.php
phpunit.xml
Can't test it, but i think changing this line: Translator to something like this:
if ($translation === $key && !in_array($key, ['validation.attributes'])) {...
should fix the problem.