Completed
Push — scrutinizer ( 6a9613...4d54e2 )
by Fabio
37:44 queued 14:38
created
demos/northwind-db/protected/database/Order.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Auto generated by prado-cli.php on 2007-05-01 05:29:47.
4
- */
3
+	 * Auto generated by prado-cli.php on 2007-05-01 05:29:47.
4
+	 */
5 5
 class Order extends TActiveRecord
6 6
 {
7 7
 	const TABLE='Orders';
Please login to merge, or discard this patch.
demos/northwind-db/protected/database/Category.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Auto generated by prado-cli.php on 2007-05-01 05:24:53.
4
- */
3
+	 * Auto generated by prado-cli.php on 2007-05-01 05:24:53.
4
+	 */
5 5
 class Category extends TActiveRecord
6 6
 {
7 7
 	const TABLE='Categories';
Please login to merge, or discard this patch.
demos/blog/protected/Pages/Admin/UserMan.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * UserMan class file
4
- *
5
- * @author Qiang Xue <[email protected]>
6
- * @link https://github.com/pradosoft/prado
7
- * @copyright Copyright &copy; 2006-2015 The PRADO Group
8
- * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT
9
- */
3
+	 * UserMan class file
4
+	 *
5
+	 * @author Qiang Xue <[email protected]>
6
+	 * @link https://github.com/pradosoft/prado
7
+	 * @copyright Copyright &copy; 2006-2015 The PRADO Group
8
+	 * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT
9
+	 */
10 10
 
11 11
 /**
12 12
  * UserMan class
Please login to merge, or discard this patch.
demos/blog/protected/Layouts/MainLayout.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * MainLayout class file
4
- *
5
- * @author Qiang Xue <[email protected]>
6
- * @link https://github.com/pradosoft/prado
7
- * @copyright Copyright &copy; 2006-2015 The PRADO Group
8
- * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT
9
- */
3
+	 * MainLayout class file
4
+	 *
5
+	 * @author Qiang Xue <[email protected]>
6
+	 * @link https://github.com/pradosoft/prado
7
+	 * @copyright Copyright &copy; 2006-2015 The PRADO Group
8
+	 * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT
9
+	 */
10 10
 
11 11
 /**
12 12
  * MainLayout class
Please login to merge, or discard this patch.
demos/quickstart/protected/controls/SearchBox.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -4,20 +4,20 @@
 block discarded – undo
4 4
 {
5 5
 	public function getText()
6 6
 	{
7
-        $this->ensureChildControls();
8
-        return $this->getRegisteredObject('search')->getText();
9
-    }
7
+		$this->ensureChildControls();
8
+		return $this->getRegisteredObject('search')->getText();
9
+	}
10 10
 
11
-    public function getTextBox()
12
-    {
13
-        $this->ensureChildControls();
14
-        return $this->getRegisteredObject('search');
15
-    }
11
+	public function getTextBox()
12
+	{
13
+		$this->ensureChildControls();
14
+		return $this->getRegisteredObject('search');
15
+	}
16 16
 
17 17
 	public function getButton()
18 18
 	{
19 19
 		$this->ensureChildControls();
20
-        return $this->getRegisteredObject('find');
20
+		return $this->getRegisteredObject('find');
21 21
 	}
22 22
 
23 23
 	public function onInit($param)
Please login to merge, or discard this patch.
demos/quickstart/protected/pages/Controls/Samples/TAccordion/Home.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -2,15 +2,15 @@
 block discarded – undo
2 2
 
3 3
 class Home extends TPage
4 4
 {
5
-        public function onLoad($param)
6
-        {
7
-                parent::onLoad($param);
8
-                $this->lab1->Text="";
9
-        }
5
+		public function onLoad($param)
6
+		{
7
+				parent::onLoad($param);
8
+				$this->lab1->Text="";
9
+		}
10 10
 
11
-        public function executeTransaction($sender, $param)
12
-        {
13
-                $this->lab1->Text="executeTransaction ok";
14
-        }
11
+		public function executeTransaction($sender, $param)
12
+		{
13
+				$this->lab1->Text="executeTransaction ok";
14
+		}
15 15
 }
16 16
 
Please login to merge, or discard this patch.
demos/quickstart/protected/pages/JuiControls/Samples/TJuiDialog/Home.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -49,16 +49,16 @@
 block discarded – undo
49 49
 	{
50 50
 	  list($x, $y) = explode(' ', $this->dlg4->getOptions()->position);
51 51
 	  if ($x == 'left') {
52
-	    if ($y == 'top') $x = 'right';
53
-	    else $y = 'top';
52
+		if ($y == 'top') $x = 'right';
53
+		else $y = 'top';
54 54
 	  }
55 55
 	  elseif ($x == 'right') {
56
-	    if ($y == 'top') $y = 'bottom';
57
-	    else $x = 'left';
56
+		if ($y == 'top') $y = 'bottom';
57
+		else $x = 'left';
58 58
 	  }
59 59
 	  else {
60
-	    $x = 'left';
61
-	    $y = 'top';
60
+		$x = 'left';
61
+		$y = 'top';
62 62
 	  }
63 63
 	  $this->dlg4->getOptions()->position = "$x $y";
64 64
 	}
Please login to merge, or discard this patch.
demos/quickstart/protected/pages/JuiControls/Samples/TJuiDroppable/Home.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -32,23 +32,23 @@
 block discarded – undo
32 32
 
33 33
 	public function drop1_changed($sender, $param) {
34 34
 	  if ($sender->getChecked()) {
35
-	    $this->drop1->getOptions()->accept = '.drag-lime';
36
-	    $this->label1a->Text="is accepting lime draggable";
35
+		$this->drop1->getOptions()->accept = '.drag-lime';
36
+		$this->label1a->Text="is accepting lime draggable";
37 37
 	  }
38 38
 	  else {
39
-	    $this->drop1->getOptions()->accept = '';
40
-	    $this->label1a->Text="is NOT accepting lime draggable";
39
+		$this->drop1->getOptions()->accept = '';
40
+		$this->label1a->Text="is NOT accepting lime draggable";
41 41
 	  }
42 42
 	}
43 43
 
44 44
 	public function drop2_changed($sender, $param) {
45 45
 	  if ($sender->getChecked()) {
46
-	    $this->drop2->getOptions()->activeClass = 'active';
47
-	    $this->label2a->Text="is highlighted while dragging";
46
+		$this->drop2->getOptions()->activeClass = 'active';
47
+		$this->label2a->Text="is highlighted while dragging";
48 48
 	  }
49 49
 	  else {
50
-	    $this->drop2->getOptions()->activeClass = '';
51
-	    $this->label2a->Text="is NOT highlighted while dragging";
50
+		$this->drop2->getOptions()->activeClass = '';
51
+		$this->label2a->Text="is NOT highlighted while dragging";
52 52
 	  }
53 53
 	}
54 54
 }
Please login to merge, or discard this patch.
quickstart/protected/pages/JuiControls/Samples/TJuiAutoComplete/Home.php 1 patch
Indentation   +23 added lines, -23 removed lines patch added patch discarded remove patch
@@ -2,31 +2,31 @@  discard block
 block discarded – undo
2 2
 
3 3
 class Home extends TPage
4 4
 {
5
-    public function suggestNames($sender,$param) {
6
-        // Get the token
7
-        $token=$param->getToken();
8
-        // Sender is the Suggestions repeater
9
-        $sender->DataSource=$this->suggestionsForName($token);
10
-        $sender->dataBind();
11
-    }
5
+	public function suggestNames($sender,$param) {
6
+		// Get the token
7
+		$token=$param->getToken();
8
+		// Sender is the Suggestions repeater
9
+		$sender->DataSource=$this->suggestionsForName($token);
10
+		$sender->dataBind();
11
+	}
12 12
 
13
-    public function suggestionSelected1($sender,$param) {
14
-        $id=$sender->Suggestions->DataKeys[ $param->selectedIndex ];
15
-        $this->Selection1->Text='Selected ID: '.$id;
16
-    }
13
+	public function suggestionSelected1($sender,$param) {
14
+		$id=$sender->Suggestions->DataKeys[ $param->selectedIndex ];
15
+		$this->Selection1->Text='Selected ID: '.$id;
16
+	}
17 17
 
18
-    public function suggestionSelected2($sender,$param) {
19
-        $id=$sender->Suggestions->DataKeys[ $param->selectedIndex ];
20
-        $this->Selection2->Text='Selected ID: '.$id;
21
-    }
18
+	public function suggestionSelected2($sender,$param) {
19
+		$id=$sender->Suggestions->DataKeys[ $param->selectedIndex ];
20
+		$this->Selection2->Text='Selected ID: '.$id;
21
+	}
22 22
 
23
-    public function suggestionsForName($name) {
24
-        $allChoices = array(
25
-            array('id'=>1, 'name'=>'John'),
26
-            array('id'=>2, 'name'=>'Paul'),
27
-            array('id'=>3, 'name'=>'George'),
28
-            array('id'=>4, 'name'=>'Ringo')
29
-        );
23
+	public function suggestionsForName($name) {
24
+		$allChoices = array(
25
+			array('id'=>1, 'name'=>'John'),
26
+			array('id'=>2, 'name'=>'Paul'),
27
+			array('id'=>3, 'name'=>'George'),
28
+			array('id'=>4, 'name'=>'Ringo')
29
+		);
30 30
 
31 31
 		if($name) {
32 32
 			return array_filter($allChoices, function ($el) use ($name) {
@@ -34,6 +34,6 @@  discard block
 block discarded – undo
34 34
 			});
35 35
 		} else
36 36
 			return $allChoices;
37
-    }
37
+	}
38 38
 
39 39
 }
40 40
\ No newline at end of file
Please login to merge, or discard this patch.