Completed
Branch develop (ec25b8)
by
unknown
19:29
created
htdocs/projet/class/project.class.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -126,8 +126,8 @@
 block discarded – undo
126 126
 	public $usage_bill_time; // Is the time spent on project must be invoiced or not
127 127
 
128 128
 	/**
129
-	   * @var integer		Event organization: Use Event Organization
130
-	   */
129
+	 * @var integer		Event organization: Use Event Organization
130
+	 */
131 131
 	public $usage_organize_event;
132 132
 
133 133
 	/**
Please login to merge, or discard this patch.
htdocs/reception/card.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -916,7 +916,7 @@
 block discarded – undo
916 916
 			/**
917 917
 			 * @var array $suffix2numAsked map HTTP query parameter suffixes (like '1_0') to line indices so that
918 918
 			 *                             extrafields from HTTP query can be assigned to the correct dispatch line
919
-			*/
919
+			 */
920 920
 			$suffix2numAsked = array();
921 921
 			$dispatchLines = array();
922 922
 
Please login to merge, or discard this patch.
htdocs/product/stock/class/api_stockmovements.class.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@
 block discarded – undo
156 156
 	 * $price Can be set to update AWP (Average Weighted Price) when you make a stock increase
157 157
 	 * $dlc Eat-by date. Will be used if lot does not exists yet and will be created.
158 158
 	 * $dluo Sell-by date. Will be used if lot does not exists yet and will be created.
159
-		 *
159
+	 *
160 160
 	 * @param int $product_id Id product id {@min 1} {@from body} {@required true}
161 161
 	 * @param int $warehouse_id Id warehouse {@min 1} {@from body} {@required true}
162 162
 	 * @param float $qty Qty to add (Use negative value for a stock decrease) {@from body} {@required true}
Please login to merge, or discard this patch.
dev/tools/test/namespacemig/bbb.class.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,9 +25,11 @@
 block discarded – undo
25 25
 	 *
26 26
 	 * @return void
27 27
 	 */
28
-	public function do()
28
+	public function do {
29
+		()
29 30
 	{
30 31
 		global $globalaaa, $globalbbb;
32
+	}
31 33
 		echo 'dobbb'."\n";
32 34
 		$globalaaa.='+bbb';
33 35
 		$globalbbb.='+bbb';
Please login to merge, or discard this patch.
dev/tools/test/namespacemig/aaa.class.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,8 +27,10 @@
 block discarded – undo
27 27
 	 *
28 28
 	 * @return void
29 29
 	 */
30
-	public function do()
30
+	public function do {
31
+		()
31 32
 	{
32 33
 		echo 'doaaa'."\n";
33 34
 	}
35
+	}
34 36
 }
Please login to merge, or discard this patch.
htdocs/accountancy/class/accountancyexport.class.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -2387,14 +2387,14 @@
 block discarded – undo
2387 2387
 	}
2388 2388
 
2389 2389
 	/**
2390
-	* Export format : iSuite Expert
2391
-	*
2392
-	* by OpenSolus [https://opensolus.fr]
2393
-	*
2390
+	 * Export format : iSuite Expert
2391
+	 *
2392
+	 * by OpenSolus [https://opensolus.fr]
2393
+	 *
2394 2394
 	 * @param 	array 		$objectLines 			data
2395 2395
 	 * @param 	resource	$exportFile				[=null] File resource to export or print if null
2396 2396
 	 * @return 	void
2397
-	*/
2397
+	 */
2398 2398
 	public function exportiSuiteExpert($objectLines, $exportFile = null)
2399 2399
 	{
2400 2400
 		$separator = ';';
Please login to merge, or discard this patch.
htdocs/includes/odtphp/zip/PclZipProxy.php 2 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -21,11 +21,11 @@
 block discarded – undo
21 21
 	protected $openned = false;
22 22
 	protected $filename;
23 23
 	protected $pclzip;
24
-    /**
25
-     * Class constructor
26
-     *
27
-     * @throws PclZipProxyException
28
-     */
24
+	/**
25
+	 * Class constructor
26
+	 *
27
+	 * @throws PclZipProxyException
28
+	 */
29 29
 	public function __construct($forcedir='')
30 30
 	{
31 31
 		if (! class_exists('PclZip')) {
Please login to merge, or discard this patch.
Braces   +7 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,7 @@  discard block
 block discarded – undo
1 1
 <?php
2
-if (! defined('ODTPHP_PATHTOPCLZIP')) define('ODTPHP_PATHTOPCLZIP','pclzip/');
2
+if (! defined('ODTPHP_PATHTOPCLZIP')) {
3
+	define('ODTPHP_PATHTOPCLZIP','pclzip/');
4
+}
3 5
 require_once ODTPHP_PATHTOPCLZIP.'pclzip.lib.php';
4 6
 require_once 'ZipInterface.php';
5 7
 class PclZipProxyException extends Exception
@@ -32,7 +34,10 @@  discard block
 block discarded – undo
32 34
 			throw new PclZipProxyException('PclZip class not loaded - PclZip library
33 35
 			 is required for using PclZipProxy'); ;
34 36
 		}
35
-		if ($forcedir) $this->tmpdir=preg_replace('|[//\/]$|','',$forcedir);	// $this->tmpdir must not contains / at the end
37
+		if ($forcedir) {
38
+			$this->tmpdir=preg_replace('|[//\/]$|','',$forcedir);
39
+		}
40
+		// $this->tmpdir must not contains / at the end
36 41
 	}
37 42
 
38 43
 	/**
Please login to merge, or discard this patch.
htdocs/includes/odtphp/zip/PhpZipProxy.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -17,11 +17,11 @@
 block discarded – undo
17 17
 {
18 18
 	protected $zipArchive;
19 19
 	protected $filename;
20
-    /**
21
-     * Class constructor
22
-     *
23
-     * @throws PhpZipProxyException
24
-     */	
20
+	/**
21
+	 * Class constructor
22
+	 *
23
+	 * @throws PhpZipProxyException
24
+	 */	
25 25
 	public function __construct()
26 26
 	{
27 27
 		if (! class_exists('ZipArchive')) {
Please login to merge, or discard this patch.
htdocs/includes/odtphp/SegmentIterator.php 1 patch
Indentation   +36 added lines, -36 removed lines patch added patch discarded remove patch
@@ -10,41 +10,41 @@
 block discarded – undo
10 10
  */
11 11
 class SegmentIterator implements RecursiveIterator
12 12
 {
13
-    private $ref;
14
-    private $key;
15
-    public function __construct(array $ref)
16
-    {
17
-        $this->ref = $ref;
18
-        $this->key = 0;
19
-        $this->keys = array_keys($this->ref);
20
-    }
21
-    public function hasChildren()
22
-    {
23
-        return $this->valid() && $this->current() instanceof Segment;
24
-    }
25
-    public function current()
26
-    {
27
-        return $this->ref[$this->keys[$this->key]];
28
-    }
29
-    function getChildren()
30
-    {
31
-        return new self($this->current()->children);
32
-    }
33
-    public function key()
34
-    {
35
-        return $this->key;
36
-    }
37
-    public function valid()
38
-    {
39
-        return array_key_exists($this->key, $this->keys);
40
-    }
41
-    public function rewind()
42
-    {
43
-        $this->key = 0;
44
-    }
45
-    public function next()
46
-    {
47
-        $this->key ++;
48
-    }
13
+	private $ref;
14
+	private $key;
15
+	public function __construct(array $ref)
16
+	{
17
+		$this->ref = $ref;
18
+		$this->key = 0;
19
+		$this->keys = array_keys($this->ref);
20
+	}
21
+	public function hasChildren()
22
+	{
23
+		return $this->valid() && $this->current() instanceof Segment;
24
+	}
25
+	public function current()
26
+	{
27
+		return $this->ref[$this->keys[$this->key]];
28
+	}
29
+	function getChildren()
30
+	{
31
+		return new self($this->current()->children);
32
+	}
33
+	public function key()
34
+	{
35
+		return $this->key;
36
+	}
37
+	public function valid()
38
+	{
39
+		return array_key_exists($this->key, $this->keys);
40
+	}
41
+	public function rewind()
42
+	{
43
+		$this->key = 0;
44
+	}
45
+	public function next()
46
+	{
47
+		$this->key ++;
48
+	}
49 49
 }
50 50
 
Please login to merge, or discard this patch.