modxcms/revolution

View on GitHub

Showing 7,873 of 7,873 total issues

Method handleError has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public function handleError($errno, $errstr, $errfile = null, $errline = null, $errcontext = null) {
Severity: Minor
Found in core/model/modx/error/moderrorhandler.class.php - About 35 mins to fix

    Method toPlaceholder has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        public function toPlaceholder($key, $value, $prefix= '', $separator= '.', $restore= false) {
    Severity: Minor
    Found in core/model/modx/modx.class.php - About 35 mins to fix

      Method listSettings has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          public static function listSettings(xPDO &$xpdo, array $criteria = array(), array $sort = array('id' => 'ASC'), $limit = 0, $offset = 0) {
      Severity: Minor
      Found in core/model/modx/mysql/modsystemsetting.class.php - About 35 mins to fix

        Method listProfiles has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            public static function listProfiles(xPDO &$xpdo, array $criteria = array(), array $sort = array('id' => 'ASC'), $limit = 0, $offset = 0) {
        Severity: Minor
        Found in core/model/modx/mysql/modformcustomizationprofile.class.php - About 35 mins to fix

          Method listSettings has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

              public static function listSettings(xPDO &$xpdo, array $criteria = array(), array $sort = array('id' => 'ASC'), $limit = 0, $offset = 0) {
          Severity: Minor
          Found in core/model/modx/mysql/modusersetting.class.php - About 35 mins to fix

            Method listSettings has 5 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                public static function listSettings(xPDO &$xpdo, array $criteria = array(), array $sort = array('id' => 'ASC'), $limit = 0, $offset = 0) {
            Severity: Minor
            Found in core/model/modx/mysql/modcontextsetting.class.php - About 35 mins to fix

              Method listTemplateVars has 5 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                  public static function listTemplateVars(modTemplate &$template, array $sort = array('name' => 'ASC'), $limit = 0, $offset = 0,array $conditions = array()) {
              Severity: Minor
              Found in core/model/modx/mysql/modtemplate.class.php - About 35 mins to fix

                Method makeUrl has 5 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                    public function makeUrl($id, $context= '', $args= '', $scheme= -1, array $options= array()) {
                Severity: Minor
                Found in core/model/modx/modx.class.php - About 35 mins to fix

                  Method resync_mfa_device has 5 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                      public function resync_mfa_device($user_name, $serial_number, $authentication_code1, $authentication_code2, $opt = null)
                  Severity: Minor
                  Found in core/model/aws/services/iam.class.php - About 35 mins to fix

                    Method smarty_modifier_debug_print_var has 5 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                    function smarty_modifier_debug_print_var($var, $max = 10, $length = 40, $depth = 0, $objects = array())
                    Severity: Minor
                    Found in core/model/smarty/plugins/modifier.debug_print_var.php - About 35 mins to fix

                      Method add_permission has 5 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                          public function add_permission($queue_url, $label, $account_id, $action_name, $opt = null)
                      Severity: Minor
                      Found in core/model/aws/services/sqs.class.php - About 35 mins to fix

                        Method add_permission has 5 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                            public function add_permission($topic_arn, $label, $account_id, $action_name, $opt = null)
                        Severity: Minor
                        Found in core/model/aws/services/sns.class.php - About 35 mins to fix

                          Method complete_multipart_upload has 5 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                              public function complete_multipart_upload($bucket, $filename, $upload_id, $parts, $opt = null)
                          Severity: Minor
                          Found in core/model/aws/services/s3.class.php - About 35 mins to fix

                            Method init has 5 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                                public static function init($data, $options = 0, $data_is_url, $ns, $is_prefix = false)
                            Severity: Minor
                            Found in core/model/aws/utilities/simplexml.class.php - About 35 mins to fix

                              Method authenticate has 5 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                                  public function authenticate($bucket, $opt = null, $location = null, $redirects = 0, $nothing = null)
                              Severity: Minor
                              Found in core/model/aws/services/s3.class.php - About 35 mins to fix

                                Method copy_part has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                    public function copy_part($source, $dest, $upload_id, $part_number, $opt = null)
                                Severity: Minor
                                Found in core/model/aws/services/s3.class.php - About 35 mins to fix

                                  Method cache_callback has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                      public function cache_callback($method = 'GET', $path = null, $opt = null, $xml = null, $etag = null)
                                  Severity: Minor
                                  Found in core/model/aws/services/cloudfront.class.php - About 35 mins to fix

                                    Method put_scaling_policy has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                        public function put_scaling_policy($auto_scaling_group_name, $policy_name, $scaling_adjustment, $adjustment_type, $opt = null)
                                    Severity: Minor
                                    Found in core/model/aws/services/as.class.php - About 35 mins to fix

                                      Method authenticate has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                      Open

                                          public function authenticate($action, $opt = null, $domain = null, $signature_version = 2, $redirects = 0)
                                      Severity: Minor
                                      Found in core/model/aws/sdk.class.php - About 35 mins to fix

                                        Method enable_mfa_device has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                            public function enable_mfa_device($user_name, $serial_number, $authentication_code1, $authentication_code2, $opt = null)
                                        Severity: Minor
                                        Found in core/model/aws/services/iam.class.php - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language