Skip to content

Commit

Permalink
Merge "phpcs: Enable Generic.CodeAnalysis.JumbledIncrementer.Found an…
Browse files Browse the repository at this point in the history
…d move disable inline"
  • Loading branch information
jenkins-bot authored and Gerrit Code Review committed Aug 1, 2023
2 parents 7c814ca + 95800d8 commit 54d8679
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion .phpcs.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<ruleset>
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
<exclude name="Generic.CodeAnalysis.JumbledIncrementer.Found" />
<exclude name="Generic.Files.LineLength.TooLong" />
<exclude name="Generic.NamingConventions.UpperCaseConstantName.ClassConstantNotUpperCase" />
<exclude name="Generic.PHP.NoSilencedErrors.Discouraged" />
Expand Down
1 change: 1 addition & 0 deletions lib/Less/Exception/Chunk.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ protected function Chunks() {
$lastMultiComment = null;
$lastParen = null;

// phpcs:ignore Generic.CodeAnalysis.JumbledIncrementer
for ( $this->parserCurrentIndex = 0; $this->parserCurrentIndex < $this->input_len; $this->parserCurrentIndex++ ) {
$cc = $this->CharCode( $this->parserCurrentIndex );
if ( ( ( $cc >= 97 ) && ( $cc <= 122 ) ) || ( $cc < 34 ) ) {
Expand Down

0 comments on commit 54d8679

Please sign in to comment.