Completed
Push — php-cs-fixer ( b6f93e...b9836a )
by Fabio
07:15
created
framework/Data/SqlMap/Configuration/TSqlMapSelectKey.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
  */
23 23
 class TSqlMapSelectKey extends TSqlMapStatement
24 24
 {
25
-	private $_type = 'post';
25
+	private $_type='post';
26 26
 	private $_property;
27 27
 
28 28
 	/**
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
 	 */
39 39
 	public function setType($value)
40 40
 	{
41
-		$this->_type = strtolower($value) == 'post' ? 'post' : 'pre';
41
+		$this->_type=strtolower($value)=='post' ? 'post' : 'pre';
42 42
 	}
43 43
 
44 44
 	/**
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
 	 */
55 55
 	public function setProperty($value)
56 56
 	{
57
-		$this->_property = $value;
57
+		$this->_property=$value;
58 58
 	}
59 59
 
60 60
 	/**
@@ -70,6 +70,6 @@  discard block
 block discarded – undo
70 70
 	 */
71 71
 	public function getIsAfter()
72 72
 	{
73
-		return $this->_type == 'post';
73
+		return $this->_type=='post';
74 74
 	}
75 75
 }
76 76
\ No newline at end of file
Please login to merge, or discard this patch.
framework/Data/SqlMap/Configuration/TSubMap.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
 	 */
42 42
 	public function setValue($value)
43 43
 	{
44
-		$this->_value = $value;
44
+		$this->_value=$value;
45 45
 	}
46 46
 
47 47
 	/**
@@ -58,6 +58,6 @@  discard block
 block discarded – undo
58 58
 	 */
59 59
 	public function setResultMapping($value)
60 60
 	{
61
-		$this->_resultMapping = $value;
61
+		$this->_resultMapping=$value;
62 62
 	}
63 63
 }
64 64
\ No newline at end of file
Please login to merge, or discard this patch.
framework/Data/SqlMap/Configuration/TSqlMapSelect.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,6 +23,6 @@
 block discarded – undo
23 23
 {
24 24
 	private $_generate;
25 25
 
26
-	public function getGenerate(){ return $this->_generate; }
27
-	public function setGenerate($value){ $this->_generate = $value; }
26
+	public function getGenerate() { return $this->_generate; }
27
+	public function setGenerate($value) { $this->_generate=$value; }
28 28
 }
29 29
\ No newline at end of file
Please login to merge, or discard this patch.
framework/Data/SqlMap/Configuration/TSqlMapInsert.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,6 +39,6 @@
 block discarded – undo
39 39
 	 */
40 40
 	public function setSelectKey($value)
41 41
 	{
42
-		$this->_selectKey = $value;
42
+		$this->_selectKey=$value;
43 43
 	}
44 44
 }
45 45
\ No newline at end of file
Please login to merge, or discard this patch.
framework/Util/TRpcClientTypesEnumerable.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,6 +20,6 @@
 block discarded – undo
20 20
 
21 21
 class TRpcClientTypesEnumerable extends \Prado\TEnumerable
22 22
 {
23
-	const JSON = 'TJsonRpcClient';
24
-	const XML = 'TXmlRpcClient';
23
+	const JSON='TJsonRpcClient';
24
+	const XML='TXmlRpcClient';
25 25
 }
26 26
\ No newline at end of file
Please login to merge, or discard this patch.
framework/Util/TXmlRpcClient.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -41,14 +41,14 @@  discard block
 block discarded – undo
41 41
 	public function __call($method, $parameters)
42 42
 	{
43 43
 		// send request
44
-		$_response = $this->performRequest($this->getServerUrl(), $this->encodeRequest($method, $parameters), 'text/xml');
44
+		$_response=$this->performRequest($this->getServerUrl(), $this->encodeRequest($method, $parameters), 'text/xml');
45 45
 
46 46
 		// skip response handling if the request was just a notification request
47 47
 		if($this->isNotification)
48 48
 			return true;
49 49
 
50 50
 		// decode response
51
-		if(($_response = xmlrpc_decode($_response)) === null)
51
+		if(($_response=xmlrpc_decode($_response))===null)
52 52
 			throw new TRpcClientResponseException('Empty response received');
53 53
 
54 54
 		// handle error response
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
 	 * @param string url of the rpc server
75 75
 	 * @param boolean whether the requests are considered to be notifications (completely ignoring the response) (default: false)
76 76
 	 */
77
-	public static function create($type, $serverUrl, $isNotification = false)
77
+	public static function create($type, $serverUrl, $isNotification=false)
78 78
 	{
79 79
 		return new self($serverUrl, $isNotification);
80 80
 	}
Please login to merge, or discard this patch.
framework/Util/TRpcClientResponseException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
 	 * @param string error message
28 28
 	 * @param integer error code (optional)
29 29
 	 */
30
-	public function __construct($errorMessage, $errorCode = null)
30
+	public function __construct($errorMessage, $errorCode=null)
31 31
 	{
32 32
 		$this->setErrorCode($errorCode);
33 33
 
Please login to merge, or discard this patch.
framework/Web/Services/TRpcException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
  */
24 24
 class TRpcException extends TException
25 25
 {
26
-	public function __construct($message, $errorCode = -1)
26
+	public function __construct($message, $errorCode=-1)
27 27
 	{
28 28
 		$this->setErrorCode($errorCode);
29 29
 
Please login to merge, or discard this patch.
framework/Web/Services/TRpcServer.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
 	 */
39 39
 	public function __construct(TRpcProtocol $protocolHandler)
40 40
 	{
41
-		$this->handler = $protocolHandler;
41
+		$this->handler=$protocolHandler;
42 42
 	}
43 43
 	
44 44
 	/**
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,8 +69,7 @@
 block discarded – undo
69 69
 		try
70 70
 		{
71 71
 			return $this->handler->callMethod($this->getPayload());
72
-		}
73
-		catch(TRpcException $e)
72
+		} catch(TRpcException $e)
74 73
 		{
75 74
 			return $this->handler->createErrorResponse($e);
76 75
 		}
Please login to merge, or discard this patch.