Test Failed
Push — master ( 647c72...cd42b5 )
by
unknown
10:25
created
plugins/passwd/php/class.passwdmodule.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -140,8 +140,7 @@
 block discarded – undo
140 140
 
141 141
 			if ($result === false) {
142 142
 				$errorMessage = _('Error changing password. Please contact the system administrator.');
143
-			}
144
-			else {
143
+			} else {
145 144
 				$this->sendFeedback(true, array(
146 145
 						'info' => array(
147 146
 							'display_message' => _('Password has been changed successfully.')
Please login to merge, or discard this patch.
plugins/files/php/plugin.files.php 1 patch
Switch Indentation   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -52,31 +52,31 @@
 block discarded – undo
52 52
 				break;
53 53
 			case 'server.index.load.custom':
54 54
 				switch($data['name']) {
55
-				case 'files_get_recipients':
56
-					RecipientHandler::doGetRecipients();
57
-					break;
58
-				case 'download_file':
59
-					DownloadHandler::doDownload();
60
-					break;
61
-				case 'upload_file':
62
-					UploadHandler::doUpload();
63
-					break;
64
-				case 'form':
65
-					if (isset($_GET['backend'])) {
66
-						$backend = urldecode($_GET["backend"]);
67
-					} else {
68
-						$backend = '';
69
-					}
70
-					$backendstore = Files\Backend\BackendStore::getInstance();
55
+				    case 'files_get_recipients':
56
+					    RecipientHandler::doGetRecipients();
57
+					    break;
58
+				    case 'download_file':
59
+					    DownloadHandler::doDownload();
60
+					    break;
61
+				    case 'upload_file':
62
+					    UploadHandler::doUpload();
63
+					    break;
64
+				    case 'form':
65
+					    if (isset($_GET['backend'])) {
66
+						    $backend = urldecode($_GET["backend"]);
67
+					    } else {
68
+						    $backend = '';
69
+					    }
70
+					    $backendstore = Files\Backend\BackendStore::getInstance();
71 71
 
72
-					if ($backendstore->backendExists($backend)) {
73
-						$backendInstance = $backendstore->getInstanceOfBackend($backend);
74
-						$formdata = $backendInstance->getFormConfig();
75
-						die($formdata);
76
-					} else {
77
-						die("Specified backend does not exist!");
78
-					}
79
-					break;
72
+					    if ($backendstore->backendExists($backend)) {
73
+						    $backendInstance = $backendstore->getInstanceOfBackend($backend);
74
+						    $formdata = $backendInstance->getFormConfig();
75
+						    die($formdata);
76
+					    } else {
77
+						    die("Specified backend does not exist!");
78
+					    }
79
+					    break;
80 80
 			}
81 81
 			break;
82 82
 		}
Please login to merge, or discard this patch.
plugins/files/php/modules/class.hierarchylistmodule.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,8 +47,7 @@
 block discarded – undo
47 47
 					}
48 48
 				} catch (MAPIException $e) {
49 49
 					$this->sendFeedback(false, $this->errorDetailsFromException($e));
50
-				}
51
-				catch (AccountException $e) {
50
+				} catch (AccountException $e) {
52 51
 					$this->sendFeedback(false, array(
53 52
 						'type' => ERROR_GENERAL,
54 53
 						'info' => array(
Please login to merge, or discard this patch.
plugins/files/php/lib/phpfastcache/lib/Phpfastcache/Autoload/Autoload.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
 
67 67
         if(\strpos($entity, PFC_TESTS_NS) === 0){
68 68
             $path = PFC_TESTS_DIR . \str_replace(str_replace('\\', '/', PFC_TESTS_NS), '', $entityPath) . '.' . PFC_PHP_EXT;
69
-        }else{
69
+        } else{
70 70
             $path = PFC_LIB_DIR . $entityPath . '.' . PFC_PHP_EXT;
71 71
         }
72 72
 
Please login to merge, or discard this patch.
plugins/files/php/lib/phpfastcache/lib/Phpfastcache/Util/Directory.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -110,8 +110,7 @@
 block discarded – undo
110 110
                 } elseif (unlink($realpath) === false) {
111 111
                     return false;
112 112
                 }
113
-            }
114
-            else{
113
+            } else{
115 114
                 return false;
116 115
             }
117 116
         }
Please login to merge, or discard this patch.
php/lib/phpfastcache/lib/Phpfastcache/Util/ClassNamespaceResolverTrait.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
                                 break;
107 107
                             }
108 108
                         }
109
-                    }else{
109
+                    } else{
110 110
                         while (isset($tokens[++$i][1])) {
111 111
                             if (\in_array($tokens[$i][0], [T_STRING, T_NS_SEPARATOR], true)) {
112 112
                                 $namespace .= $tokens[$i][1];
Please login to merge, or discard this patch.
files/php/lib/phpfastcache/lib/Phpfastcache/Core/Pool/IO/IOHelperTrait.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
 
67 67
         if($this->getConfig()->isUseStaticItemCaching()){
68 68
             $stat->setData(implode(', ', \array_keys($this->itemInstances)));
69
-        }else{
69
+        } else{
70 70
             $stat->setData('No data available since static item caching option (useStaticItemCaching) is disabled.');
71 71
         }
72 72
 
Please login to merge, or discard this patch.
php/lib/phpfastcache/lib/Phpfastcache/Core/Pool/CacheItemPoolTrait.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -227,7 +227,7 @@
 block discarded – undo
227 227
                         $item->expiresAfter(abs((int)$this->getConfig()['defaultTtl']));
228 228
                     }
229 229
                 }
230
-            }else{
230
+            } else{
231 231
                 $item = $this->itemInstances[$key];
232 232
             }
233 233
 
Please login to merge, or discard this patch.
files/php/lib/phpfastcache/lib/Phpfastcache/Drivers/Files/Driver.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
 
79 79
         try{
80 80
             $content = $this->readFile($file_path);
81
-        }catch (PhpfastcacheIOException $e){
81
+        } catch (PhpfastcacheIOException $e){
82 82
             return null;
83 83
         }
84 84
 
Please login to merge, or discard this patch.