Passed
Push — master ( 32f79c...03cdff )
by Roeland
10:27 queued 11s
created
apps/dav/lib/Controller/InvitationResponseController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
 		$stmt = $query->execute();
168 168
 		$row = $stmt->fetch(\PDO::FETCH_ASSOC);
169 169
 
170
-		if(!$row) {
170
+		if (!$row) {
171 171
 			return null;
172 172
 		}
173 173
 
@@ -186,8 +186,8 @@  discard block
 block discarded – undo
186 186
 	 * @param string|null $comment
187 187
 	 * @return Message
188 188
 	 */
189
-	private function buildITipResponse(array $row, string $partStat, int $guests=null,
190
-									   string $comment=null):Message {
189
+	private function buildITipResponse(array $row, string $partStat, int $guests = null,
190
+									   string $comment = null):Message {
191 191
 		$iTipMessage = new Message();
192 192
 		$iTipMessage->uid = $row['uid'];
193 193
 		$iTipMessage->component = 'VEVENT';
Please login to merge, or discard this patch.
apps/dav/lib/CalDAV/InvitationResponse/InvitationResponseServer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
 	 * InvitationResponseServer constructor.
41 41
 	 */
42 42
 	public function __construct() {
43
-		$baseUri = \OC::$WEBROOT . '/remote.php/dav/';
43
+		$baseUri = \OC::$WEBROOT.'/remote.php/dav/';
44 44
 		$logger = \OC::$server->getLogger();
45 45
 		$dispatcher = \OC::$server->getEventDispatcher();
46 46
 
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
 		));
92 92
 
93 93
 		// wait with registering these until auth is handled and the filesystem is setup
94
-		$this->server->on('beforeMethod', function () use ($root) {
94
+		$this->server->on('beforeMethod', function() use ($root) {
95 95
 			// register plugins from apps
96 96
 			$pluginManager = new PluginManager(
97 97
 				\OC::$server,
Please login to merge, or discard this patch.
apps/dav/templates/schedule-response-options.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
 			<input type="text" name="comment" placeholder="Comment" />
30 30
 		</fieldset>
31 31
 		<fieldset>
32
-			<input type="submit" value="<?php p($l->t('Save'));?>">
32
+			<input type="submit" value="<?php p($l->t('Save')); ?>">
33 33
 		</fieldset>
34 34
 	</form>
35 35
 </div>
Please login to merge, or discard this patch.
apps/dav/templates/schedule-response-error.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <div class="update">
2
-	<p class="message"><?php p($l->t('There was an error updating your attendance status.'));?></p>
3
-	<p class="message"><?php p($l->t('Please contact the organizer directly.'));?></p>
4
-	<?php if(isset($_['organizer'])): ?>
2
+	<p class="message"><?php p($l->t('There was an error updating your attendance status.')); ?></p>
3
+	<p class="message"><?php p($l->t('Please contact the organizer directly.')); ?></p>
4
+	<?php if (isset($_['organizer'])): ?>
5 5
 		<p class="message"><a href="<?php p($_['organizer']) ?>"><?php p(substr($_['organizer'], 7)) ?></a></p>
6 6
 	<?php endif; ?>
7 7
 </div>
Please login to merge, or discard this patch.
apps/dav/templates/schedule-response-success.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1 1
 <div class="update" style="justify-content: space-around; display: flex;">
2 2
 	<span class="icon icon-checkmark-white"></span>
3
-	<p class="message"><?php p($l->t('Your attendance was updated successfully.'));?></p>
3
+	<p class="message"><?php p($l->t('Your attendance was updated successfully.')); ?></p>
4 4
 </div>
Please login to merge, or discard this patch.
lib/public/IL10N.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
107 107
 	 * @return string language
108 108
 	 * @since 7.0.0
109 109
 	 */
110
-	public function getLanguageCode(): string ;
110
+	public function getLanguageCode(): string;
111 111
 
112 112
 	/**
113 113
 	 * * The code (en_US, fr_CA, ...) of the locale that is used for this IL10N object
Please login to merge, or discard this patch.
apps/dav/appinfo/app.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
 		$job = $app->getContainer()->query(\OCA\DAV\BackgroundJob\UpdateCalendarResourcesRoomsBackgroundJob::class);
54 54
 		$job->run([]);
55 55
 		$app->getContainer()->getServer()->getJobList()->setLastRun($job);
56
-	} catch(\Exception $ex) {
56
+	} catch (\Exception $ex) {
57 57
 		$app->getContainer()->getServer()->getLogger()->logException($ex);
58 58
 	}
59 59
 };
Please login to merge, or discard this patch.
apps/dav/lib/Server.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
 		$authPlugin->addBackend($authBackend);
121 121
 
122 122
 		// debugging
123
-		if(\OC::$server->getConfig()->getSystemValue('debug', false)) {
123
+		if (\OC::$server->getConfig()->getSystemValue('debug', false)) {
124 124
 			$this->server->addPlugin(new \Sabre\DAV\Browser\Plugin());
125 125
 		} else {
126 126
 			$this->server->addPlugin(new DummyGetResponsePlugin());
@@ -184,10 +184,10 @@  discard block
 block discarded – undo
184 184
 
185 185
 		// Some WebDAV clients do require Class 2 WebDAV support (locking), since
186 186
 		// we do not provide locking we emulate it using a fake locking plugin.
187
-		if($request->isUserAgent([
187
+		if ($request->isUserAgent([
188 188
 			'/WebDAVFS/',
189 189
 			'/OneNote/',
190
-			'/^Microsoft-WebDAV/',// Microsoft-WebDAV-MiniRedir/6.1.7601
190
+			'/^Microsoft-WebDAV/', // Microsoft-WebDAV-MiniRedir/6.1.7601
191 191
 		])) {
192 192
 			$this->server->addPlugin(new FakeLockerPlugin());
193 193
 		}
@@ -200,7 +200,7 @@  discard block
 block discarded – undo
200 200
 		$this->server->addPlugin(new SearchPlugin($lazySearchBackend));
201 201
 
202 202
 		// wait with registering these until auth is handled and the filesystem is setup
203
-		$this->server->on('beforeMethod', function () use ($root, $lazySearchBackend) {
203
+		$this->server->on('beforeMethod', function() use ($root, $lazySearchBackend) {
204 204
 			// custom properties plugin must be the last one
205 205
 			$userSession = \OC::$server->getUserSession();
206 206
 			$user = $userSession->getUser();
Please login to merge, or discard this patch.
core/Migrations/Version14000Date20180626223656.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
 	public function changeSchema(\OCP\Migration\IOutput $output, \Closure $schemaClosure, array $options) {
32 32
 		/** @var ISchemaWrapper $schema */
33 33
 		$schema = $schemaClosure();
34
-		if(!$schema->hasTable('whats_new')) {
34
+		if (!$schema->hasTable('whats_new')) {
35 35
 			$table = $schema->createTable('whats_new');
36 36
 			$table->addColumn('id', 'integer', [
37 37
 				'autoincrement' => true,
Please login to merge, or discard this patch.