Use own line for comments

Move comments found by NewLineComment warning of the
SpaceBeforeSingleLineComment sniff.

Change-Id: I15e9c33ebb562a4062a7c0149f3ffa2abccf5d65
This commit is contained in:
Umherirrender 2024-12-07 22:31:18 +01:00
parent a3f77b64f6
commit ef0b19887b
2 changed files with 3 additions and 4 deletions

View file

@ -1,8 +1,6 @@
<?xml version="1.0"?>
<ruleset>
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment"/>
</rule>
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki" />
<file>.</file>
<arg name="extensions" value="php"/>
<arg name="encoding" value="UTF-8"/>

View file

@ -121,7 +121,8 @@ class SyntaxHighlightAce {
'R' => [],
'Razor' => [],
'RDoc' => [],
'RHTML' => [], // HTML with Rcode, not ruby
// HTML with Rcode, not ruby
'RHTML' => [],
'RST' => [ 'rst', 'rest', 'restructuredtext' ],
'Ruby' => [ 'ruby', 'rb', 'duby' ],
'Rust' => [ 'rust' ],