Completed
Push — master ( 66f018...e4c360 )
by Roman
22:35 queued 16:59
created
src/Button/AbstractButton.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
     protected function setProperty($key, &$options)
75 75
     {
76 76
         if (array_key_exists($key, $options)) {
77
-            $setter = 'set' . ucfirst($key);
77
+            $setter = 'set'.ucfirst($key);
78 78
             if (method_exists($this, $setter)) {
79 79
                 $this->$setter($options[$key]);
80 80
                 unset($options[$key]);
Please login to merge, or discard this patch.
src/Button/CollapseAll.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
  */
15 15
 class CollapseAll extends Simple
16 16
 {
17
-    protected $name ='collapseall';
17
+    protected $name = 'collapseall';
18 18
 
19 19
     protected $title = 'Свернуть все';
20 20
 
Please login to merge, or discard this patch.
src/NavigationBar/Factory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,13 +40,13 @@
 block discarded – undo
40 40
             );
41 41
         }
42 42
         if (array_key_exists('type', $spec) && $spec['type']) {
43
-            $spec['class'] = __NAMESPACE__ . '\\' . ucfirst($spec['type']);
43
+            $spec['class'] = __NAMESPACE__.'\\'.ucfirst($spec['type']);
44 44
         }
45 45
 
46 46
         if (!array_key_exists('class', $spec) || !$spec['class']) {
47 47
             throw new Exception\RuntimeException('Секция навигационного бара существует, но не задан класс');
48 48
         }
49
-        $navigationBarClass =& $spec['class'];
49
+        $navigationBarClass = & $spec['class'];
50 50
         if (!class_exists($navigationBarClass)) {
51 51
             throw new Exception\NavigationBarNotFoundException(sprintf('NavigationBar %s не найден.', $navigationBarClass));
52 52
         }
Please login to merge, or discard this patch.
src/View/Helper/JqGrid/GridButton.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
         $title = $escape($button->getTitle());
32 32
         $html = "<a href='$url' $attributeString>$title</a> ";
33 33
         $js = $button->getJs();
34
-        return ['html' => $html,'js' => $js];
34
+        return ['html' => $html, 'js' => $js];
35 35
     }
36 36
 
37 37
     /**
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
         $escape = $view->plugin('escapeHtml');
46 46
         $res = '';
47 47
         foreach ($attributes as $name=>$value) {
48
-            $res .= $escape($name) . '="'.$escape($value).'" ';
48
+            $res .= $escape($name).'="'.$escape($value).'" ';
49 49
         }
50 50
         return $res;
51 51
     }
Please login to merge, or discard this patch.
src/Mutator/Percent.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
     /**
59 59
      * Выводит данные
60 60
      * @param mixed $value
61
-     * @return mixed
61
+     * @return string
62 62
      */
63 63
     public function change($value)
64 64
     {
Please login to merge, or discard this patch.
src/Adapter/DoctrineDBAL.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -113,8 +113,8 @@  discard block
 block discarded – undo
113 113
         $i = 0;
114 114
         if (count($this->getConditions()) !== 0) {
115 115
             foreach ($this->getConditions() as $condition) {
116
-                $conditionKey = 'NNXGridCondition_' . $i;
117
-                $query->andWhere($condition->getKey() . ' ' . $condition->getCriteria() . ' :' . $conditionKey);
116
+                $conditionKey = 'NNXGridCondition_'.$i;
117
+                $query->andWhere($condition->getKey().' '.$condition->getCriteria().' :'.$conditionKey);
118 118
                 $query->setParameter($conditionKey, $condition->getValue());
119 119
                 $i++;
120 120
             }
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
                 }
142 142
                 $query = clone $query;
143 143
                 $this->setCountQuery($query
144
-                    ->select('COUNT(DISTINCT ' . $this->getRootAlias() . '.id) AS total_results')
144
+                    ->select('COUNT(DISTINCT '.$this->getRootAlias().'.id) AS total_results')
145 145
                     ->resetQueryParts(['groupBy', 'orderBy'])
146 146
                     ->setMaxResults(1)
147 147
                 );
Please login to merge, or discard this patch.
src/Mutator/AddClassToCell.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
             foreach ($this->getCellName() as $cell) {
63 63
                 $cellClass = isset($row[self::ROW_KEY][$cell]) ? $row[self::ROW_KEY][$cell] : [];
64 64
                 $cellClass = array_merge($cellClass, $this->getClassName());
65
-                $row[self::ROW_KEY][$cell]  = $cellClass;
65
+                $row[self::ROW_KEY][$cell] = $cellClass;
66 66
             }
67 67
         }
68 68
         return $row;
Please login to merge, or discard this patch.