I'm using this validator within an application which is running with language 'de'. I'm getting a warning The message file for category 'messages' does not exist: .../vendor/codeonyii/yii2-at-least-validator/messages/de/messages.php. To get rid of this warning message I have to define a message source extra for message*. This PR make this extra config obsolete by checking if there is a responsible message source for messages defined. Which is in my case a wildcard * message source.
I'm using this validator within an application which is running with language 'de'. I'm getting a warning
The message file for category 'messages' does not exist: .../vendor/codeonyii/yii2-at-least-validator/messages/de/messages.php
. To get rid of this warning message I have to define a message source extra formessage*
. This PR make this extra config obsolete by checking if there is a responsible message source formessages
defined. Which is in my case a wildcard*
message source.