Failed Conditions
Push — master ( fa4d3b...3cef55 )
by Marco
24s queued 18s
created
lib/Doctrine/ORM/Query/Expr/Func.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,6 +73,6 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Query/Expr/Join.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -138,8 +138,8 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -137,9 +137,9 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Query/Expr/Comparison.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,6 +95,6 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Query/Expr/Math.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -92,16 +92,16 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Query/Expr/Composite.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,12 +58,12 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Query/Expr/From.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Cache/EntityCacheKey.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,6 +52,6 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
lib/Doctrine/ORM/EntityNotFoundException.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,12 +40,12 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
bin/doctrine-pear.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,13 +25,13 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.