Completed
Push — php-cs-fixer ( b6f93e...b9836a )
by Fabio
07:15
created
framework/Web/Javascripts/TJavaScriptLiteral.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,12 +42,12 @@
 block discarded – undo
42 42
 
43 43
 	public function __construct($s)
44 44
 	{
45
-		$this->_s = $s;
45
+		$this->_s=$s;
46 46
 	}
47 47
 
48 48
 	public function __toString()
49 49
 	{
50
-		return (string)$this->_s;
50
+		return (string) $this->_s;
51 51
 	}
52 52
 
53 53
 	public function toJavaScriptLiteral()
Please login to merge, or discard this patch.
framework/Web/UI/ActiveControls/TScalarDiff.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,8 +27,8 @@
 block discarded – undo
27 27
 	 */
28 28
 	public function getDifference()
29 29
 	{
30
-		if(gettype($this->_new) === gettype($this->_old)
31
-			&& $this->_new === $this->_old)
30
+		if(gettype($this->_new)===gettype($this->_old)
31
+			&& $this->_new===$this->_old)
32 32
 			return $this->_null;
33 33
 		else
34 34
 			return $this->_new;
Please login to merge, or discard this patch.
framework/Web/UI/ActiveControls/TViewStateDiff.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -41,9 +41,9 @@
 block discarded – undo
41 41
 	 */
42 42
 	public function __construct($new, $old, $null)
43 43
 	{
44
-		$this->_new = $new;
45
-		$this->_old = $old;
46
-		$this->_null = $null;
44
+		$this->_new=$new;
45
+		$this->_old=$old;
46
+		$this->_null=$null;
47 47
 	}
48 48
 
49 49
 	/**
Please login to merge, or discard this patch.
framework/Web/UI/ActiveControls/TActiveRadioButtonList.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
 	 */
81 81
 	protected function createRepeatedControl()
82 82
 	{
83
-		$control = new TActiveRadioButtonItem;
83
+		$control=new TActiveRadioButtonItem;
84 84
 		$control->getAdapter()->setBaseActiveControl($this->getActiveControl());
85 85
 		return $control;
86 86
 	}
Please login to merge, or discard this patch.
framework/Web/UI/ActiveControls/TActiveDataGridPager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,8 +30,8 @@
 block discarded – undo
30 30
 	 */
31 31
 	public function getClientSide()
32 32
 	{
33
-		if($this->_callbackoptions === null)
34
-			$this->_callbackoptions = new TCallbackOptions;
33
+		if($this->_callbackoptions===null)
34
+			$this->_callbackoptions=new TCallbackOptions;
35 35
 		return $this->_callbackoptions->getClientSide();
36 36
 	}
37 37
 }
38 38
\ No newline at end of file
Please login to merge, or discard this patch.
framework/Web/UI/ActiveControls/TActiveCheckBoxList.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
 	 * updated later.
73 73
 	 *@return boolean always true
74 74
 	 */
75
-	protected function getSpanNeeded ()
75
+	protected function getSpanNeeded()
76 76
 	{
77 77
 	  return true;
78 78
 	}
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
 	 */
92 92
 	protected function createRepeatedControl()
93 93
 	{
94
-		$control = new TActiveCheckBoxListItem;
94
+		$control=new TActiveCheckBoxListItem;
95 95
 		$control->getAdapter()->setBaseActiveControl($this->getActiveControl());
96 96
 		return $control;
97 97
 	}
Please login to merge, or discard this patch.
framework/Web/UI/TClientSideOptions.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
 	protected function setFunction($name, $code)
44 44
 	{
45 45
 		if(!TJavaScript::isJsLiteral($code))
46
-			$code = TJavaScript::quoteJsLiteral($this->ensureFunction($code));
46
+			$code=TJavaScript::quoteJsLiteral($this->ensureFunction($code));
47 47
 		$this->setOption($name, $code);
48 48
 	}
49 49
 
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
 	 */
53 53
 	protected function getOption($name)
54 54
 	{
55
-		if ($this->_options)
55
+		if($this->_options)
56 56
 			return $this->_options->itemAt($name);
57 57
 		else
58 58
 			return null;
@@ -72,8 +72,8 @@  discard block
 block discarded – undo
72 72
 	 */
73 73
 	public function getOptions()
74 74
 	{
75
-		if (!$this->_options)
76
-			$this->_options = new TMap;
75
+		if(!$this->_options)
76
+			$this->_options=new TMap;
77 77
 		return $this->_options;
78 78
 	}
79 79
 
Please login to merge, or discard this patch.
framework/Web/TUrlMappingPatternSecureConnection.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -27,29 +27,29 @@
 block discarded – undo
27 27
 	 * Keep current SecureConnection status
28 28
 	 * means no prefixing
29 29
 	 */
30
-	const Automatic = 'Automatic';
30
+	const Automatic='Automatic';
31 31
 
32 32
 	/**
33 33
 	 * Force use secured connection
34 34
 	 * always prefixing with https://example.com/path/to/app
35 35
 	 */
36
-	const Enable = 'Enable';
36
+	const Enable='Enable';
37 37
 
38 38
 	/**
39 39
 	 * Force use unsecured connection
40 40
 	 * always prefixing with http://example.com/path/to/app
41 41
 	 */
42
-	const Disable = 'Disable';
42
+	const Disable='Disable';
43 43
 
44 44
 	/**
45 45
 	 * Force use secured connection, if in unsecured mode
46 46
 	 * prefixing with https://example.com/path/to/app
47 47
 	 */
48
-	const EnableIfNotSecure = 'EnableIfNotSecure';
48
+	const EnableIfNotSecure='EnableIfNotSecure';
49 49
 
50 50
 	/**
51 51
 	 * Force use unsecured connection, if in secured mode
52 52
 	 * prefixing with https://example.com/path/to/app
53 53
 	 */
54
-	const DisableIfSecure = 'DisableIfSecure';
54
+	const DisableIfSecure='DisableIfSecure';
55 55
 }
56 56
\ No newline at end of file
Please login to merge, or discard this patch.
framework/Web/UI/WebControls/TSafeHtml.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -48,8 +48,8 @@  discard block
 block discarded – undo
48 48
 	 */
49 49
 	public function getConfig()
50 50
 	{
51
-		$config = $this->getViewState('Config', null);
52
-		return ($config === null) ? \HTMLPurifier_Config::createDefault() : $config;
51
+		$config=$this->getViewState('Config', null);
52
+		return ($config===null) ? \HTMLPurifier_Config::createDefault() : $config;
53 53
 	}
54 54
 
55 55
 	/**
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 	 */
60 60
 	public function render($writer)
61 61
 	{
62
-		$htmlWriter = Prado::createComponent($this->GetResponse()->getHtmlWriterType(), new TTextWriter());
62
+		$htmlWriter=Prado::createComponent($this->GetResponse()->getHtmlWriterType(), new TTextWriter());
63 63
 		parent::render($htmlWriter);
64 64
 		$writer->write($this->parseSafeHtml($htmlWriter->flush()));
65 65
 	}
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
 	 */
72 72
 	protected function parseSafeHtml($text)
73 73
 	{
74
-		$purifier = new \HTMLPurifier($this->getConfig());
74
+		$purifier=new \HTMLPurifier($this->getConfig());
75 75
 		return $purifier->purify($text);
76 76
 	}
77 77
 }
Please login to merge, or discard this patch.