Test Failed
Branch master (2f190b)
by Mike
11:47
created
files/php/lib/phpfastcache/lib/Phpfastcache/Drivers/Couchbasev3/Item.php 2 patches
Indentation   +23 added lines, -23 removed lines patch added patch discarded remove patch
@@ -27,30 +27,30 @@
 block discarded – undo
27 27
  */
28 28
 class Item extends CoubaseV2Item
29 29
 {
30
-    /**
31
-     * Item constructor.
32
-     * @param Driver $driver
33
-     * @param $key
34
-     * @throws PhpfastcacheInvalidArgumentException
35
-     */
36
-    public function __construct(CouchbaseDriver $driver, $key)
37
-    {
38
-        parent::__construct($driver, $key);
39
-    }
30
+	/**
31
+	 * Item constructor.
32
+	 * @param Driver $driver
33
+	 * @param $key
34
+	 * @throws PhpfastcacheInvalidArgumentException
35
+	 */
36
+	public function __construct(CouchbaseDriver $driver, $key)
37
+	{
38
+		parent::__construct($driver, $key);
39
+	}
40 40
 
41
-    /**
42
-     * @param ExtendedCacheItemPoolInterface $driver
43
-     * @return static
44
-     * @throws PhpfastcacheInvalidArgumentException
45
-     */
46
-    public function setDriver(ExtendedCacheItemPoolInterface $driver)
47
-    {
48
-        if ($driver instanceof CouchbaseDriver) {
49
-            $this->driver = $driver;
41
+	/**
42
+	 * @param ExtendedCacheItemPoolInterface $driver
43
+	 * @return static
44
+	 * @throws PhpfastcacheInvalidArgumentException
45
+	 */
46
+	public function setDriver(ExtendedCacheItemPoolInterface $driver)
47
+	{
48
+		if ($driver instanceof CouchbaseDriver) {
49
+			$this->driver = $driver;
50 50
 
51
-            return $this;
52
-        }
51
+			return $this;
52
+		}
53 53
 
54
-        throw new PhpfastcacheInvalidArgumentException('Invalid driver instance');
55
-    }
54
+		throw new PhpfastcacheInvalidArgumentException('Invalid driver instance');
55
+	}
56 56
 }
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -33,8 +33,7 @@  discard block
 block discarded – undo
33 33
      * @param $key
34 34
      * @throws PhpfastcacheInvalidArgumentException
35 35
      */
36
-    public function __construct(CouchbaseDriver $driver, $key)
37
-    {
36
+    public function __construct(CouchbaseDriver $driver, $key) {
38 37
         parent::__construct($driver, $key);
39 38
     }
40 39
 
@@ -43,8 +42,7 @@  discard block
 block discarded – undo
43 42
      * @return static
44 43
      * @throws PhpfastcacheInvalidArgumentException
45 44
      */
46
-    public function setDriver(ExtendedCacheItemPoolInterface $driver)
47
-    {
45
+    public function setDriver(ExtendedCacheItemPoolInterface $driver) {
48 46
         if ($driver instanceof CouchbaseDriver) {
49 47
             $this->driver = $driver;
50 48
 
Please login to merge, or discard this patch.
files/php/lib/phpfastcache/lib/Phpfastcache/Drivers/Memcache/Item.php 2 patches
Indentation   +30 added lines, -30 removed lines patch added patch discarded remove patch
@@ -27,34 +27,34 @@
 block discarded – undo
27 27
  */
28 28
 class Item implements ExtendedCacheItemInterface
29 29
 {
30
-    use ItemBaseTrait {
31
-        ItemBaseTrait::__construct as __BaseConstruct;
32
-    }
33
-
34
-    /**
35
-     * Item constructor.
36
-     * @param Driver $driver
37
-     * @param $key
38
-     * @throws PhpfastcacheInvalidArgumentException
39
-     */
40
-    public function __construct(MemcacheDriver $driver, $key)
41
-    {
42
-        $this->__BaseConstruct($driver, $key);
43
-    }
44
-
45
-    /**
46
-     * @param ExtendedCacheItemPoolInterface $driver
47
-     * @return static
48
-     * @throws PhpfastcacheInvalidArgumentException
49
-     */
50
-    public function setDriver(ExtendedCacheItemPoolInterface $driver)
51
-    {
52
-        if ($driver instanceof MemcacheDriver) {
53
-            $this->driver = $driver;
54
-
55
-            return $this;
56
-        }
57
-
58
-        throw new PhpfastcacheInvalidArgumentException('Invalid driver instance');
59
-    }
30
+	use ItemBaseTrait {
31
+		ItemBaseTrait::__construct as __BaseConstruct;
32
+	}
33
+
34
+	/**
35
+	 * Item constructor.
36
+	 * @param Driver $driver
37
+	 * @param $key
38
+	 * @throws PhpfastcacheInvalidArgumentException
39
+	 */
40
+	public function __construct(MemcacheDriver $driver, $key)
41
+	{
42
+		$this->__BaseConstruct($driver, $key);
43
+	}
44
+
45
+	/**
46
+	 * @param ExtendedCacheItemPoolInterface $driver
47
+	 * @return static
48
+	 * @throws PhpfastcacheInvalidArgumentException
49
+	 */
50
+	public function setDriver(ExtendedCacheItemPoolInterface $driver)
51
+	{
52
+		if ($driver instanceof MemcacheDriver) {
53
+			$this->driver = $driver;
54
+
55
+			return $this;
56
+		}
57
+
58
+		throw new PhpfastcacheInvalidArgumentException('Invalid driver instance');
59
+	}
60 60
 }
61 61
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -37,8 +37,7 @@  discard block
 block discarded – undo
37 37
      * @param $key
38 38
      * @throws PhpfastcacheInvalidArgumentException
39 39
      */
40
-    public function __construct(MemcacheDriver $driver, $key)
41
-    {
40
+    public function __construct(MemcacheDriver $driver, $key) {
42 41
         $this->__BaseConstruct($driver, $key);
43 42
     }
44 43
 
@@ -47,8 +46,7 @@  discard block
 block discarded – undo
47 46
      * @return static
48 47
      * @throws PhpfastcacheInvalidArgumentException
49 48
      */
50
-    public function setDriver(ExtendedCacheItemPoolInterface $driver)
51
-    {
49
+    public function setDriver(ExtendedCacheItemPoolInterface $driver) {
52 50
         if ($driver instanceof MemcacheDriver) {
53 51
             $this->driver = $driver;
54 52
 
Please login to merge, or discard this patch.
files/php/lib/phpfastcache/lib/Phpfastcache/Drivers/Devfalse/Item.php 2 patches
Indentation   +30 added lines, -30 removed lines patch added patch discarded remove patch
@@ -28,34 +28,34 @@
 block discarded – undo
28 28
  */
29 29
 class Item implements ExtendedCacheItemInterface
30 30
 {
31
-    use ItemBaseTrait {
32
-        ItemBaseTrait::__construct as __BaseConstruct;
33
-    }
34
-
35
-    /**
36
-     * Item constructor.
37
-     * @param Driver $driver
38
-     * @param $key
39
-     * @throws PhpfastcacheInvalidArgumentException
40
-     */
41
-    public function __construct(DevfalseDriver $driver, $key)
42
-    {
43
-        $this->__BaseConstruct($driver, $key);
44
-    }
45
-
46
-    /**
47
-     * @param ExtendedCacheItemPoolInterface $driver
48
-     * @return static
49
-     * @throws PhpfastcacheInvalidArgumentException
50
-     */
51
-    public function setDriver(ExtendedCacheItemPoolInterface $driver)
52
-    {
53
-        if ($driver instanceof DevfalseDriver) {
54
-            $this->driver = $driver;
55
-
56
-            return $this;
57
-        }
58
-
59
-        throw new PhpfastcacheInvalidArgumentException('Invalid driver instance');
60
-    }
31
+	use ItemBaseTrait {
32
+		ItemBaseTrait::__construct as __BaseConstruct;
33
+	}
34
+
35
+	/**
36
+	 * Item constructor.
37
+	 * @param Driver $driver
38
+	 * @param $key
39
+	 * @throws PhpfastcacheInvalidArgumentException
40
+	 */
41
+	public function __construct(DevfalseDriver $driver, $key)
42
+	{
43
+		$this->__BaseConstruct($driver, $key);
44
+	}
45
+
46
+	/**
47
+	 * @param ExtendedCacheItemPoolInterface $driver
48
+	 * @return static
49
+	 * @throws PhpfastcacheInvalidArgumentException
50
+	 */
51
+	public function setDriver(ExtendedCacheItemPoolInterface $driver)
52
+	{
53
+		if ($driver instanceof DevfalseDriver) {
54
+			$this->driver = $driver;
55
+
56
+			return $this;
57
+		}
58
+
59
+		throw new PhpfastcacheInvalidArgumentException('Invalid driver instance');
60
+	}
61 61
 }
62 62
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -38,8 +38,7 @@  discard block
 block discarded – undo
38 38
      * @param $key
39 39
      * @throws PhpfastcacheInvalidArgumentException
40 40
      */
41
-    public function __construct(DevfalseDriver $driver, $key)
42
-    {
41
+    public function __construct(DevfalseDriver $driver, $key) {
43 42
         $this->__BaseConstruct($driver, $key);
44 43
     }
45 44
 
@@ -48,8 +47,7 @@  discard block
 block discarded – undo
48 47
      * @return static
49 48
      * @throws PhpfastcacheInvalidArgumentException
50 49
      */
51
-    public function setDriver(ExtendedCacheItemPoolInterface $driver)
52
-    {
50
+    public function setDriver(ExtendedCacheItemPoolInterface $driver) {
53 51
         if ($driver instanceof DevfalseDriver) {
54 52
             $this->driver = $driver;
55 53
 
Please login to merge, or discard this patch.
files/php/lib/phpfastcache/lib/Phpfastcache/Drivers/Devfalse/Driver.php 1 patch
Indentation   +87 added lines, -87 removed lines patch added patch discarded remove patch
@@ -31,96 +31,96 @@
 block discarded – undo
31 31
  */
32 32
 class Driver implements ExtendedCacheItemPoolInterface
33 33
 {
34
-    use DriverBaseTrait;
35
-
36
-    /**
37
-     * @return bool
38
-     */
39
-    public function driverCheck(): bool
40
-    {
41
-        return true;
42
-    }
43
-
44
-    /**
45
-     * @return DriverStatistic
46
-     */
47
-    public function getStats(): DriverStatistic
48
-    {
49
-        $stat = new DriverStatistic();
50
-        $stat->setInfo('[Devfalse] A void info string')
51
-            ->setSize(0)
52
-            ->setData(implode(', ', array_keys($this->itemInstances)))
53
-            ->setRawData(false);
54
-
55
-        return $stat;
56
-    }
57
-
58
-    /**
59
-     * @param CacheItemInterface $item
60
-     * @return bool
61
-     * @throws PhpfastcacheInvalidArgumentException
62
-     */
63
-    protected function driverWrite(CacheItemInterface $item): bool
64
-    {
65
-        /**
66
-         * Check for Cross-Driver type confusion
67
-         */
68
-        if ($item instanceof Item) {
69
-            return true;
70
-        }
71
-
72
-        throw new PhpfastcacheInvalidArgumentException('Cross-Driver type confusion detected');
73
-    }
74
-
75
-    /**
76
-     * @param CacheItemInterface $item
77
-     * @return array
78
-     */
79
-    protected function driverRead(CacheItemInterface $item): array
80
-    {
81
-        return [
82
-            self::DRIVER_DATA_WRAPPER_INDEX => false,
83
-            self::DRIVER_TAGS_WRAPPER_INDEX => [],
84
-            self::DRIVER_EDATE_WRAPPER_INDEX => new DateTime(),
85
-        ];
86
-    }
87
-
88
-    /**
89
-     * @param CacheItemInterface $item
90
-     * @return bool
91
-     * @throws PhpfastcacheInvalidArgumentException
92
-     */
93
-    protected function driverDelete(CacheItemInterface $item): bool
94
-    {
95
-        /**
96
-         * Check for Cross-Driver type confusion
97
-         */
98
-        if ($item instanceof Item) {
99
-            return true;
100
-        }
101
-
102
-        throw new PhpfastcacheInvalidArgumentException('Cross-Driver type confusion detected');
103
-    }
104
-
105
-    /**
106
-     * @return bool
107
-     */
108
-    protected function driverClear(): bool
109
-    {
110
-        return true;
111
-    }
112
-
113
-    /********************
34
+	use DriverBaseTrait;
35
+
36
+	/**
37
+	 * @return bool
38
+	 */
39
+	public function driverCheck(): bool
40
+	{
41
+		return true;
42
+	}
43
+
44
+	/**
45
+	 * @return DriverStatistic
46
+	 */
47
+	public function getStats(): DriverStatistic
48
+	{
49
+		$stat = new DriverStatistic();
50
+		$stat->setInfo('[Devfalse] A void info string')
51
+			->setSize(0)
52
+			->setData(implode(', ', array_keys($this->itemInstances)))
53
+			->setRawData(false);
54
+
55
+		return $stat;
56
+	}
57
+
58
+	/**
59
+	 * @param CacheItemInterface $item
60
+	 * @return bool
61
+	 * @throws PhpfastcacheInvalidArgumentException
62
+	 */
63
+	protected function driverWrite(CacheItemInterface $item): bool
64
+	{
65
+		/**
66
+		 * Check for Cross-Driver type confusion
67
+		 */
68
+		if ($item instanceof Item) {
69
+			return true;
70
+		}
71
+
72
+		throw new PhpfastcacheInvalidArgumentException('Cross-Driver type confusion detected');
73
+	}
74
+
75
+	/**
76
+	 * @param CacheItemInterface $item
77
+	 * @return array
78
+	 */
79
+	protected function driverRead(CacheItemInterface $item): array
80
+	{
81
+		return [
82
+			self::DRIVER_DATA_WRAPPER_INDEX => false,
83
+			self::DRIVER_TAGS_WRAPPER_INDEX => [],
84
+			self::DRIVER_EDATE_WRAPPER_INDEX => new DateTime(),
85
+		];
86
+	}
87
+
88
+	/**
89
+	 * @param CacheItemInterface $item
90
+	 * @return bool
91
+	 * @throws PhpfastcacheInvalidArgumentException
92
+	 */
93
+	protected function driverDelete(CacheItemInterface $item): bool
94
+	{
95
+		/**
96
+		 * Check for Cross-Driver type confusion
97
+		 */
98
+		if ($item instanceof Item) {
99
+			return true;
100
+		}
101
+
102
+		throw new PhpfastcacheInvalidArgumentException('Cross-Driver type confusion detected');
103
+	}
104
+
105
+	/**
106
+	 * @return bool
107
+	 */
108
+	protected function driverClear(): bool
109
+	{
110
+		return true;
111
+	}
112
+
113
+	/********************
114 114
      *
115 115
      * PSR-6 Extended Methods
116 116
      *
117 117
      *******************/
118 118
 
119
-    /**
120
-     * @return bool
121
-     */
122
-    protected function driverConnect(): bool
123
-    {
124
-        return true;
125
-    }
119
+	/**
120
+	 * @return bool
121
+	 */
122
+	protected function driverConnect(): bool
123
+	{
124
+		return true;
125
+	}
126 126
 }
127 127
\ No newline at end of file
Please login to merge, or discard this patch.
plugins/files/php/lib/phpfastcache/lib/Phpfastcache/Drivers/Apcu/Item.php 2 patches
Indentation   +30 added lines, -30 removed lines patch added patch discarded remove patch
@@ -27,34 +27,34 @@
 block discarded – undo
27 27
  */
28 28
 class Item implements ExtendedCacheItemInterface
29 29
 {
30
-    use ItemBaseTrait {
31
-        ItemBaseTrait::__construct as __BaseConstruct;
32
-    }
33
-
34
-    /**
35
-     * Item constructor.
36
-     * @param Driver $driver
37
-     * @param $key
38
-     * @throws PhpfastcacheInvalidArgumentException
39
-     */
40
-    public function __construct(ApcuDriver $driver, $key)
41
-    {
42
-        $this->__BaseConstruct($driver, $key);
43
-    }
44
-
45
-    /**
46
-     * @param ExtendedCacheItemPoolInterface $driver
47
-     * @return static
48
-     * @throws PhpfastcacheInvalidArgumentException
49
-     */
50
-    public function setDriver(ExtendedCacheItemPoolInterface $driver)
51
-    {
52
-        if ($driver instanceof ApcuDriver) {
53
-            $this->driver = $driver;
54
-
55
-            return $this;
56
-        }
57
-
58
-        throw new PhpfastcacheInvalidArgumentException('Invalid driver instance');
59
-    }
30
+	use ItemBaseTrait {
31
+		ItemBaseTrait::__construct as __BaseConstruct;
32
+	}
33
+
34
+	/**
35
+	 * Item constructor.
36
+	 * @param Driver $driver
37
+	 * @param $key
38
+	 * @throws PhpfastcacheInvalidArgumentException
39
+	 */
40
+	public function __construct(ApcuDriver $driver, $key)
41
+	{
42
+		$this->__BaseConstruct($driver, $key);
43
+	}
44
+
45
+	/**
46
+	 * @param ExtendedCacheItemPoolInterface $driver
47
+	 * @return static
48
+	 * @throws PhpfastcacheInvalidArgumentException
49
+	 */
50
+	public function setDriver(ExtendedCacheItemPoolInterface $driver)
51
+	{
52
+		if ($driver instanceof ApcuDriver) {
53
+			$this->driver = $driver;
54
+
55
+			return $this;
56
+		}
57
+
58
+		throw new PhpfastcacheInvalidArgumentException('Invalid driver instance');
59
+	}
60 60
 }
61 61
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -37,8 +37,7 @@  discard block
 block discarded – undo
37 37
      * @param $key
38 38
      * @throws PhpfastcacheInvalidArgumentException
39 39
      */
40
-    public function __construct(ApcuDriver $driver, $key)
41
-    {
40
+    public function __construct(ApcuDriver $driver, $key) {
42 41
         $this->__BaseConstruct($driver, $key);
43 42
     }
44 43
 
@@ -47,8 +46,7 @@  discard block
 block discarded – undo
47 46
      * @return static
48 47
      * @throws PhpfastcacheInvalidArgumentException
49 48
      */
50
-    public function setDriver(ExtendedCacheItemPoolInterface $driver)
51
-    {
49
+    public function setDriver(ExtendedCacheItemPoolInterface $driver) {
52 50
         if ($driver instanceof ApcuDriver) {
53 51
             $this->driver = $driver;
54 52
 
Please login to merge, or discard this patch.
files/php/lib/phpfastcache/lib/Phpfastcache/Drivers/Zendshm/Item.php 2 patches
Indentation   +30 added lines, -30 removed lines patch added patch discarded remove patch
@@ -26,34 +26,34 @@
 block discarded – undo
26 26
  */
27 27
 class Item implements ExtendedCacheItemInterface
28 28
 {
29
-    use ItemBaseTrait {
30
-        ItemBaseTrait::__construct as __BaseConstruct;
31
-    }
32
-
33
-    /**
34
-     * Item constructor.
35
-     * @param Driver $driver
36
-     * @param $key
37
-     * @throws PhpfastcacheInvalidArgumentException
38
-     */
39
-    public function __construct(ZendSHMDriver $driver, $key)
40
-    {
41
-        $this->__BaseConstruct($driver, $key);
42
-    }
43
-
44
-    /**
45
-     * @param ExtendedCacheItemPoolInterface $driver
46
-     * @return static
47
-     * @throws PhpfastcacheInvalidArgumentException
48
-     */
49
-    public function setDriver(ExtendedCacheItemPoolInterface $driver)
50
-    {
51
-        if ($driver instanceof ZendSHMDriver) {
52
-            $this->driver = $driver;
53
-
54
-            return $this;
55
-        }
56
-
57
-        throw new PhpfastcacheInvalidArgumentException('Invalid driver instance');
58
-    }
29
+	use ItemBaseTrait {
30
+		ItemBaseTrait::__construct as __BaseConstruct;
31
+	}
32
+
33
+	/**
34
+	 * Item constructor.
35
+	 * @param Driver $driver
36
+	 * @param $key
37
+	 * @throws PhpfastcacheInvalidArgumentException
38
+	 */
39
+	public function __construct(ZendSHMDriver $driver, $key)
40
+	{
41
+		$this->__BaseConstruct($driver, $key);
42
+	}
43
+
44
+	/**
45
+	 * @param ExtendedCacheItemPoolInterface $driver
46
+	 * @return static
47
+	 * @throws PhpfastcacheInvalidArgumentException
48
+	 */
49
+	public function setDriver(ExtendedCacheItemPoolInterface $driver)
50
+	{
51
+		if ($driver instanceof ZendSHMDriver) {
52
+			$this->driver = $driver;
53
+
54
+			return $this;
55
+		}
56
+
57
+		throw new PhpfastcacheInvalidArgumentException('Invalid driver instance');
58
+	}
59 59
 }
60 60
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -36,8 +36,7 @@  discard block
 block discarded – undo
36 36
      * @param $key
37 37
      * @throws PhpfastcacheInvalidArgumentException
38 38
      */
39
-    public function __construct(ZendSHMDriver $driver, $key)
40
-    {
39
+    public function __construct(ZendSHMDriver $driver, $key) {
41 40
         $this->__BaseConstruct($driver, $key);
42 41
     }
43 42
 
@@ -46,8 +45,7 @@  discard block
 block discarded – undo
46 45
      * @return static
47 46
      * @throws PhpfastcacheInvalidArgumentException
48 47
      */
49
-    public function setDriver(ExtendedCacheItemPoolInterface $driver)
50
-    {
48
+    public function setDriver(ExtendedCacheItemPoolInterface $driver) {
51 49
         if ($driver instanceof ZendSHMDriver) {
52 50
             $this->driver = $driver;
53 51
 
Please login to merge, or discard this patch.
plugins/mdm/php/class.pluginmdmmodule.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
 		if ($stateFolder) {
36 36
 			$store = $GLOBALS["mapisession"]->getDefaultMessageStore();
37 37
 			$username = $GLOBALS["mapisession"]->getUserName();
38
-			$hierarchyTable = mapi_folder_gethierarchytable($stateFolder, CONVENIENT_DEPTH | MAPI_DEFERRED_ERRORS);
38
+			$hierarchyTable = mapi_folder_gethierarchytable($stateFolder, CONVENIENT_DEPTH|MAPI_DEFERRED_ERRORS);
39 39
 			$rows = mapi_table_queryallrows($hierarchyTable, [PR_ENTRYID, PR_DISPLAY_NAME]);
40 40
 			foreach ($rows as $row) {
41 41
 				$deviceStateFolder = mapi_msgstore_openentry($store, $row[PR_ENTRYID]);
@@ -897,7 +897,7 @@  discard block
 block discarded – undo
897 897
 		if (!$this->stateFolder) {
898 898
 			$store = $GLOBALS["mapisession"]->getDefaultMessageStore();
899 899
 			$rootFolder = mapi_msgstore_openentry($store);
900
-			$hierarchy = mapi_folder_gethierarchytable($rootFolder, CONVENIENT_DEPTH | MAPI_DEFERRED_ERRORS);
900
+			$hierarchy = mapi_folder_gethierarchytable($rootFolder, CONVENIENT_DEPTH|MAPI_DEFERRED_ERRORS);
901 901
 			$restriction = $this->getStateFolderRestriction(PLUGIN_MDM_STORE_STATE_FOLDER);
902 902
 			mapi_table_restrict($hierarchy, $restriction);
903 903
 			if (mapi_table_getrowcount($hierarchy) == 1) {
Please login to merge, or discard this patch.
plugins/smime/php/util.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
 			$restrict,
56 56
 			[RES_CONTENT,
57 57
 				[
58
-					FUZZYLEVEL => FL_FULLSTRING | FL_IGNORECASE,
58
+					FUZZYLEVEL => FL_FULLSTRING|FL_IGNORECASE,
59 59
 					ULPROPTAG => PR_SUBJECT,
60 60
 					VALUE => [PR_SUBJECT => $emailAddress],
61 61
 				],
Please login to merge, or discard this patch.
plugins/smime/php/plugin.smime.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -454,7 +454,7 @@  discard block
 block discarded – undo
454 454
 		}
455 455
 
456 456
 		if (!encryptionStoreExpirationSupport()) {
457
-			withPHPSession(function () use ($encryptionStore) {
457
+			withPHPSession(function() use ($encryptionStore) {
458 458
 				$encryptionStore->add('smime', '');
459 459
 			});
460 460
 		}
@@ -678,7 +678,7 @@  discard block
 block discarded – undo
678 678
 			}
679 679
 
680 680
 			// Save the signed message as attachment of the send email
681
-			$stream = mapi_openproperty($signedAttach, PR_ATTACH_DATA_BIN, IID_IStream, 0, MAPI_CREATE | MAPI_MODIFY);
681
+			$stream = mapi_openproperty($signedAttach, PR_ATTACH_DATA_BIN, IID_IStream, 0, MAPI_CREATE|MAPI_MODIFY);
682 682
 			$handle = fopen($tmpSendSmimeEmail, 'r');
683 683
 			while (!feof($handle)) {
684 684
 				$contents = fread($handle, BLOCK_SIZE);
@@ -1003,7 +1003,7 @@  discard block
 block discarded – undo
1003 1003
 			]);
1004 1004
 			// Save attachment
1005 1005
 			$msgBody = base64_encode($cert);
1006
-			$stream = mapi_openproperty($assocMessage, PR_BODY, IID_IStream, 0, MAPI_CREATE | MAPI_MODIFY);
1006
+			$stream = mapi_openproperty($assocMessage, PR_BODY, IID_IStream, 0, MAPI_CREATE|MAPI_MODIFY);
1007 1007
 			mapi_stream_setsize($stream, strlen($msgBody));
1008 1008
 			mapi_stream_write($stream, $msgBody);
1009 1009
 			mapi_stream_commit($stream);
Please login to merge, or discard this patch.