Completed
Push — scrutinizer ( 6a9613...4d54e2 )
by Fabio
37:44 queued 14:38
created
tests/FunctionalTests/tickets/protected/pages/Ticket587_reopened.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
 	{
15 15
 		$this->list2->Items->clear();
16 16
 		for($i = 0; $i < 2; $i++)
17
-           $this->list2->Items[$i] = 'asd 3 - item '.($i+1);
17
+		   $this->list2->Items[$i] = 'asd 3 - item '.($i+1);
18 18
 	}
19 19
 
20 20
 	function addOptionsToList2($parent,$index)
Please login to merge, or discard this patch.
tests/FunctionalTests/tickets/protected/pages/Ticket695.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 Prado::Using ('System.Web.UI.ActiveControls.*');
3 3
 class Ticket695 extends TPage {
4
-    public function onATB($sender,$param) {
5
-        $this->X->Text=$this->X->Text+1;
6
-    }
4
+	public function onATB($sender,$param) {
5
+		$this->X->Text=$this->X->Text+1;
6
+	}
7 7
 }
Please login to merge, or discard this patch.
tests/FunctionalTests/tickets/protected/pages/Ticket660.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -2,23 +2,23 @@
 block discarded – undo
2 2
 Prado::Using ('System.Web.UI.ActiveControls.*');
3 3
 class Ticket660 extends TPage {
4 4
 
5
-    public function __construct() {
6
-        Prado::getApplication()->getGlobalization()->setCharset('ISO-8859-1');
7
-        parent::__construct();
8
-    }
5
+	public function __construct() {
6
+		Prado::getApplication()->getGlobalization()->setCharset('ISO-8859-1');
7
+		parent::__construct();
8
+	}
9 9
 
10
-    public function changeA($sender,$param) {
11
-        $iso_text=iconv('UTF-8', 'ISO-8859-1//IGNORE', 'ÄÖÜ äöü');
12
-        $this->A->setText($this->T->getText() . $iso_text);
13
-    }
10
+	public function changeA($sender,$param) {
11
+		$iso_text=iconv('UTF-8', 'ISO-8859-1//IGNORE', 'ÄÖÜ äöü');
12
+		$this->A->setText($this->T->getText() . $iso_text);
13
+	}
14 14
 
15 15
 	public function suggest($sender, $param)
16 16
 	{
17
-        $token=$param->getCallbackParameter();
17
+		$token=$param->getCallbackParameter();
18 18
 		$sender->setDataSource(array(
19
-            1 => 'ABC Token:'.$token,
20
-            2 => iconv('UTF-8', 'ISO-8859-1//IGNORE', 'ÄÖÜ').' Token:'.$token
21
-        ));
19
+			1 => 'ABC Token:'.$token,
20
+			2 => iconv('UTF-8', 'ISO-8859-1//IGNORE', 'ÄÖÜ').' Token:'.$token
21
+		));
22 22
 		$sender->dataBind();
23 23
 	}
24 24
 
Please login to merge, or discard this patch.
tests/FunctionalTests/tickets/protected/pages/Ticket528.php 1 patch
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -3,31 +3,31 @@
 block discarded – undo
3 3
 class Ticket528 extends TPage
4 4
 {
5 5
 	 public static $turnos = array(
6
-                    'M' => array('id_turno' => 'M', 'descricao' => 'Manhã'),
7
-                    'T' => array('id_turno' => 'T', 'descricao' => 'Tarde'),
8
-                    'N' => array('id_turno' => 'N', 'descricao' => 'Noite')
9
-                   );
6
+					'M' => array('id_turno' => 'M', 'descricao' => 'Manhã'),
7
+					'T' => array('id_turno' => 'T', 'descricao' => 'Tarde'),
8
+					'N' => array('id_turno' => 'N', 'descricao' => 'Noite')
9
+				   );
10 10
 
11 11
 
12
-    public function onLoad($param)
13
-    {
14
-        parent::onLoad($param);
15
-        if (!$this->IsPostBack) {
16
-            $this->DDropTurno->loadOptions();
17
-            $this->loadDadosTurno($this->DDropTurno->getSelectedValue());
18
-        }
19
-    }
12
+	public function onLoad($param)
13
+	{
14
+		parent::onLoad($param);
15
+		if (!$this->IsPostBack) {
16
+			$this->DDropTurno->loadOptions();
17
+			$this->loadDadosTurno($this->DDropTurno->getSelectedValue());
18
+		}
19
+	}
20 20
 
21 21
 
22
-    protected function loadDadosTurno($id)
23
-    {
24
-        $this->Codigo->setText(self::$turnos[$id]['id_turno']);
25
-        $this->Descricao->setText(self::$turnos[$id]['descricao']);
26
-    }
22
+	protected function loadDadosTurno($id)
23
+	{
24
+		$this->Codigo->setText(self::$turnos[$id]['id_turno']);
25
+		$this->Descricao->setText(self::$turnos[$id]['descricao']);
26
+	}
27 27
 
28 28
 
29
-    public function trocaTurno($sender,$param)
30
-    {
31
-        $this->loadDadosTurno($sender->getSelectedValue());
32
-    }
29
+	public function trocaTurno($sender,$param)
30
+	{
31
+		$this->loadDadosTurno($sender->getSelectedValue());
32
+	}
33 33
 }
Please login to merge, or discard this patch.
tests/FunctionalTests/tickets/protected/pages/Ticket900.php 1 patch
Indentation   +36 added lines, -36 removed lines patch added patch discarded remove patch
@@ -1,57 +1,57 @@
 block discarded – undo
1 1
 <?php
2 2
 class Ticket900 extends TPage {
3 3
 	
4
-    public function onLoad($param)
5
-    {
6
-        parent::onLoad($param);
7
-        if(!$this->IsPostBack)
8
-        {
9
-            $this->DataGrid->DataSource=$this->Data;
10
-            $this->DataGrid->dataBind();
11
-        }
12
-    }
4
+	public function onLoad($param)
5
+	{
6
+		parent::onLoad($param);
7
+		if(!$this->IsPostBack)
8
+		{
9
+			$this->DataGrid->DataSource=$this->Data;
10
+			$this->DataGrid->dataBind();
11
+		}
12
+	}
13 13
  
14 14
  
15
-    protected function getData()
16
-    {
15
+	protected function getData()
16
+	{
17 17
 	return array(
18 18
 		array( 'title' => 'Title A'),
19 19
 		array( 'title' => 'Title B'),
20 20
 		array( 'title' => 'Title C')
21 21
 	);
22
-    }
22
+	}
23 23
  
24 24
  
25
-    public function editItem($sender,$param)
26
-    {
25
+	public function editItem($sender,$param)
26
+	{
27 27
 	$this->CommandName->Text='edit';
28
-        $this->DataGrid->EditItemIndex=$param->Item->ItemIndex;
29
-        $this->DataGrid->DataSource=$this->Data;
30
-        $this->DataGrid->dataBind();
31
-    }
28
+		$this->DataGrid->EditItemIndex=$param->Item->ItemIndex;
29
+		$this->DataGrid->DataSource=$this->Data;
30
+		$this->DataGrid->dataBind();
31
+	}
32 32
  
33
-    public function saveItem($sender,$param)
34
-    {
33
+	public function saveItem($sender,$param)
34
+	{
35 35
 	$this->CommandName->Text='save';
36
-        $this->DataGrid->EditItemIndex=-1;
37
-        $this->DataGrid->DataSource=$this->Data;
38
-        $this->DataGrid->dataBind();
39
-    }
36
+		$this->DataGrid->EditItemIndex=-1;
37
+		$this->DataGrid->DataSource=$this->Data;
38
+		$this->DataGrid->dataBind();
39
+	}
40 40
  
41
-    public function cancelItem($sender,$param)
42
-    {
41
+	public function cancelItem($sender,$param)
42
+	{
43 43
 	$this->CommandName->Text='cancel';
44
-        $this->DataGrid->EditItemIndex=-1;
45
-        $this->DataGrid->DataSource=$this->Data;
46
-        $this->DataGrid->dataBind();
47
-    }
44
+		$this->DataGrid->EditItemIndex=-1;
45
+		$this->DataGrid->DataSource=$this->Data;
46
+		$this->DataGrid->dataBind();
47
+	}
48 48
  
49
-    public function deleteItem($sender,$param)
50
-    {
49
+	public function deleteItem($sender,$param)
50
+	{
51 51
 	$this->CommandName->Text='delete';
52
-        $this->DataGrid->EditItemIndex=-1;
53
-        $this->DataGrid->DataSource=$this->Data;
54
-        $this->DataGrid->dataBind();
55
-    }
52
+		$this->DataGrid->EditItemIndex=-1;
53
+		$this->DataGrid->DataSource=$this->Data;
54
+		$this->DataGrid->dataBind();
55
+	}
56 56
 	
57 57
 }
Please login to merge, or discard this patch.
tests/FunctionalTests/tickets/protected/pages/Ticket622.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 Prado::Using ('System.Web.UI.ActiveControls.*');
3 3
 class Ticket622 extends TPage {
4
-    public function changeA($sender,$param) {
5
-        $this->ALB->setDisplay('Dynamic');
6
-        $this->ACB->setDisplay('Dynamic');
7
-        $this->ARB->setDisplay('Dynamic');
8
-    }
4
+	public function changeA($sender,$param) {
5
+		$this->ALB->setDisplay('Dynamic');
6
+		$this->ACB->setDisplay('Dynamic');
7
+		$this->ARB->setDisplay('Dynamic');
8
+	}
9 9
 }
Please login to merge, or discard this patch.
tests/FunctionalTests/tickets/protected/pages/ToggleTest.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
- *
4
- *
5
- * @author Christophe BOULAIN ([email protected])
6
- * @copyright Copyright &copy; 2007, CERAM Sophia Antipolis
7
- * @license url nameoflicense
8
- *
9
- */
3
+	 *
4
+	 *
5
+	 * @author Christophe BOULAIN ([email protected])
6
+	 * @copyright Copyright &copy; 2007, CERAM Sophia Antipolis
7
+	 * @license url nameoflicense
8
+	 *
9
+	 */
10 10
 
11 11
 prado::using ('Application.controls.ToggleImageButton');
12 12
 
Please login to merge, or discard this patch.
tests/FunctionalTests/tickets/protected/pages/Ticket922.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php
2 2
 class Ticket922 extends TPage {
3
-    public function processString($sender,$param) {
4
-        $text = $this->Text->Text;
5
-        $url= $this->getService()->constructUrl('Ticket922', array('text'=>$text));
6
-        $this->getResponse()->redirect($url);
7
-    }
3
+	public function processString($sender,$param) {
4
+		$text = $this->Text->Text;
5
+		$url= $this->getService()->constructUrl('Ticket922', array('text'=>$text));
6
+		$this->getResponse()->redirect($url);
7
+	}
8 8
 
9
-    public function onLoad($param) {
10
-        if ($this->Request->contains('text'))
11
-            $this->Result->setText($this->Request->itemAt('text'));
12
-    }
9
+	public function onLoad($param) {
10
+		if ($this->Request->contains('text'))
11
+			$this->Result->setText($this->Request->itemAt('text'));
12
+	}
13 13
 }
Please login to merge, or discard this patch.
tests/FunctionalTests/tickets/protected/pages/Ticket679.php 1 patch
Indentation   +33 added lines, -33 removed lines patch added patch discarded remove patch
@@ -4,39 +4,39 @@
 block discarded – undo
4 4
 
5 5
 class Ticket679 extends TPage
6 6
 {
7
-        // repeater bug
8
-        public function onLoad($param)
9
-        {
10
-        	parent::onLoad($param);
11
-                $dataArray[0][ 'id' ] = '1' ;
12
-
13
-                if( !$this->Page->IsPostBack && !$this->Page->IsCallBack)
14
-                {
15
-                        $this->Repeater->DataSource = $dataArray ;
16
-                        $this->Repeater->dataBind() ;
17
-                }
18
-        }
19
-
20
-        public function changeText( $sender, $param )
21
-        {
22
-                $obj = $this->myLabel ;
23
-                $obj->Text = $sender->Text ;
24
-                $obj->Display="Dynamic";
25
-
26
-                // solution
27
-                //$this->CallBackClient->show($obj, true);
28
-        }
29
-
30
-
31
-        // activeradiobutton bug
32
-        public function checkRadioButton($sender, $param){
33
-               $this->myRadioButton->checked = true;
34
-        }
35
-        public function uncheckRadioButton($sender, $param){
36
-               $this->myRadioButton->checked = false;
7
+		// repeater bug
8
+		public function onLoad($param)
9
+		{
10
+			parent::onLoad($param);
11
+				$dataArray[0][ 'id' ] = '1' ;
12
+
13
+				if( !$this->Page->IsPostBack && !$this->Page->IsCallBack)
14
+				{
15
+						$this->Repeater->DataSource = $dataArray ;
16
+						$this->Repeater->dataBind() ;
17
+				}
18
+		}
19
+
20
+		public function changeText( $sender, $param )
21
+		{
22
+				$obj = $this->myLabel ;
23
+				$obj->Text = $sender->Text ;
24
+				$obj->Display="Dynamic";
25
+
26
+				// solution
27
+				//$this->CallBackClient->show($obj, true);
28
+		}
29
+
30
+
31
+		// activeradiobutton bug
32
+		public function checkRadioButton($sender, $param){
33
+			   $this->myRadioButton->checked = true;
34
+		}
35
+		public function uncheckRadioButton($sender, $param){
36
+			   $this->myRadioButton->checked = false;
37 37
                 
38
-               // solution 
39
-               //$this->CallbackClient->check($this->myRadioButton, false);
40
-        }
38
+			   // solution 
39
+			   //$this->CallbackClient->check($this->myRadioButton, false);
40
+		}
41 41
 
42 42
 }
43 43
\ No newline at end of file
Please login to merge, or discard this patch.