@@ -73,6 +73,6 @@  | 
                                                    ||
| 73 | 73 | */  | 
                                                        
| 74 | 74 | public function __toString()  | 
                                                        
| 75 | 75 |      { | 
                                                        
| 76 | -        return $this->name . '(' . implode(', ', $this->arguments) . ')'; | 
                                                        |
| 76 | +        return $this->name.'('.implode(', ', $this->arguments).')'; | 
                                                        |
| 77 | 77 | }  | 
                                                        
| 78 | 78 | }  | 
                                                        
@@ -138,8 +138,8 @@  | 
                                                    ||
| 138 | 138 | public function __toString()  | 
                                                        
| 139 | 139 |      { | 
                                                        
| 140 | 140 | return strtoupper($this->joinType) . ' JOIN ' . $this->join  | 
                                                        
| 141 | - . ($this->alias ? ' ' . $this->alias : '')  | 
                                                        |
| 142 | - . ($this->indexBy ? ' INDEX BY ' . $this->indexBy : '')  | 
                                                        |
| 143 | - . ($this->condition ? ' ' . strtoupper($this->conditionType) . ' ' . $this->condition : '');  | 
                                                        |
| 141 | + . ($this->alias ? ' ' . $this->alias : '')  | 
                                                        |
| 142 | + . ($this->indexBy ? ' INDEX BY ' . $this->indexBy : '')  | 
                                                        |
| 143 | + . ($this->condition ? ' ' . strtoupper($this->conditionType) . ' ' . $this->condition : '');  | 
                                                        |
| 144 | 144 | }  | 
                                                        
| 145 | 145 | }  | 
                                                        
@@ -137,9 +137,9 @@  | 
                                                    ||
| 137 | 137 | */  | 
                                                        
| 138 | 138 | public function __toString()  | 
                                                        
| 139 | 139 |      { | 
                                                        
| 140 | - return strtoupper($this->joinType) . ' JOIN ' . $this->join  | 
                                                        |
| 141 | - . ($this->alias ? ' ' . $this->alias : '')  | 
                                                        |
| 142 | - . ($this->indexBy ? ' INDEX BY ' . $this->indexBy : '')  | 
                                                        |
| 143 | - . ($this->condition ? ' ' . strtoupper($this->conditionType) . ' ' . $this->condition : '');  | 
                                                        |
| 140 | + return strtoupper($this->joinType).' JOIN '.$this->join  | 
                                                        |
| 141 | + . ($this->alias ? ' '.$this->alias : '')  | 
                                                        |
| 142 | + . ($this->indexBy ? ' INDEX BY '.$this->indexBy : '')  | 
                                                        |
| 143 | + . ($this->condition ? ' '.strtoupper($this->conditionType).' '.$this->condition : '');  | 
                                                        |
| 144 | 144 | }  | 
                                                        
| 145 | 145 | }  | 
                                                        
@@ -95,6 +95,6 @@  | 
                                                    ||
| 95 | 95 | */  | 
                                                        
| 96 | 96 | public function __toString()  | 
                                                        
| 97 | 97 |      { | 
                                                        
| 98 | - return $this->leftExpr . ' ' . $this->operator . ' ' . $this->rightExpr;  | 
                                                        |
| 98 | + return $this->leftExpr.' '.$this->operator.' '.$this->rightExpr;  | 
                                                        |
| 99 | 99 | }  | 
                                                        
| 100 | 100 | }  | 
                                                        
@@ -92,16 +92,16 @@  | 
                                                    ||
| 92 | 92 | $leftExpr = (string) $this->leftExpr;  | 
                                                        
| 93 | 93 | |
| 94 | 94 |          if ($this->leftExpr instanceof Math) { | 
                                                        
| 95 | -            $leftExpr = '(' . $leftExpr . ')'; | 
                                                        |
| 95 | +            $leftExpr = '('.$leftExpr.')'; | 
                                                        |
| 96 | 96 | }  | 
                                                        
| 97 | 97 | |
| 98 | 98 | // Adjusting Right Expression  | 
                                                        
| 99 | 99 | $rightExpr = (string) $this->rightExpr;  | 
                                                        
| 100 | 100 | |
| 101 | 101 |          if ($this->rightExpr instanceof Math) { | 
                                                        
| 102 | -            $rightExpr = '(' . $rightExpr . ')'; | 
                                                        |
| 102 | +            $rightExpr = '('.$rightExpr.')'; | 
                                                        |
| 103 | 103 | }  | 
                                                        
| 104 | 104 | |
| 105 | - return $leftExpr . ' ' . $this->operator . ' ' . $rightExpr;  | 
                                                        |
| 105 | + return $leftExpr.' '.$this->operator.' '.$rightExpr;  | 
                                                        |
| 106 | 106 | }  | 
                                                        
| 107 | 107 | }  | 
                                                        
@@ -58,12 +58,12 @@  | 
                                                    ||
| 58 | 58 | $queryPart = (string) $part;  | 
                                                        
| 59 | 59 | |
| 60 | 60 |          if (is_object($part) && $part instanceof self && $part->count() > 1) { | 
                                                        
| 61 | - return $this->preSeparator . $queryPart . $this->postSeparator;  | 
                                                        |
| 61 | + return $this->preSeparator.$queryPart.$this->postSeparator;  | 
                                                        |
| 62 | 62 | }  | 
                                                        
| 63 | 63 | |
| 64 | 64 | // Fixes DDC-1237: User may have added a where item containing nested expression (with "OR" or "AND")  | 
                                                        
| 65 | 65 |          if (stripos($queryPart, ' OR ') !== false || stripos($queryPart, ' AND ') !== false) { | 
                                                        
| 66 | - return $this->preSeparator . $queryPart . $this->postSeparator;  | 
                                                        |
| 66 | + return $this->preSeparator.$queryPart.$this->postSeparator;  | 
                                                        |
| 67 | 67 | }  | 
                                                        
| 68 | 68 | |
| 69 | 69 | return $queryPart;  | 
                                                        
@@ -86,7 +86,7 @@  | 
                                                    ||
| 86 | 86 | */  | 
                                                        
| 87 | 87 | public function __toString()  | 
                                                        
| 88 | 88 |      { | 
                                                        
| 89 | - return $this->from . ' ' . $this->alias .  | 
                                                        |
| 90 | - ($this->indexBy ? ' INDEX BY ' . $this->indexBy : '');  | 
                                                        |
| 89 | + return $this->from.' '.$this->alias.  | 
                                                        |
| 90 | + ($this->indexBy ? ' INDEX BY '.$this->indexBy : '');  | 
                                                        |
| 91 | 91 | }  | 
                                                        
| 92 | 92 | }  | 
                                                        
@@ -52,6 +52,6 @@  | 
                                                    ||
| 52 | 52 | |
| 53 | 53 | $this->identifier = $identifier;  | 
                                                        
| 54 | 54 | $this->entityClass = $entityClass;  | 
                                                        
| 55 | -        $this->hash        = str_replace('\\', '.', strtolower($entityClass) . '_' . implode(' ', $identifier)); | 
                                                        |
| 55 | +        $this->hash        = str_replace('\\', '.', strtolower($entityClass).'_'.implode(' ', $identifier)); | 
                                                        |
| 56 | 56 | }  | 
                                                        
| 57 | 57 | }  | 
                                                        
@@ -40,12 +40,12 @@  | 
                                                    ||
| 40 | 40 | $ids = [];  | 
                                                        
| 41 | 41 | |
| 42 | 42 |          foreach ($id as $key => $value) { | 
                                                        
| 43 | -            $ids[] = $key . '(' . $value . ')'; | 
                                                        |
| 43 | +            $ids[] = $key.'('.$value.')'; | 
                                                        |
| 44 | 44 | }  | 
                                                        
| 45 | 45 | |
| 46 | 46 | |
| 47 | 47 | return new self(  | 
                                                        
| 48 | -            'Entity of type \'' . $className . '\'' . ($ids ? ' for IDs ' . implode(', ', $ids) : '') . ' was not found' | 
                                                        |
| 48 | +            'Entity of type \''.$className.'\''.($ids ? ' for IDs '.implode(', ', $ids) : '').' was not found' | 
                                                        |
| 49 | 49 | );  | 
                                                        
| 50 | 50 | }  | 
                                                        
| 51 | 51 | }  | 
                                                        
@@ -25,13 +25,13 @@  | 
                                                    ||
| 25 | 25 |  $classLoader = new \Doctrine\Common\ClassLoader('Symfony'); | 
                                                        
| 26 | 26 | $classLoader->register();  | 
                                                        
| 27 | 27 | |
| 28 | -$configFile = getcwd() . DIRECTORY_SEPARATOR . 'cli-config.php';  | 
                                                        |
| 28 | +$configFile = getcwd().DIRECTORY_SEPARATOR.'cli-config.php';  | 
                                                        |
| 29 | 29 | |
| 30 | 30 | $helperSet = null;  | 
                                                        
| 31 | 31 |  if (file_exists($configFile)) { | 
                                                        
| 32 | 32 |      if ( ! is_readable($configFile)) { | 
                                                        
| 33 | 33 | trigger_error(  | 
                                                        
| 34 | - 'Configuration file [' . $configFile . '] does not have read permission.', E_USER_ERROR  | 
                                                        |
| 34 | + 'Configuration file ['.$configFile.'] does not have read permission.', E_USER_ERROR  | 
                                                        |
| 35 | 35 | );  | 
                                                        
| 36 | 36 | }  | 
                                                        
| 37 | 37 | |