Completed
Push — php-cs-fixer ( b6f93e...b9836a )
by Fabio
07:15
created
framework/Web/UI/ActiveControls/TValueTriggeredCallback.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
 	 */
80 80
 	public function setDecayRate($value)
81 81
 	{
82
-		$decay = TPropertyValue::ensureFloat($value);
82
+		$decay=TPropertyValue::ensureFloat($value);
83 83
 		if($decay < 0)
84 84
 			throw new TConfigurationException('callback_decay_be_not_negative', $this->getID());
85 85
 		$this->setViewState('Decay', $decay);
@@ -90,10 +90,10 @@  discard block
 block discarded – undo
90 90
 	 */
91 91
 	protected function getTriggerOptions()
92 92
 	{
93
-		$options = parent::getTriggerOptions();
94
-		$options['PropertyName'] = $this->getPropertyName();
95
-		$options['Interval'] = $this->getInterval();
96
-		$options['Decay'] = $this->getDecayRate();
93
+		$options=parent::getTriggerOptions();
94
+		$options['PropertyName']=$this->getPropertyName();
95
+		$options['Interval']=$this->getInterval();
96
+		$options['Decay']=$this->getDecayRate();
97 97
 		return $options;
98 98
 	}
99 99
 
Please login to merge, or discard this patch.
framework/Web/UI/ActiveControls/TCallbackEventParameter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,8 +47,8 @@
 block discarded – undo
47 47
 	 */
48 48
 	public function __construct($response, $parameter)
49 49
 	{
50
-		$this->_response = $response;
51
-		$this->_parameter = $parameter;
50
+		$this->_response=$response;
51
+		$this->_parameter=$parameter;
52 52
 	}
53 53
 
54 54
 	/**
Please login to merge, or discard this patch.
framework/Web/UI/ActiveControls/TEventTriggeredCallback.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -64,10 +64,10 @@
 block discarded – undo
64 64
 	 */
65 65
 	protected function getTriggerOptions()
66 66
 	{
67
-		$options = parent::getTriggerOptions();
68
-		$name = preg_replace('/^on/', '', $this->getEventName());
69
-		$options['EventName'] = strtolower($name);
70
-		$options['StopEvent'] = $this->getPreventDefaultAction();
67
+		$options=parent::getTriggerOptions();
68
+		$name=preg_replace('/^on/', '', $this->getEventName());
69
+		$options['EventName']=strtolower($name);
70
+		$options['StopEvent']=$this->getPreventDefaultAction();
71 71
 		return $options;
72 72
 	}
73 73
 
Please login to merge, or discard this patch.
framework/I18N/TTranslateParameter.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
 	 * To trim or not to trim the contents.
51 51
 	 * @var boolean
52 52
 	 */
53
-	protected $trim = true;
53
+	protected $trim=true;
54 54
 
55 55
 
56 56
 	/**
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
 	 */
71 71
 	public function setKey($value)
72 72
 	{
73
-		$this->key = $value;
73
+		$this->key=$value;
74 74
 	}
75 75
 
76 76
 	/**
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
 	 */
80 80
 	public function setTrim($value)
81 81
 	{
82
-		$this->trim = TPropertyValue::ensureBoolean($value);
82
+		$this->trim=TPropertyValue::ensureBoolean($value);
83 83
 	}
84 84
 
85 85
 	/**
@@ -106,10 +106,10 @@  discard block
 block discarded – undo
106 106
 	 */
107 107
 	public function getParameter()
108 108
 	{
109
-		$value = $this->getValue();
109
+		$value=$this->getValue();
110 110
 		if(strlen($value) > 0)
111 111
 			return $value;
112
-		$htmlWriter = Prado::createComponent($this->GetResponse()->getHtmlWriterType(), new TTextWriter());
112
+		$htmlWriter=Prado::createComponent($this->GetResponse()->getHtmlWriterType(), new TTextWriter());
113 113
 		$this->renderControl($htmlWriter);
114 114
 		return $this->getTrim() ?
115 115
 			trim($htmlWriter->flush()) : $htmlWriter->flush();
Please login to merge, or discard this patch.
framework/Web/UI/ActiveControls/TActiveHyperLink.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
 	 */
51 51
 	public function setText($value)
52 52
 	{
53
-		if(parent::getText() === $value)
53
+		if(parent::getText()===$value)
54 54
 			return;
55 55
 
56 56
 		parent::setText($value);
@@ -64,14 +64,14 @@  discard block
 block discarded – undo
64 64
 	 */
65 65
 	public function setImageUrl($value)
66 66
 	{
67
-		if(parent::getImageUrl() === $value)
67
+		if(parent::getImageUrl()===$value)
68 68
 			return;
69 69
 
70 70
 		parent::setImageUrl($value);
71
-		if($this->getActiveControl()->canUpdateClientSide() && $value !== '')
71
+		if($this->getActiveControl()->canUpdateClientSide() && $value!=='')
72 72
 		{
73
-			$textWriter = new TTextWriter;
74
-			$renderer = Prado::createComponent($this->GetResponse()->getHtmlWriterType(), $textWriter);
73
+			$textWriter=new TTextWriter;
74
+			$renderer=Prado::createComponent($this->GetResponse()->getHtmlWriterType(), $textWriter);
75 75
 			$this->createImage($value)->renderControl($renderer);
76 76
 			$this->getPage()->getCallbackClient()->update($this, $textWriter->flush());
77 77
 		}
@@ -83,14 +83,14 @@  discard block
 block discarded – undo
83 83
 	 */
84 84
 	public function setNavigateUrl($value)
85 85
 	{
86
-		if(parent::getNavigateUrl() === $value)
86
+		if(parent::getNavigateUrl()===$value)
87 87
 			return;
88 88
 
89 89
 		parent::setNavigateUrl($value);
90 90
 		if($this->getActiveControl()->canUpdateClientSide())
91 91
 		{
92 92
 			//replace &amp; with & and urldecode the url (setting the href using javascript is literal)
93
-			$url = urldecode(str_replace('&amp;', '&', $value));
93
+			$url=urldecode(str_replace('&amp;', '&', $value));
94 94
 			$this->getPage()->getCallbackClient()->setAttribute($this, 'href', $url);
95 95
 		}
96 96
 	}
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
 	 */
102 102
 	public function setTarget($value)
103 103
 	{
104
-		if(parent::getTarget() === $value)
104
+		if(parent::getTarget()===$value)
105 105
 			return;
106 106
 
107 107
 		parent::setTarget($value);
Please login to merge, or discard this patch.
framework/Web/UI/ActiveControls/TActiveImage.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
 	 */
49 49
 	public function setAlternateText($value)
50 50
 	{
51
-		if(parent::getAlternateText() === $value)
51
+		if(parent::getAlternateText()===$value)
52 52
 			return;
53 53
 
54 54
 		parent::setAlternateText($value);
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
 	 */
66 66
 	public function setImageAlign($value)
67 67
 	{
68
-		if(parent::getImageAlign() === $value)
68
+		if(parent::getImageAlign()===$value)
69 69
 			return;
70 70
 
71 71
 		parent::setImageAlign($value);
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
 	 */
79 79
 	public function setImageUrl($value)
80 80
 	{
81
-		if(parent::getImageUrl() === $value)
81
+		if(parent::getImageUrl()===$value)
82 82
 			return;
83 83
 
84 84
 		parent::setImageUrl($value);
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
 	 */
92 92
 	public function setDescriptionUrl($value)
93 93
 	{
94
-		if(parent::getDescriptionUrl() === $value)
94
+		if(parent::getDescriptionUrl()===$value)
95 95
 			return;
96 96
 
97 97
 		parent::setDescriptionUrl($value);
Please login to merge, or discard this patch.
framework/Data/ActiveRecord/TActiveRecordInvalidFinderResult.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,6 +29,6 @@
 block discarded – undo
29 29
  */
30 30
 class TActiveRecordInvalidFinderResult extends \Prado\TEnumerable
31 31
 {
32
-	const Null = 'Null';
33
-	const Exception = 'Exception';
32
+	const Null='Null';
33
+	const Exception='Exception';
34 34
 }
35 35
\ No newline at end of file
Please login to merge, or discard this patch.
framework/Data/SqlMap/Statements/TResultSetListItemParameter.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -26,9 +26,9 @@
 block discarded – undo
26 26
 
27 27
 	public function __construct($result, $parameter, &$list)
28 28
 	{
29
-		$this->_resultObject = $result;
30
-		$this->_parameterObject = $parameter;
31
-		$this->_list = &$list;
29
+		$this->_resultObject=$result;
30
+		$this->_parameterObject=$parameter;
31
+		$this->_list=&$list;
32 32
 	}
33 33
 
34 34
 	public function getResult()
Please login to merge, or discard this patch.
framework/Data/SqlMap/Statements/TResultSetMapItemParameter.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -27,10 +27,10 @@
 block discarded – undo
27 27
 
28 28
 	public function __construct($key, $value, $parameter, &$map)
29 29
 	{
30
-		$this->_key = $key;
31
-		$this->_value = $value;
32
-		$this->_parameterObject = $parameter;
33
-		$this->_map = &$map;
30
+		$this->_key=$key;
31
+		$this->_value=$value;
32
+		$this->_parameterObject=$parameter;
33
+		$this->_map=&$map;
34 34
 	}
35 35
 
36 36
 	public function getKey()
Please login to merge, or discard this patch.