Completed
Push — prado4-sauce ( 31ba42...77d75b )
by Fabio
16:20 queued 08:27
created
framework/I18N/core/TCache_Lite.php 1 patch
Switch Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -611,15 +611,15 @@
 block discarded – undo
611 611
     function _hash($data, $controlType)
612 612
     {
613 613
         switch ($controlType) {
614
-        case 'md5':
615
-            return md5($data);
616
-        case 'crc32':
617
-            return sprintf('% 32d', crc32($data));
618
-        case 'strlen':
619
-            return sprintf('% 32d', strlen($data));
620
-        default:
621
-            $this->raiseError('Unknown controlType ! '.
622
-            '(available values are only \'md5\', \'crc32\', \'strlen\')', -5);
614
+        	case 'md5':
615
+            	return md5($data);
616
+        	case 'crc32':
617
+            	return sprintf('% 32d', crc32($data));
618
+        	case 'strlen':
619
+            	return sprintf('% 32d', strlen($data));
620
+        	default:
621
+            	$this->raiseError('Unknown controlType ! '.
622
+            	'(available values are only \'md5\', \'crc32\', \'strlen\')', -5);
623 623
         }
624 624
     }
625 625
 
Please login to merge, or discard this patch.
framework/I18N/core/MessageSource_XLIFF.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,6 @@
 block discarded – undo
22 22
  * Get the MessageSource class file.
23 23
  */
24 24
 use DOMDocument;
25
-use DOMXPath;
26 25
 use Prado\Exceptions\TException;
27 26
 use Prado\Exceptions\TIOException;
28 27
 
Please login to merge, or discard this patch.
framework/Util/TCallChain.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 
11 11
 namespace Prado\Util;
12 12
 use Prado\Collections\TList;
13
-use Prado\Collections\TListIterator;
14 13
 
15 14
 /**
16 15
  * TCallChain is a recursive event calling mechanism.  This class implements
Please login to merge, or discard this patch.
framework/Web/THttpRequest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
  */
11 11
 
12 12
 namespace Prado\Web;
13
-use Prado\Collections\TMapIterator;
14 13
 use Prado\Caching\TFileCacheDependency;
15 14
 use Prado\Exceptions\TConfigurationException;
16 15
 use Prado\Exceptions\TInvalidDataValueException;
Please login to merge, or discard this patch.
framework/Web/UI/TClientScriptManager.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 namespace Prado\Web\UI;
14 14
 use Prado\Prado;
15 15
 use Prado\TApplicationMode;
16
-use Prado\Exceptions\TInvalidDataValueException;
17 16
 use Prado\Exceptions\TInvalidOperationException;
18 17
 use Prado\Web\Javascripts\TJavaScript;
19 18
 use Prado\Web\UI\ActiveControls\ICallbackEventHandler;
Please login to merge, or discard this patch.
framework/Web/UI/TPage.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 use Prado\Collections\TList;
14 14
 use Prado\Collections\TMap;
15 15
 use Prado\Collections\TStack;
16
-use Prado\Data\ActiveRecord\TActiveRecord;
17 16
 use Prado\Exceptions\TConfigurationException;
18 17
 use Prado\Exceptions\THttpException;
19 18
 use Prado\Exceptions\TInvalidDataValueException;
Please login to merge, or discard this patch.
framework/Web/UI/WebControls/TSafeHtml.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 namespace Prado\Web\UI\WebControls;
13 13
 use Prado\IO\TTextWriter;
14 14
 use Prado\Prado;
15
-use Prado\TPropertyValue;
16 15
 
17 16
 /**
18 17
  * TSafeHtml class
Please login to merge, or discard this patch.