@@ -57,7 +57,7 @@ discard block |
||
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 |
||
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', |
@@ -98,7 +98,7 @@ |
||
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); |
@@ -131,7 +131,7 @@ discard block |
||
131 | 131 | '/foo?', |
132 | 132 | '/foo?sort-A-input=1&sort-B-input=-1&', |
133 | 133 | ], |
134 | - ] ; |
|
134 | + ]; |
|
135 | 135 | } |
136 | 136 | |
137 | 137 | /** |
@@ -147,7 +147,7 @@ discard block |
||
147 | 147 | ['A' => 'A-input', 'B' => 'B-input'], |
148 | 148 | ['A' => 'a_field', 'b' => 'b_field'], |
149 | 149 | ['a' => 'A', 'b' => 'B'] |
150 | - ) ; |
|
150 | + ); |
|
151 | 151 | |
152 | 152 | $sut->setParams($params); |
153 | 153 | |
@@ -191,7 +191,7 @@ discard block |
||
191 | 191 | ['A' => 'A-input', 'B' => 'B-input'], |
192 | 192 | ['A' => 'a_field', 'B' => 'b_field'], |
193 | 193 | ['a' => 'A', 'b' => 'B'] |
194 | - ) ; |
|
194 | + ); |
|
195 | 195 | |
196 | 196 | $sut->setParams($params); |
197 | 197 |
@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | |
21 | 21 | public function testDoExecuteCallsAllDefaultSubCommands(): void |
22 | 22 | { |
23 | - $responseMock = $this |
|
23 | + $responseMock = $this |
|
24 | 24 | ->getMockBuilder(IResponse::class) |
25 | 25 | ->disableOriginalConstructor() |
26 | 26 | ->getMock(); |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | |
37 | 37 | public function testDoExecuteCallsExtraSubCommands(): void |
38 | 38 | { |
39 | - $responseMock = $this |
|
39 | + $responseMock = $this |
|
40 | 40 | ->getMockBuilder(IResponse::class) |
41 | 41 | ->disableOriginalConstructor() |
42 | 42 | ->getMock(); |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | { |
57 | 57 | $ex = new \Exception(); |
58 | 58 | |
59 | - $responseMock = $this |
|
59 | + $responseMock = $this |
|
60 | 60 | ->getMockBuilder(IResponse::class) |
61 | 61 | ->disableOriginalConstructor() |
62 | 62 | ->getMock(); |
@@ -25,7 +25,7 @@ |
||
25 | 25 | return [ |
26 | 26 | 'simple' => ['abc', 'ABC', false, null, null, null, "<option value=\"abc\">ABC</option>"], |
27 | 27 | 'attributes' => ['abc', 'ABC', false, $attribs, null, null, "<option$str value=\"abc\">ABC</option>"], |
28 | - 'w/o translations' => ['abc', 'ABC', false, null, [], null, "<option value=\"abc\">ABC</option>",], |
|
28 | + 'w/o translations' => ['abc', 'ABC', false, null, [], null, "<option value=\"abc\">ABC</option>", ], |
|
29 | 29 | 'custom tag' => ['abc', 'ABC', false, null, null, 'foo', "<foo value=\"abc\">ABC</foo>"], |
30 | 30 | 'w translations' => ['abc', 'ABC', false, null, ['ABC' => '+'], null, "<option value=\"abc\">+</option>"], |
31 | 31 | ]; |
@@ -25,7 +25,7 @@ |
||
25 | 25 | null, |
26 | 26 | "<button foo=\"foo baz\" bar=\"bar baz\">Button</button>", |
27 | 27 | ], |
28 | - 'missing translations' => ['Button', [], null, [], null, "<button>Button</button>",], |
|
28 | + 'missing translations' => ['Button', [], null, [], null, "<button>Button</button>", ], |
|
29 | 29 | 'custom tag' => ['Button', [], null, null, 'mybutton', "<mybutton>Button</mybutton>"], |
30 | 30 | 'with translations' => ['Button', [], null, ['Button' => 'Gomb'], null, "<button>Gomb</button>"], |
31 | 31 | ]; |
@@ -29,7 +29,7 @@ |
||
29 | 29 | |
30 | 30 | return [ |
31 | 31 | 'simple' => [$text, $icon, [], null, null, null, "<button>$iconStr $textStr</button>"], |
32 | - 'with attributes' => [$text, $icon, [], $attr, null, null, "<button$str>$iconStr $textStr</button>",], |
|
32 | + 'with attributes' => [$text, $icon, [], $attr, null, null, "<button$str>$iconStr $textStr</button>", ], |
|
33 | 33 | 'missing translations' => [$text, $icon, [], null, [], null, "<button>$iconStr $textStr</button>"], |
34 | 34 | 'custom tag' => [$text, $icon, [], null, null, 'mytag', "<mytag>$iconStr $textStr</mytag>"], |
35 | 35 | 'with translations' => [ |
@@ -35,11 +35,11 @@ |
||
35 | 35 | |
36 | 36 | return [ |
37 | 37 | 'simple' => ['Button', null, [], null, null, "<button>Button</button>"], |
38 | - 'with attributes' => ['Button', $attributes, [], null, null, "<button$str>Button</button>",], |
|
38 | + 'with attributes' => ['Button', $attributes, [], null, null, "<button$str>Button</button>", ], |
|
39 | 39 | 'missing translations' => ['Button', null, [], [], null, "<button>Button</button>"], |
40 | 40 | 'custom tag' => ['Button', null, [], null, 'mybutton', "<mybutton>Button</mybutton>"], |
41 | 41 | 'with translations' => ['Button', null, [], ['Button' => 'Gomb'], null, "<button>Gomb</button>"], |
42 | - 'with callbacks' => ['Button', $attributes, $callbacks, null, null, "<button$str>Button</button>",], |
|
42 | + 'with callbacks' => ['Button', $attributes, $callbacks, null, null, "<button$str>Button</button>", ], |
|
43 | 43 | ]; |
44 | 44 | } |
45 | 45 |
@@ -22,8 +22,8 @@ |
||
22 | 22 | |
23 | 23 | return [ |
24 | 24 | 'simple' => ['ABC', 'a', '', '', null, null, null, "<th>ABC <a></a></th>"], |
25 | - 'with attributes' => ['ABC', 'a', '', '', $attribs, null, null, "<th$str>ABC <a></a></th>",], |
|
26 | - 'missing translations' => ['ABC', 'a', '', '', null, [], null, "<th>ABC <a></a></th>",], |
|
25 | + 'with attributes' => ['ABC', 'a', '', '', $attribs, null, null, "<th$str>ABC <a></a></th>", ], |
|
26 | + 'missing translations' => ['ABC', 'a', '', '', null, [], null, "<th>ABC <a></a></th>", ], |
|
27 | 27 | 'custom tag' => ['ABC', 'a', '', '', null, null, 'myth', "<myth>ABC <a></a></myth>"], |
28 | 28 | 'with translations' => ['ABC', 'a', '', '', null, ['ABC' => 'CBA'], null, "<th>CBA <a></a></th>"], |
29 | 29 | ]; |