GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — develop ( ed81f3...cf83d8 )
by Gabriel
05:44
created
src/Config/Config.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      */
43 43
     public function __construct(array $array = [], $allowModifications = false)
44 44
     {
45
-        $this->allowModifications = (bool)$allowModifications;
45
+        $this->allowModifications = (bool) $allowModifications;
46 46
 
47 47
         foreach ($array as $key => $value) {
48 48
             $this->setDataItem($key, $value);
Please login to merge, or discard this patch.
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
      * Retrieve a value and return $default if there is no element set.
82 82
      *
83 83
      * @param  string $key
84
-     * @param  mixed $default
84
+     * @param  string $default
85 85
      * @return mixed
86 86
      */
87 87
     public function get($key, $default = null)
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
     }
97 97
 
98 98
     /**
99
-     * @param $key
99
+     * @param string $key
100 100
      * @return mixed|null
101 101
      */
102 102
     public function getByKey($key)
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
     }
121 121
 
122 122
     /**
123
-     * @param $path
123
+     * @param string $path
124 124
      * @return string
125 125
      */
126 126
     protected function getByPath($path)
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
     }
164 164
 
165 165
     /**
166
-     * @param $path
166
+     * @param string $path
167 167
      * @return bool
168 168
      */
169 169
     public function hasByPath($path)
Please login to merge, or discard this patch.
src/form/Model.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
 
25 25
     public function getModelMessage($name, $variables = array())
26 26
     {
27
-        return $this->getModel()->getManager()->getMessage('form.'.$name, $variables);
27
+        return $this->getModel()->getManager()->getMessage('form.' . $name, $variables);
28 28
     }
29 29
 
30 30
     /**
Please login to merge, or discard this patch.
src/form/Decorator/Elements/Abstract.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
         $decorator = $this->generate();
51 51
         switch ($this->_placement) {
52 52
             case self::PREPEND:
53
-                return $decorator . $this->getSeparator() .  $content;
53
+                return $decorator . $this->getSeparator() . $content;
54 54
             case self::APPEND:
55 55
             default:
56 56
                 return $content . $this->getSeparator() . $decorator;
Please login to merge, or discard this patch.
src/form/renderer/Elements/Checkbox.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
2 2
 class Nip_Form_Renderer_Elements_Checkbox extends Nip_Form_Renderer_Elements_Input_Abstract {
3 3
 
4 4
     public function generateElement() {
5
-		if (!$this->getElement()->getValue()) {
6
-			$this->getElement()->setValue('on');
7
-		}
5
+        if (!$this->getElement()->getValue()) {
6
+            $this->getElement()->setValue('on');
7
+        }
8 8
         $this->getElement()->removeClass('form-control');
9 9
         
10 10
         $return = '<div class="checkbox">';
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
         $return = '<div class="checkbox">';
11 11
             $return .= '<label>';
12 12
             $return .= parent::generateElement();
13
-            $return .= ' '. $this->getElement()->getLabel();
13
+            $return .= ' ' . $this->getElement()->getLabel();
14 14
             $return .= '</label>';
15 15
         $return .= '</div>';
16 16
         return $return;
Please login to merge, or discard this patch.
src/form/renderer/Elements/Textarea.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
     public function generateElement() {
5 5
         $return = '<textarea ';
6 6
         $return .= $this->renderAttributes();
7
-        $return .= ' >'. $this->getElement()->getValue() .'</textarea>';
7
+        $return .= ' >' . $this->getElement()->getValue() . '</textarea>';
8 8
         return $return;
9 9
     }
10 10
 
Please login to merge, or discard this patch.
src/form/renderer/Elements/Select.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
     public function generateElement() {        
5 5
         $return = '<select ';
6 6
         $return .= $this->renderAttributes();
7
-        $return .= ' >'. $this->renderOptions() .'</select>';
7
+        $return .= ' >' . $this->renderOptions() . '</select>';
8 8
         return $return;
9 9
     }
10 10
 
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
 
25 25
                 $atribs['value'] = $value;
26 26
                 $selectedValue = $this->getElement()->getValue();
27
-                if ($selectedValue === 0 OR $value=== 0) {
27
+                if ($selectedValue === 0 OR $value === 0) {
28 28
                     if ($value === $selectedValue) {
29 29
                         $atribs['selected'] = 'selected';
30 30
                     }
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
                 foreach ($atribs as $name=>$value) {
36 36
                     $return .= ' ' . $name . '="' . $value . '"';
37 37
                 }
38
-                $return .= '>'.$label.'</option>';
38
+                $return .= '>' . $label . '</option>';
39 39
             }
40 40
         }
41 41
         return $return;
Please login to merge, or discard this patch.
src/form/renderer/Elements/Abstract.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
     
7 7
     /**
8 8
      * @return Nip_Form_Renderer_Abstract
9
-    */
9
+     */
10 10
     public function getRenderer() {
11 11
         return $this->_renderer;
12 12
     }
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
     }
43 43
 
44 44
     public function renderElement() {
45
-        $return =  $this->renderDecorators($this->generateElement(), 'element');
45
+        $return = $this->renderDecorators($this->generateElement(), 'element');
46 46
         $this->getElement()->setRendered(true);
47 47
         return $return;
48 48
     }
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
         if ($this->getElement()->isError() && $this->getElement()->getForm()->getOption('renderElementErrors') !== false) {
69 69
             $errors = $this->getElement()->getErrors();
70 70
             $errors_string = implode('<br />', $errors);            
71
-            $return .= '<span class="help-inline">' . $errors_string .'</span>';
71
+            $return .= '<span class="help-inline">' . $errors_string . '</span>';
72 72
         }
73 73
         return $return;
74 74
     }
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
                     $value = $overrides[$name];
87 87
                 }
88 88
                 if ($name == "name" && $this->getElement()->isGroup()) {
89
-                    $value = $value."[]";
89
+                    $value = $value . "[]";
90 90
                 }
91 91
                 $return .= ' ' . $name . '="' . $value . '"';
92 92
             }
Please login to merge, or discard this patch.
src/form/renderer/Elements/Timeselect.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,8 +8,8 @@
 block discarded – undo
8 8
         foreach ($elements as $key=>$element) {
9 9
             $element->addClass('form-control');                 
10 10
             $returnElements[] = 
11
-                    '<div class="col-xs-4" style="max-width: 100px;">'.
12
-                        $element->render().
11
+                    '<div class="col-xs-4" style="max-width: 100px;">' .
12
+                        $element->render() .
13 13
                     '</div>';
14 14
         }
15 15
         
Please login to merge, or discard this patch.
src/form/renderer/Abstract.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
         $return = '<form ';
74 74
         $atributes = $this->getForm()->getAttribs();
75 75
         foreach ($atributes as $name => $value) {
76
-            $return .= $name.'="'.$value.'" ';
76
+            $return .= $name . '="' . $value . '" ';
77 77
         }
78 78
         $return .= '>';
79 79
 
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
         if ($buttons) {
141 141
             $return .= '<div class="form-actions">';
142 142
             foreach ($buttons as $button) {
143
-                $return .= $button->render()."\n";
143
+                $return .= $button->render() . "\n";
144 144
             }
145 145
             $return .= '    <div class="clear"></div>';
146 146
             $return .= '</div>';
@@ -165,8 +165,8 @@  discard block
 block discarded – undo
165 165
             $error = $element->isError();
166 166
         }
167 167
 
168
-        $return = '<label class="col-sm-3 '.($error ? ' error' : '').'">';
169
-        $return .= $label.':';
168
+        $return = '<label class="col-sm-3 ' . ($error ? ' error' : '') . '">';
169
+        $return .= $label . ':';
170 170
 
171 171
         if ($required) {
172 172
             $return .= '<span class="required">*</span>';
@@ -190,7 +190,7 @@  discard block
 block discarded – undo
190 190
     protected function getNewElementRenderer(Nip_Form_Element_Abstract $element)
191 191
     {
192 192
         $type = $element->getType();
193
-        $name = 'Nip_Form_Renderer_Elements_'.ucfirst($type);
193
+        $name = 'Nip_Form_Renderer_Elements_' . ucfirst($type);
194 194
         $renderer = new $name();
195 195
         $renderer->setRenderer($this);
196 196
         $renderer->setElement($element);
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
     protected function getNewButtonRenderer(Nip_Form_Button_Abstract $button)
212 212
     {
213 213
         $type = $button->getType();
214
-        $name = 'Nip_Form_Renderer_Button_'.ucfirst($type);
214
+        $name = 'Nip_Form_Renderer_Button_' . ucfirst($type);
215 215
         $renderer = new $name();
216 216
         $renderer->setRenderer($this);
217 217
         $renderer->setItem($button);
Please login to merge, or discard this patch.