Commit 35ab7617 authored by zlzleking's avatar zlzleking

Fix phpcs, update composer components

parent 57359d14
......@@ -245,7 +245,7 @@ class LibertyTemplate extends BaseTemplate {
}
echo Linker::linkKnown(
SpecialPage::getTitleFor( 'Notifications' ),
$skin->msg( 'notifications' )->plain().( $notiCount ? " ($notiCount)" : "" ),
$skin->msg( 'notifications' ) - > plain() . ( $notiCount ? " ($notiCount)" : "" ),
[
'class' => 'dropdown-item',
'title' => $skin->msg( 'tooltip-pt-notifications-notice' )->text()
......@@ -706,7 +706,7 @@ class LibertyTemplate extends BaseTemplate {
] );
if ( isset( $content['icon'] ) ) {
echo Html::rawElement( 'span', [
'class' => 'fa fa-'.$content['icon']
'class' => "fa fa-".$content['icon'] // phpcs:ignore
] );
}
......@@ -738,7 +738,7 @@ class LibertyTemplate extends BaseTemplate {
] );
if ( isset( $child['icon'] ) ) {
echo Html::rawElement( 'span', [
'class' => 'fa fa-'.$child['icon']
'class' => 'fa fa-'.$child['icon'] // phpcs:ignore
] );
}
......@@ -763,7 +763,7 @@ class LibertyTemplate extends BaseTemplate {
] );
if ( isset( $sub['icon'] ) ) {
echo Html::rawElement( 'span', [
'class' => 'fa fa-'.$sub['icon']
'class' => 'fa fa-'.$sub['icon'] // phpcs:ignore
] );
}
......
......@@ -3,7 +3,7 @@
"description": "Liberty MediaWiki Skin",
"license": "GPL-3.0+",
"require-dev": {
"mediawiki/mediawiki-codesniffer": "0.9.0"
"mediawiki/mediawiki-codesniffer": ">=0.9.0"
},
"scripts": {
"test": [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment