Skip to content

Commit

Permalink
Dev Fixed Scrutinizer issues
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Dec 21, 2017
1 parent ace4d8c commit 1b21bbf
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 12 deletions.
1 change: 1 addition & 0 deletions .scrutinizer.yml
Expand Up @@ -9,6 +9,7 @@ filter:
paths: [application/*]
excluded_paths:
- 'application/views/*'
- 'framework/yiilite.php'
dependency_paths:
- 'framework/'
- 'application/helpers/adodb/*'
Expand Down
2 changes: 1 addition & 1 deletion application/controllers/AdminController.php
Expand Up @@ -203,7 +203,7 @@ public function getActionClasses()
'index' => 'index',
'labels' => 'labels',
'participants' => 'participantsaction',
'pluginmanager' => 'pluginmanager',
'pluginmanager' => 'PluginManagerController',
'printablesurvey' => 'printablesurvey',
'questiongroups' => 'questiongroups',
'questions' => 'questions',
Expand Down
Expand Up @@ -2,7 +2,7 @@

/**
*/
class PluginManager extends Survey_Common_Action
class PluginManagerController extends Survey_Common_Action
{
public function init()
{
Expand Down
10 changes: 0 additions & 10 deletions application/libraries/admin/settingsstorage.php
Expand Up @@ -62,14 +62,4 @@ public static function isRegistered($index)
return self::$_instance->offsetExists($index);
}

/**
* Workaround for http://bugs.php.net/bug.php?id=40442 (ZF-960).
*/
public function offsetExists($index)
{
return array_key_exists($index, $this);
}


}
?>

0 comments on commit 1b21bbf

Please sign in to comment.