Completed
Push — master ( 3a9bcf...4c862f )
by Jean-Christophe
03:54
created
Ajax/bootstrap/traits/BootstrapComponentsTrait.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 use Ajax\bootstrap\components\Tab;
12 12
 use Ajax\bootstrap\components\Carousel;
13 13
 use Ajax\bootstrap\components\Collapse;
14
-use Ajax\Bootstrap;
15 14
 use Ajax\common\components\SimpleComponent;
16 15
 
17 16
 trait BootstrapComponentsTrait {
Please login to merge, or discard this patch.
Ajax/common/html/HtmlCollection.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Ajax\common\html\HtmlDoubleElement;
6 6
 use Ajax\service\JArray;
7
-use Ajax\JsUtils;
8 7
 
9 8
 /**
10 9
  * Base class for Html collections
Please login to merge, or discard this patch.
Ajax/common/traits/JqueryAjaxTrait.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,6 @@
 block discarded – undo
3 3
 namespace Ajax\common\traits;
4 4
 
5 5
 use Ajax\service\JString;
6
-use Ajax\service\PhalconUtils;
7
-use Symfony\Component\Config\Definition\Exception\Exception;
8 6
 trait JqueryAjaxTrait {
9 7
 
10 8
 	protected $ajaxLoader='<span></span><span></span><span></span><span></span><span></span>';
Please login to merge, or discard this patch.
Ajax/semantic/html/modules/HtmlProgress.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Ajax\semantic\html\base\HtmlSemDoubleElement;
6 6
 use Ajax\JsUtils;
7 7
 use Ajax\service\JArray;
8
-
9 8
 use Ajax\semantic\html\base\constants\State;
10 9
 
11 10
 class HtmlProgress extends HtmlSemDoubleElement {
Please login to merge, or discard this patch.
Ajax/semantic/html/elements/HtmlLabel.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -91,12 +91,12 @@
 block discarded – undo
91 91
 	}
92 92
 
93 93
 	/**
94
-	*  Adds an image
95
-	* @param string $src
96
-	* @param string $alt
97
-	* @param boolean $before
98
-	* @return \Ajax\semantic\html\elements\html5\HtmlImg
99
-	*/
94
+	 *  Adds an image
95
+	 * @param string $src
96
+	 * @param string $alt
97
+	 * @param boolean $before
98
+	 * @return \Ajax\semantic\html\elements\html5\HtmlImg
99
+	 */
100 100
 	public function addImage($src, $alt="", $before=true) {
101 101
 		$img=new HtmlImg("image-" . $this->identifier, $src, $alt);
102 102
 		$img->setClass("");
Please login to merge, or discard this patch.
Ajax/bootstrap/html/HtmlAccordion.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -50,14 +50,14 @@
 block discarded – undo
50 50
 	}
51 51
 
52 52
 		/**
53
-	 * render the content of $controller::$action and set the response to a new panel
54
-	 * @param JsUtils $js
55
-	 * @param string $title The panel title
56
-	 * @param Controller $initialController
57
-	 * @param string $controller a Phalcon controller
58
-	 * @param string $action a Phalcon action
59
-	 * @param array $params
60
-	 */
53
+		 * render the content of $controller::$action and set the response to a new panel
54
+		 * @param JsUtils $js
55
+		 * @param string $title The panel title
56
+		 * @param Controller $initialController
57
+		 * @param string $controller a Phalcon controller
58
+		 * @param string $action a Phalcon action
59
+		 * @param array $params
60
+		 */
61 61
 	public function forwardPanel(JsUtils $js,$title,$initialController,$controller,$action,$params=array()){
62 62
 		return $this->addPanel($title, $js->forward($initialController, $controller, $action,$params));
63 63
 	}
Please login to merge, or discard this patch.
Ajax/php/symfony/JsUtils.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -48,15 +48,15 @@
 block discarded – undo
48 48
 	}
49 49
 
50 50
 	public function renderContent($initialControllerInstance,$viewName, $params=NULL) {
51
-        if ($initialControllerInstance->has('templating')) {
52
-            return $initialControllerInstance->get('templating')->render($viewName, $params);
53
-        }
51
+		if ($initialControllerInstance->has('templating')) {
52
+			return $initialControllerInstance->get('templating')->render($viewName, $params);
53
+		}
54 54
 
55
-        if (!$initialControllerInstance->has('twig')) {
56
-            throw new \LogicException('You can not use the "renderView" method if the Templating Component or the Twig Bundle are not available.');
57
-        }
55
+		if (!$initialControllerInstance->has('twig')) {
56
+			throw new \LogicException('You can not use the "renderView" method if the Templating Component or the Twig Bundle are not available.');
57
+		}
58 58
 
59
-        return $initialControllerInstance->get('twig')->render($viewName, $params);
59
+		return $initialControllerInstance->get('twig')->render($viewName, $params);
60 60
 	}
61 61
 
62 62
 	public function fromDispatcher($dispatcher){
Please login to merge, or discard this patch.
Ajax/bootstrap/html/content/HtmlGridRow.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Ajax\semantic\html\base\HtmlSemDoubleElement;
6 6
 use Ajax\JsUtils;
7 7
 use Ajax\service\JArray;
8
-
9 8
 use Ajax\semantic\html\base\constants\State;
10 9
 
11 10
 class HtmlProgress extends HtmlSemDoubleElement {
Please login to merge, or discard this patch.
Ajax/bootstrap/html/HtmlCarousel.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Ajax\semantic\html\base\HtmlSemDoubleElement;
6 6
 use Ajax\JsUtils;
7 7
 use Ajax\service\JArray;
8
-
9 8
 use Ajax\semantic\html\base\constants\State;
10 9
 
11 10
 class HtmlProgress extends HtmlSemDoubleElement {
Please login to merge, or discard this patch.