Test Failed
Branch master (bfd46a)
by Mike
10:35 queued 01:43
created
tests/grommunio-dav/GrommunioDavBackendTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -62,10 +62,10 @@
 block discarded – undo
62 62
 	 */
63 63
 	public function ObjectUriProvider() {
64 64
 		return [
65
-			['1234.ics', '.ics', '1234'],               // ok, cut .ics
66
-			['5678AF.vcf', '.vcf', '5678AF'],           // ok, cut .vcf
67
-			['123400.vcf', '.ics', '123400.vcf'],       // different extension, return as is
68
-			['1234.ics', '.vcf', '1234.ics'],            // different extension, return as is
65
+			['1234.ics', '.ics', '1234'], // ok, cut .ics
66
+			['5678AF.vcf', '.vcf', '5678AF'], // ok, cut .vcf
67
+			['123400.vcf', '.ics', '123400.vcf'], // different extension, return as is
68
+			['1234.ics', '.vcf', '1234.ics'], // different extension, return as is
69 69
 		];
70 70
 	}
71 71
 }
Please login to merge, or discard this patch.
lib/GrommunioDavBackend.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
 		// TODO limit the output to subfolders of the principalUri?
118 118
 
119 119
 		$rootfolder = mapi_msgstore_openentry($this->GetStore($principalUri));
120
-		$hierarchy = mapi_folder_gethierarchytable($rootfolder, CONVENIENT_DEPTH | MAPI_DEFERRED_ERRORS);
120
+		$hierarchy = mapi_folder_gethierarchytable($rootfolder, CONVENIENT_DEPTH|MAPI_DEFERRED_ERRORS);
121 121
 		// TODO also filter hidden folders
122 122
 		$restrictions = [];
123 123
 		foreach ($classes as $class) {
@@ -653,7 +653,7 @@  discard block
 block discarded – undo
653 653
 					],
654 654
 				], // EXISTS OR
655 655
 			],
656
-		];        // global OR
656
+		]; // global OR
657 657
 	}
658 658
 
659 659
 	/**
@@ -699,7 +699,7 @@  discard block
 block discarded – undo
699 699
 		// the config. If there are more changes than MAX_SYNC_ITEMS the client will eventually catch up and sync
700 700
 		// the rest on the subsequent sync request(s).
701 701
 		$bufferSize = ($limit !== null && $limit > 0) ? $limit : MAX_SYNC_ITEMS;
702
-		mapi_exportchanges_config($exporter, $stream, SYNC_NORMAL | SYNC_UNICODE, $mapiimporter, null, false, false, $bufferSize);
702
+		mapi_exportchanges_config($exporter, $stream, SYNC_NORMAL|SYNC_UNICODE, $mapiimporter, null, false, false, $bufferSize);
703 703
 		$changesCount = mapi_exportchanges_getchangecount($exporter);
704 704
 		$this->logger->debug("Exporter found %d changes, buffer size for mapi_exportchanges_synchronize %d", $changesCount, $bufferSize);
705 705
 		while ((is_array(mapi_exportchanges_synchronize($exporter)))) {
Please login to merge, or discard this patch.