Completed
Push — master ( 49a025...016f2f )
by
unknown
60:07 queued 24:26
created
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.
tests/Core/Command/Encryption/EnableTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
 		];
92 92
 		$this->consoleOutput->expects($this->exactly(3))
93 93
 			->method('writeln')
94
-			->willReturnCallback(function (string $message, int $level) use (&$calls): void {
94
+			->willReturnCallback(function(string $message, int $level) use (&$calls): void {
95 95
 				$call = array_shift($calls);
96 96
 				$this->assertStringContainsString($call[0], $message);
97 97
 				$this->assertSame($call[1], $level);
Please login to merge, or discard this patch.
tests/Core/Command/User/SettingTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
 			->willReturnMap($options);
194 194
 		$this->consoleInput->expects($this->any())
195 195
 			->method('hasParameterOption')
196
-			->willReturnCallback(function (string|array $config, bool $default = false) use ($parameterOptions): bool {
196
+			->willReturnCallback(function(string | array $config, bool $default = false) use ($parameterOptions): bool {
197 197
 				foreach ($parameterOptions as $parameterOption) {
198 198
 					if ($config === $parameterOption[0]
199 199
 						// Check the default value if the maps has 3 entries
@@ -414,7 +414,7 @@  discard block
 block discarded – undo
414 414
 			} else {
415 415
 				$this->consoleInput->expects($this->atLeastOnce())
416 416
 					->method('hasParameterOption')
417
-					->willReturnCallback(function (string|array $config, bool $default = false): bool {
417
+					->willReturnCallback(function(string | array $config, bool $default = false): bool {
418 418
 						if ($config === '--default-value' && $default === false) {
419 419
 							return true;
420 420
 						}
Please login to merge, or discard this patch.
tests/Core/Command/Apps/AppsEnableTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
 
54 54
 		$this->commandTester->execute($input);
55 55
 
56
-		$this->assertMatchesRegularExpression('/' . $pattern . '/', $this->commandTester->getDisplay());
56
+		$this->assertMatchesRegularExpression('/'.$pattern.'/', $this->commandTester->getDisplay());
57 57
 		$this->assertSame($statusCode, $this->commandTester->getStatusCode());
58 58
 	}
59 59
 
Please login to merge, or discard this patch.
tests/Core/Command/Log/ManageTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@
 block discarded – undo
157 157
 		];
158 158
 		$this->consoleOutput->expects($this->exactly(3))
159 159
 			->method('writeln')
160
-			->willReturnCallback(function (string $message) use (&$calls): void {
160
+			->willReturnCallback(function(string $message) use (&$calls): void {
161 161
 				$call = array_shift($calls);
162 162
 				$this->assertStringContainsString($call[0], $message);
163 163
 			});
Please login to merge, or discard this patch.
tests/Core/Command/Group/AddUserTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
 
41 41
 		$this->input = $this->createMock(InputInterface::class);
42 42
 		$this->input->method('getArgument')
43
-			->willReturnCallback(function ($arg) {
43
+			->willReturnCallback(function($arg) {
44 44
 				if ($arg === 'group') {
45 45
 					return 'myGroup';
46 46
 				} elseif ($arg === 'user') {
Please login to merge, or discard this patch.