ci: 👷 lint code to MediaWiki standards

Check commit and GitHub actions for more details
This commit is contained in:
github-actions 2023-06-12 02:13:23 +00:00
parent e771c728e1
commit 2c5539900c
2 changed files with 2 additions and 5 deletions

View file

@ -25,13 +25,13 @@ declare( strict_types=1 );
namespace MediaWiki\Skins\Citizen\Hooks;
use ExtensionRegistry;
use MediaWiki\Hook\BeforePageDisplayHook;
use MediaWiki\Hook\SidebarBeforeOutputHook;
use MediaWiki\Hook\SkinBuildSidebarHook;
use MediaWiki\Hook\SkinEditSectionLinksHook;
use MediaWiki\Hook\SkinTemplateNavigation__UniversalHook;
use MediaWiki\Skins\Hook\SkinPageReadyConfigHook;
use ExtensionRegistry;
use Skin;
use SpecialPage;
@ -47,6 +47,7 @@ class SkinHooks implements
SkinTemplateNavigation__UniversalHook
{
use \MediaWiki\Skins\Citizen\GetConfigTrait;
/**
* Adds the inline theme switcher script to the page
*

View file

@ -26,10 +26,6 @@ declare( strict_types=1 );
namespace MediaWiki\Skins\Citizen\Partials;
use Exception;
use ExtensionRegistry;
use MWException;
use Skin;
use SpecialPage;
/**
* Drawer partial of Skin Citizen