src/Validation/Validators/InsertableRegexValidator.php
Method getIssues
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getIssues( Message $message, string $targetLanguage ): ValidationIssues {
$issues = new ValidationIssues();
preg_match_all( $this->validationRegex, $message->definition(), $definitionMatch );
preg_match_all( $this->validationRegex, $message->translation(), $translationMatch );