Completed
Push — master ( c3f16a...5bade9 )
by Joas
28:33 queued 19s
created
apps/dav/tests/unit/Settings/CalDAVSettingsTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
 			['sendEventRemindersPush', true],
58 58
 		];
59 59
 		$this->initialState->method('provideInitialState')
60
-			->willReturnCallback(function () use (&$calls) {
60
+			->willReturnCallback(function() use (&$calls) {
61 61
 				$expected = array_shift($calls);
62 62
 				$this->assertEquals($expected, func_get_args());
63 63
 			});
Please login to merge, or discard this patch.
apps/dav/tests/unit/SystemTag/SystemTagsObjectTypeCollectionTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -47,12 +47,12 @@
 block discarded – undo
47 47
 		$this->userFolder = $this->createMock(Folder::class);
48 48
 		$userFolder = $this->userFolder;
49 49
 
50
-		$closure = function ($name) use ($userFolder) {
51
-			$node = $userFolder->getFirstNodeById((int)$name);
50
+		$closure = function($name) use ($userFolder) {
51
+			$node = $userFolder->getFirstNodeById((int) $name);
52 52
 			return $node !== null;
53 53
 		};
54
-		$writeAccessClosure = function ($name) use ($userFolder) {
55
-			$nodes = $userFolder->getById((int)$name);
54
+		$writeAccessClosure = function($name) use ($userFolder) {
55
+			$nodes = $userFolder->getById((int) $name);
56 56
 			foreach ($nodes as $node) {
57 57
 				if (($node->getPermissions() & Constants::PERMISSION_UPDATE) === Constants::PERMISSION_UPDATE) {
58 58
 					return true;
Please login to merge, or discard this patch.
apps/dav/tests/unit/Upload/ChunkingPluginTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
 		];
86 86
 		$this->tree->expects($this->exactly(2))
87 87
 			->method('getNodeForPath')
88
-			->willReturnCallback(function (string $path) use (&$calls) {
88
+			->willReturnCallback(function(string $path) use (&$calls) {
89 89
 				$expected = array_shift($calls);
90 90
 				$this->assertSame($expected[0], $path);
91 91
 				if ($expected[1] instanceof \Throwable) {
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
 		];
124 124
 		$this->tree->expects($this->exactly(2))
125 125
 			->method('getNodeForPath')
126
-			->willReturnCallback(function (string $path) use (&$calls) {
126
+			->willReturnCallback(function(string $path) use (&$calls) {
127 127
 				$expected = array_shift($calls);
128 128
 				$this->assertSame($expected[0], $path);
129 129
 				if ($expected[1] instanceof \Throwable) {
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
 		];
171 171
 		$this->tree->expects($this->exactly(2))
172 172
 			->method('getNodeForPath')
173
-			->willReturnCallback(function (string $path) use (&$calls) {
173
+			->willReturnCallback(function(string $path) use (&$calls) {
174 174
 				$expected = array_shift($calls);
175 175
 				$this->assertSame($expected[0], $path);
176 176
 				if ($expected[1] instanceof \Throwable) {
Please login to merge, or discard this patch.