- 🇮🇹Italy apaderno Brescia, 🇮🇹
In a directory containing Drupal 11 files,
grep -irn "=&" ./ --include=*.module --include=*.php --include=*.inc --include=*.install --include=*.theme| wc -l
returned 93, whilegrep -irn "=&" ./ --include=*.module --include=*.php --include=*.inc --include=*.install --include=*.theme| wc -l
returned 328.Truly, the first command also count lines like the following ones.
./core/modules/ckeditor5/tests/src/Kernel/SmartDefaultSettingsTest.php:1357: 'To maintain the capabilities of this text for mat, <a target="_blank" href="/admin/help/ckeditor5#migration-settings">the CKEditor 5 migration</a> did the following: Enabled thes e plugins: (<em class="placeholder">Link, Block quote, Code, List</em>). Added these tags/attributes to the Source Editing Plugin\'s <a target="_blank" href="/admin/help/ckeditor5#source-editing">Manually editable HTML tags</a> setting: <cite> <dl> <dt> <dd> <a hreflang> <blockquote cite> <ul type> <ol type="1 A I"> <h2 id="jump-*"> <h3 id> <h4 id> <h5 id> <h6 id>. Additional details are available in your logs.', ./core/modules/ckeditor5/tests/src/Kernel/SmartDefaultSettingsTest.php:1401: 'As part of migrating to CKEditor 5, it was found that the <em class="placeholder">A CKEditor 4 configured to have span styles</em> text format\'s HTML filters includes plugins that support the following tags, but not some of their attributes. To ensure these attributes remain supported, the following were added to the Source Editing plugin\'s <em>Manually editable HTML tags</em>: <span class="llama">. The text format must be saved to make these changes active.', ./core/modules/ckeditor5/tests/src/Kernel/SmartDefaultSettingsTest.php:1406: 'To maintain the capabilities of this text format, <a target="_blank" href="/admin/help/ckeditor5#migration-settings">the CKEditor 5 migration</a> did the following: Added these tags/attributes to the Source Editing Plugin\'s <a target="_blank" href="/admin/help/ckeditor5#source-editing">Manually editable HTML tags</a> setting: <span class="llama">. Additional details are available in your logs.', ./core/modules/ckeditor5/tests/src/Kernel/ValidatorsTest.php:553: 'The following tag is not valid HTML: <em class="placeholder"><blockquote class=""></em>.',
- 🇳🇿New Zealand quietone New Zealand
This was discussed at coding standards meetings, #3456119: Coding Standards Meeting Tuesday 2024-06-18 2100 UTC → .
The existing text does cover this case but there was a question if the text should make clear that 'operator' does not mean any combination of operators.
And a sniff will be needed to ensure the agreed format is enforced.
- 🇬🇧United Kingdom catch
Yeah I think it's implicit in the existing coding standard but we should make it explicit.