remove t()
1 open thread
1 open thread
Closes #3133726
Merge request reports
Activity
added 20 commits
-
19aa82e8...9fab2393 - 19 commits from branch
project:11.x - 27cbeae3 - remove t()
-
19aa82e8...9fab2393 - 19 commits from branch
added 48 commits
-
27cbeae3...7272dc96 - 46 commits from branch
project:11.x - 6bfa8606 - remove t()
- 5c5ef9a6 - more removals
-
27cbeae3...7272dc96 - 46 commits from branch
added 6 commits
-
5c5ef9a6...fda19f82 - 4 commits from branch
project:11.x - d447a2b6 - remove t()
- 37484d2c - more removals
-
5c5ef9a6...fda19f82 - 4 commits from branch
157 154 ], 158 155 ]); 159 156 $this->assertSame(sprintf('1: [user]: name=%s||name=%s||mail=Email field is required.', $username_constraint->illegalMessage, new FormattableMarkup($username_constraint->tooLongMessage, ['%name' => $long_username, '%max' => 60])), $this->messages[0], 'First message should have 3 validation errors.'); 160 // phpcs:ignore Drupal.Semantics.FunctionT.NotLiteralString 161 $this->assertSame(sprintf('1: [user]: name=%s||name=%s||mail=Email field is required.', $username_constraint->illegalMessage, $this->t($username_constraint->tooLongMessage, ['%name' => $long_username, '%max' => 60])), $this->messages[0], 'First message should have 3 validation errors.'); It is a duplicate line of the previous line. It was introduced in [#3123067], probably as a result of the many rebases and issues that were touching this block of code for the various coding standards issues.
Please register or sign in to reply