Completed
Push — master ( 47b46d...809bbe )
by
unknown
28:10
created
tests/Core/Controller/CssControllerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@
 block discarded – undo
145 145
 
146 146
 		$folder->method('getFile')
147 147
 			->willReturnCallback(
148
-				function ($fileName) use ($file) {
148
+				function($fileName) use ($file) {
149 149
 					if ($fileName === 'file.css') {
150 150
 						return $file;
151 151
 					}
Please login to merge, or discard this patch.
tests/Core/Controller/UserControllerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
 
39 39
 		$this->userManager
40 40
 			->method('get')
41
-			->willReturnCallback(function ($uid) use ($user) {
41
+			->willReturnCallback(function($uid) use ($user) {
42 42
 				if ($uid === 'foo') {
43 43
 					return $user;
44 44
 				}
Please login to merge, or discard this patch.
tests/Core/Controller/JsControllerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@
 block discarded – undo
145 145
 
146 146
 		$folder->method('getFile')
147 147
 			->willReturnCallback(
148
-				function ($fileName) use ($file) {
148
+				function($fileName) use ($file) {
149 149
 					if ($fileName === 'file.js') {
150 150
 						return $file;
151 151
 					}
Please login to merge, or discard this patch.
tests/Core/Controller/AppPasswordControllerTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
 		$this->random->method('generate')
129 129
 			->with(
130 130
 				72,
131
-				ISecureRandom::CHAR_UPPER . ISecureRandom::CHAR_LOWER . ISecureRandom::CHAR_DIGITS
131
+				ISecureRandom::CHAR_UPPER.ISecureRandom::CHAR_LOWER.ISecureRandom::CHAR_DIGITS
132 132
 			)->willReturn('myToken');
133 133
 
134 134
 		$this->tokenProvider->expects($this->once())
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
 		$this->random->method('generate')
170 170
 			->with(
171 171
 				72,
172
-				ISecureRandom::CHAR_UPPER . ISecureRandom::CHAR_LOWER . ISecureRandom::CHAR_DIGITS
172
+				ISecureRandom::CHAR_UPPER.ISecureRandom::CHAR_LOWER.ISecureRandom::CHAR_DIGITS
173 173
 			)->willReturn('myToken');
174 174
 
175 175
 		$this->tokenProvider->expects($this->once())
Please login to merge, or discard this patch.
tests/Core/Command/Maintenance/ModeTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@
 block discarded – undo
137 137
 
138 138
 		$this->input->expects($this->any())
139 139
 			->method('getOption')
140
-			->willReturnCallback(function ($callOption) use ($option) {
140
+			->willReturnCallback(function($callOption) use ($option) {
141 141
 				return $callOption === $option;
142 142
 			});
143 143
 
Please login to merge, or discard this patch.
tests/Core/Command/SystemTag/ListCommandTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
 			)->willReturn([$tag1, $tag2, $tag3]);
61 61
 
62 62
 		$this->input->method('getOption')
63
-			->willReturnCallback(function ($arg) {
63
+			->willReturnCallback(function($arg) {
64 64
 				if ($arg === 'visibilityFilter') {
65 65
 					return null;
66 66
 				} elseif ($arg === 'nameSearchPattern') {
Please login to merge, or discard this patch.
tests/Core/Command/Preview/CleanupTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 			->willReturn($appDataFolder);
60 60
 
61 61
 		$this->output->expects($this->exactly(3))->method('writeln')
62
-			->with(self::callback(function (string $message): bool {
62
+			->with(self::callback(function(string $message): bool {
63 63
 				static $i = 0;
64 64
 				return match (++$i) {
65 65
 					1 => $message === 'Preview folder deleted',
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
 			->willReturn($appDataFolder);
162 162
 
163 163
 		$this->output->expects($this->exactly(2))->method('writeln')
164
-			->with(self::callback(function (string $message): bool {
164
+			->with(self::callback(function(string $message): bool {
165 165
 				static $i = 0;
166 166
 				return match (++$i) {
167 167
 					1 => $message === 'Preview folder deleted',
Please login to merge, or discard this patch.
tests/Core/Command/Config/ListConfigsTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -306,9 +306,9 @@
 block discarded – undo
306 306
 		$output = '';
307 307
 		$this->consoleOutput->expects($this->any())
308 308
 			->method('writeln')
309
-			->willReturnCallback(function ($value) {
309
+			->willReturnCallback(function($value) {
310 310
 				global $output;
311
-				$output .= $value . "\n";
311
+				$output .= $value."\n";
312 312
 				return $output;
313 313
 			});
314 314
 
Please login to merge, or discard this patch.
tests/Core/Command/Config/System/GetConfigTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
 			->method('hasParameterOption')
134 134
 			->willReturnMap([
135 135
 				['--output', false, true],
136
-				['--default-value', false,$hasDefault],
136
+				['--default-value', false, $hasDefault],
137 137
 			]);
138 138
 
139 139
 		if ($expectedMessage !== null) {
@@ -142,9 +142,9 @@  discard block
 block discarded – undo
142 142
 			$output = '';
143 143
 			$this->consoleOutput->expects($this->any())
144 144
 				->method('writeln')
145
-				->willReturnCallback(function ($value) {
145
+				->willReturnCallback(function($value) {
146 146
 					global $output;
147
-					$output .= $value . "\n";
147
+					$output .= $value."\n";
148 148
 					return $output;
149 149
 				});
150 150
 		}
Please login to merge, or discard this patch.