Passed
Branch main (49ed5d)
by Peter
06:32 queued 03:34
created
src/Http/Middleware/EnvironmentWarning.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
      */
58 58
     protected function getWarningHtml(string $environmentName): string
59 59
     {
60
-        $styles  = [
60
+        $styles = [
61 61
             'color'       => 'white',
62 62
             'line-height' => '1em',
63 63
             'font-weight' => 'bold',
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
             $this->translator->translate('admin:environment', $environmentName)
69 69
         );
70 70
 
71
-        $styles  = [
71
+        $styles = [
72 72
             'position'   => 'fixed',
73 73
             'bottom'     => '10px',
74 74
             'right'      => '10px',
Please login to merge, or discard this patch.
src/Navigation/UserBlock.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
         array $attributes = [],
50 50
         ?string $tag = null
51 51
     ) {
52
-        $this->session      = $session;
52
+        $this->session = $session;
53 53
 
54 54
         if (!$this->session->has(Session::USERNAME)) {
55 55
             throw new \LogicException('session must be set');
Please login to merge, or discard this patch.
src/Form/Element/Textarea.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
             $attributes[Html5::ATTR_ROWS] = static::DEFAULT_ROW;
45 45
         }
46 46
 
47
-        $attributes[Html5::ATTR_NAME]  = $name;
47
+        $attributes[Html5::ATTR_NAME] = $name;
48 48
 
49 49
         parent::__construct(null, $intents, $attributes, $tag);
50 50
 
Please login to merge, or discard this patch.
src/Grid/Row/Row.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 namespace AbterPhp\Framework\Grid\Row;
6 6
 
7 7
 use AbterPhp\Framework\Constant\Html5;
8
-use AbterPhp\Framework\Grid\Action\IAction;  // @phan-suppress-current-line PhanUnreferencedUseNormal
8
+use AbterPhp\Framework\Grid\Action\IAction; // @phan-suppress-current-line PhanUnreferencedUseNormal
9 9
 use AbterPhp\Framework\Grid\Cell\Cell;
10 10
 use AbterPhp\Framework\Grid\Collection\Cells;
11 11
 use AbterPhp\Framework\Grid\Component\Actions;
Please login to merge, or discard this patch.
src/Form/Label/Countable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
     ) {
52 52
         parent::__construct($inputId, $content, $intents, $attributes, $tag);
53 53
 
54
-        $attributes    = [
54
+        $attributes = [
55 55
             static::ATTR_DATA_COUNT => $size,
56 56
             Html5::ATTR_CLASS       => static::CLASS_COUNT,
57 57
         ];
Please login to merge, or discard this patch.
tests/Grid/Component/HeaderTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
                 '/foo?',
129 129
                 '/foo?sort-A-input=1&sort-B-input=-1&'
130 130
             ],
131
-        ]   ;
131
+        ];
132 132
     }
133 133
 
134 134
     /**
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
             ['A' => 'A-input', 'B' => 'B-input'],
145 145
             ['A' => 'a_field', 'b' => 'b_field'],
146 146
             ['a' => 'A', 'b' => 'B']
147
-        )  ;
147
+        );
148 148
 
149 149
         $sut->setParams($params);
150 150
 
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
             ['A' => 'A-input', 'B' => 'B-input'],
189 189
             ['A' => 'a_field', 'B' => 'b_field'],
190 190
             ['a' => 'A', 'b' => 'B']
191
-        )  ;
191
+        );
192 192
 
193 193
         $sut->setParams($params);
194 194
 
Please login to merge, or discard this patch.
tests/Html/TagTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
 
110 110
     public function testUnsetAttributeValueWorksIfAttributeIsSetButValueIsNot()
111 111
     {
112
-        $key   = 'foo';
112
+        $key = 'foo';
113 113
         $value1 = 'bar';
114 114
         $value2 = 'baz';
115 115
 
Please login to merge, or discard this patch.
tests/Template/CacheManagerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
                 CacheData::PAYLOAD_KEY_SUBTEMPLATES => $cacheData->getSubTemplates(),
99 99
             ]
100 100
         );
101
-        $key     = sprintf(CacheManager::CACHE_KEY_TEMPLATES, $cacheId);
101
+        $key = sprintf(CacheManager::CACHE_KEY_TEMPLATES, $cacheId);
102 102
 
103 103
         $this->cacheBridgeMock->expects($this->once())->method('set')->with($key, $payload, PHP_INT_MAX);
104 104
         $this->cacheBridgeMock->expects($this->once())->method('has')->with($key);
Please login to merge, or discard this patch.
tests/Navigation/ItemTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
 
118 118
     public function testGetRoleGetsLastSetResource()
119 119
     {
120
-        $content  = 'foo';
120
+        $content = 'foo';
121 121
         $role = 'bar';
122 122
 
123 123
         $sut = $this->createNode($content);
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
 
132 132
     public function testDisabledItemCastsToEmptyString()
133 133
     {
134
-        $content  = 'foo';
134
+        $content = 'foo';
135 135
         $sut = $this->createNode($content);
136 136
 
137 137
         $sut->disable();
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
 
142 142
     public function testEnableCanRevertDisabling()
143 143
     {
144
-        $content  = 'foo';
144
+        $content = 'foo';
145 145
         $sut = $this->createNode($content);
146 146
 
147 147
         $sut->disable();
Please login to merge, or discard this patch.