modxcms/revolution

View on GitHub

Showing 7,873 of 7,873 total issues

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

    public static function listPackages(modX &$modx, $workspace, $limit = 0, $offset = 0,$search = '') {
Severity: Minor
Found in core/model/modx/transport/modtransportpackage.class.php - About 35 mins to fix

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

        public static function listPackages(modX &$modx, $workspace, $limit = 0, $offset = 0,$search = '') {
    Severity: Minor
    Found in core/model/modx/transport/mysql/modtransportpackage.class.php - About 35 mins to fix

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

          public static function listPackages(modX &$modx, $workspace, $limit = 0, $offset = 0,$search = '') {
      Severity: Minor
      Found in core/model/modx/transport/sqlsrv/modtransportpackage.class.php - About 35 mins to fix

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

            public function setRule($name, $ruleName, $value, $rank, $container = 'modx-panel-resource') {
        Severity: Minor
        Found in core/model/modx/processors/security/forms/set/import.class.php - About 35 mins to fix

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

              public function registerNamespace($ns = 'core', $autoincludes = true, $packageNamespace = true, $path = '', $assetsPath = '') {
          Severity: Minor
          Found in core/model/modx/transport/modpackagebuilder.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/sqlsrv/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/sqlsrv/modusergroupsetting.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/sqlsrv/modcontextsetting.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/sqlsrv/modformcustomizationprofile.class.php - About 35 mins to fix

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

                            $string,
                            $filename,
                            $encoding = self::ENCODING_BASE64,
                            $type = '',
                            $disposition = 'attachment'
                    Severity: Minor
                    Found in core/model/modx/mail/phpmailer/src/PHPMailer.php - About 35 mins to fix

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

                          private function mailPassthru($to, $subject, $body, $header, $params)
                      Severity: Minor
                      Found in core/model/modx/mail/phpmailer/src/PHPMailer.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/sqlsrv/modtemplate.class.php - About 35 mins to fix

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

                                  $path,
                                  $name = '',
                                  $encoding = self::ENCODING_BASE64,
                                  $type = '',
                                  $disposition = 'attachment'
                          Severity: Minor
                          Found in core/model/modx/mail/phpmailer/src/PHPMailer.php - About 35 mins to fix

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

                                public function embedImage($image, $cid, $name = '', $encoding = 'base64', $type = 'application/octet-stream') {
                            Severity: Minor
                            Found in core/model/modx/mail/modphpmailer.class.php - About 35 mins to fix

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

                                  public function request($host,$path,$method = 'GET',array $params = array(),array $options = array()) {
                              Severity: Minor
                              Found in core/model/modx/rest/modrestsockclient.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/sqlsrv/modsystemsetting.class.php - About 35 mins to fix

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

                                      public function request($host,$path,$method = 'GET',array $params = array(),array $options = array()) {
                                  Severity: Minor
                                  Found in core/model/modx/rest/modrestcurlclient.class.php - About 35 mins to fix

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

                                        public function request($host,$path,$method = 'GET',array $params = array(),array $options = array()) {
                                    Severity: Minor
                                    Found in core/model/modx/rest/modrestclient.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/modtemplate.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/modusergroupsetting.class.php - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language