mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Editcount
synced 2024-11-24 00:07:16 +00:00
Autofixing Generic.Functions.FunctionCallArgumentSpacing.SpaceBeforeComma errors
Change-Id: I1f9b01d420991b7967ab14304bfeab26ca3e1221
This commit is contained in:
parent
ef551ef2cc
commit
cd3d28a0fd
|
@ -3,7 +3,6 @@
|
|||
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
||||
<exclude name="Generic.Files.LineLength.TooLong" />
|
||||
<exclude name="Generic.Files.OneObjectStructurePerFile.MultipleFound" />
|
||||
<exclude name="Generic.Functions.FunctionCallArgumentSpacing.SpaceBeforeComma" />
|
||||
<exclude name="Generic.PHP.NoSilencedErrors.Discouraged" />
|
||||
<exclude name="MediaWiki.Commenting.FunctionComment.MissingReturn" />
|
||||
<exclude name="MediaWiki.Commenting.FunctionComment.SpacingAfterParamName" />
|
||||
|
|
|
@ -203,7 +203,7 @@ class EditcountHTML extends Editcount {
|
|||
|
||||
$total = $this->msg( 'editcount_total' )->escaped();
|
||||
$ftotal = $lang->formatNum( $this->total );
|
||||
$percent = $this->total > 0 ? wfPercent( $this->total / $this->total * 100 , 2 ) : wfPercent( 0 ); // @bug 4400
|
||||
$percent = $this->total > 0 ? wfPercent( $this->total / $this->total * 100, 2 ) : wfPercent( 0 ); // @bug 4400
|
||||
// @fixme don't use inline styles
|
||||
$ret = "<table border='1' style='background-color: #fff; border: 1px #aaa solid; border-collapse: collapse;'>
|
||||
<tr>
|
||||
|
|
Loading…
Reference in a new issue