modxcms/revolution

View on GitHub

Showing 7,873 of 7,873 total issues

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

    public function _connect($dsn, $user = '', $password = '', $prefix = '', array $options = array()) {
Severity: Minor
Found in setup/includes/modinstall.class.php - About 35 mins to fix

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

        public function addConnection($dsn, $username= '', $password= '', array $options= array(), $driverOptions= null) {
    Severity: Minor
    Found in core/xpdo/xpdo.class.php - About 35 mins to fix

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

              function Services_JSON_Error($message = 'unknown error', $code = null,
                                           $mode = null, $options = null, $userinfo = null)
      Severity: Minor
      Found in core/xpdo/json/JSON.php - About 35 mins to fix

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

            public function __construct($dsn, $username= '', $password= '', $options= array(), $driverOptions= null) {
        Severity: Minor
        Found in core/xpdo/xpdo.class.php - About 35 mins to fix

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

              protected function _loadClass($class, $fqn, $included= false, $path= '', $transient= false) {
          Severity: Minor
          Found in core/xpdo/xpdo.class.php - About 35 mins to fix

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

                public function getSelectColumns($className, $tableAlias= '', $columnPrefix= '', $columns= array (), $exclude= false) {
            Severity: Minor
            Found in core/xpdo/xpdo.class.php - About 35 mins to fix

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

                  protected function _installObject(& $transport, $options, $element, & $parentObject, $fkMeta) {
              Severity: Minor
              Found in core/xpdo/transport/xpdoobjectvehicle.class.php - About 35 mins to fix

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

                    public function _uninstallObject(& $transport, $options, $element, & $parentObject, $fkMeta) {
                Severity: Minor
                Found in core/xpdo/transport/xpdoobjectvehicle.class.php - About 35 mins to fix

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

                      public function _installRelated(& $transport, & $parent, $element, $options, $owner = '') {
                  Severity: Minor
                  Found in core/xpdo/transport/xpdoobjectvehicle.class.php - About 35 mins to fix

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

                            function Services_JSON_Error($message = 'unknown error', $code = null,
                                                         $mode = null, $options = null, $userinfo = null)
                    Severity: Minor
                    Found in core/xpdo/json/JSON.php - About 35 mins to fix

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

                          public function writeSchema($schemaFile, $package= '', $baseClass= '', $tablePrefix= '', $restrictPrefix= false) {
                      Severity: Minor
                      Found in core/xpdo/om/sqlsrv/xpdogenerator.class.php - About 35 mins to fix

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

                            public function writeSchema($schemaFile, $package= '', $baseClass= '', $tablePrefix= '', $restrictPrefix= false) {
                        Severity: Minor
                        Found in core/xpdo/om/mysql/xpdogenerator.class.php - About 35 mins to fix

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

                              public function writeSchema($schemaFile, $package= '', $baseClass= '', $tablePrefix= '', $restrictPrefix= false) {
                          Severity: Minor
                          Found in core/xpdo/om/sqlite/xpdogenerator.class.php - About 35 mins to fix

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

                                public function fromArray($fldarray, $keyPrefix= '', $setPrimaryKeys= false, $rawValues= false, $adhocValues= false) {
                            Severity: Minor
                            Found in core/xpdo/om/xpdoobject.class.php - About 35 mins to fix

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

                                  public function fromJSON($jsonSource, $keyPrefix= '', $setPrimaryKeys= false, $rawValues= false, $adhocValues= false) {
                              Severity: Minor
                              Found in core/xpdo/om/xpdoobject.class.php - About 35 mins to fix

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

                                    public function condition(& $target, $conditions= '1', $conjunction= xPDOQuery::SQL_AND, $binding= null, $condGroup= 0) {
                                Severity: Minor
                                Found in core/xpdo/om/xpdoquery.class.php - About 35 mins to fix

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

                                      public function addValidationRule($field, $name, $type, $rule, array $parameters= array()) {
                                  Severity: Minor
                                  Found in core/xpdo/om/xpdoobject.class.php - About 35 mins to fix

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

                                        public static function loadCollectionGraph(xPDO & $xpdo, $className, $graph, $criteria, $cacheFlag) {
                                    Severity: Minor
                                    Found in core/xpdo/om/xpdoobject.class.php - About 35 mins to fix

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

                                        function privExtractFile(&$p_entry, $p_path, $p_remove_path, $p_remove_all_path, &$p_options)
                                      Severity: Minor
                                      Found in core/xpdo/compression/pclzip.lib.php - About 35 mins to fix

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

                                          function privExtractByRule(&$p_file_list, $p_path, $p_remove_path, $p_remove_all_path, &$p_options)
                                        Severity: Minor
                                        Found in core/xpdo/compression/pclzip.lib.php - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language