includes/specials/SpecialJavaScriptTest.php
Method exportJS
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function exportJS() {
$out = $this->getOutput();
$req = $this->getContext()->getRequest();
$rl = $out->getResourceLoader();
Method renderPage
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function renderPage() {
$req = $this->getContext()->getRequest();
$component = $req->getRawVal( 'component' );
// If set, validate
$this->getModulesForComponentOrThrow( $component );