Completed
Push — master ( 382c63...5355c1 )
by rugk
02:29
created
source/Threema/MsgApi/Commands/SendSimple.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
 	 * @param object $res
60 60
 	 * @return SendSimpleResult
61 61
 	 */
62
-	public function parseResult($httpCode, $res){
62
+	public function parseResult($httpCode, $res) {
63 63
 		return new SendSimpleResult($httpCode, $res);
64 64
 	}
65 65
 }
Please login to merge, or discard this patch.
source/Threema/MsgApi/Commands/DownloadFile.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
 	 * @param object $res
44 44
 	 * @return UploadFileResult
45 45
 	 */
46
-	public function parseResult($httpCode, $res){
46
+	public function parseResult($httpCode, $res) {
47 47
 		return new DownloadFileResult($httpCode, $res);
48 48
 	}
49 49
 }
Please login to merge, or discard this patch.
source/Threema/MsgApi/Commands/FetchPublicKey.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
 	 * @param object $res
43 43
 	 * @return FetchPublicKeyResult
44 44
 	 */
45
-	public function parseResult($httpCode, $res){
45
+	public function parseResult($httpCode, $res) {
46 46
 		return new FetchPublicKeyResult($httpCode, $res);
47 47
 	}
48 48
 }
Please login to merge, or discard this patch.
source/Threema/MsgApi/Commands/UploadFile.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
 	 * @param object $res
50 50
 	 * @return UploadFileResult
51 51
 	 */
52
-	public function parseResult($httpCode, $res){
52
+	public function parseResult($httpCode, $res) {
53 53
 		return new UploadFileResult($httpCode, $res);
54 54
 	}
55 55
 }
Please login to merge, or discard this patch.
source/Threema/MsgApi/Commands/Capability.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
 	 * @param object $res
40 40
 	 * @return CapabilityResult
41 41
 	 */
42
-	public function parseResult($httpCode, $res){
42
+	public function parseResult($httpCode, $res) {
43 43
 		return new CapabilityResult($httpCode, $res);
44 44
 	}
45 45
 }
Please login to merge, or discard this patch.
source/Threema/MsgApi/Commands/Credits.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
 	 * @param object $res
28 28
 	 * @return CreditsResult
29 29
 	 */
30
-	public function parseResult($httpCode, $res){
30
+	public function parseResult($httpCode, $res) {
31 31
 		return new CreditsResult($httpCode, $res);
32 32
 	}
33 33
 }
Please login to merge, or discard this patch.
source/Threema/MsgApi/Commands/SendE2E.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
 	 * @param object $res
77 77
 	 * @return SendE2EResult
78 78
 	 */
79
-	public function parseResult($httpCode, $res){
79
+	public function parseResult($httpCode, $res) {
80 80
 		return new SendE2EResult($httpCode, $res);
81 81
 	}
82 82
 }
Please login to merge, or discard this patch.
scripts/buildPhar.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 <?php
3 3
 // set variables
4 4
 $dir = dirname(__DIR__);
5
-$source = dirname(__DIR__) . '/source';
6
-$file = $dir . '/threema_msgapi.phar';
5
+$source = dirname(__DIR__).'/source';
6
+$file = $dir.'/threema_msgapi.phar';
7 7
 
8 8
 // preparation
9 9
 if (!is_dir($dir)) {
Please login to merge, or discard this patch.
source/Threema/MsgApi/Tools/CryptToolSodiumDep.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@
 block discarded – undo
121 121
 	 * @throws Exception
122 122
 	 */
123 123
 	public function validate() {
124
-		if(false === $this->isSupported()) {
124
+		if (false === $this->isSupported()) {
125 125
 			throw new Exception('Sodium implementation not supported');
126 126
 		}
127 127
 		return true;
Please login to merge, or discard this patch.