Skip to content

Commit 04f3eec

Browse files
committed
Merge branch '4.4' into 5.1
* 4.4: Fix: DOCtor-RST Enhancement: New rules for DOCtor-RST. [#14421] Merged the new description into the current sentence Adding more information about default translation domain 'messages'
2 parents fbce846 + f40ec08 commit 04f3eec

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.doctor-rst.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ rules:
2525
no_namespace_after_use_statements: ~
2626
no_php_open_tag_in_code_block_php_directive: ~
2727
no_space_before_self_xml_closing_tag: ~
28+
only_backslashes_in_namespace_in_php_code_block: ~
29+
only_backslashes_in_use_statements_in_php_code_block: ~
2830
ordered_use_statements: ~
2931
php_prefix_before_bin_console: ~
3032
replace_code_block_types: ~

service_container/tags.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ tags, is to implement the static ``getDefaultPriority()`` method on the
641641
service itself::
642642

643643
// src/Handler/One.php
644-
namespace App/Handler;
644+
namespace App\Handler;
645645

646646
class One
647647
{

translation.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,9 +369,10 @@ priority message files.
369369
The filename of the translation files is also important: each message file
370370
must be named according to the following path: ``domain.locale.loader``:
371371

372-
* **domain**: An optional way to organize messages into groups. Unless
372+
* **domain**: Domains are a way to organize messages into groups. Unless
373373
parts of the application are explicitly separated from each other, it is
374-
recommended to only use default ``messages`` domain;
374+
recommended to only use the default ``messages`` domain (e.g.
375+
``messages.en.yaml``).
375376

376377
* **locale**: The locale that the translations are for (e.g. ``en_GB``, ``en``, etc);
377378

0 commit comments

Comments
 (0)