Passed
Push — master ( 6d276a...5c767a )
by Jean-Christophe
02:21
created
Ajax/semantic/html/base/constants/CheckboxType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,5 +5,5 @@
 block discarded – undo
5 5
 use Ajax\common\BaseEnum;
6 6
 
7 7
 abstract class CheckboxType extends BaseEnum {
8
-	const STANDARD="",TOGGLE="toggle",SLIDER="slider";
8
+	const STANDARD="", TOGGLE="toggle", SLIDER="slider";
9 9
 }
Please login to merge, or discard this patch.
Ajax/semantic/html/base/constants/State.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
 			$state=\explode(" ", $state);
14 14
 		}
15 15
 		if (\is_array($elements)) {
16
-			foreach ( $elements as $element ) {
16
+			foreach ($elements as $element) {
17 17
 				if ($element instanceof BaseHtml) {
18 18
 					self::_add($state, $element);
19 19
 				}
@@ -22,8 +22,8 @@  discard block
 block discarded – undo
22 22
 	}
23 23
 
24 24
 	private static function _add($states, $element) {
25
-		foreach ( $states as $state ) {
26
-			$element->addToPropertyCtrl("class", $state, array ($state ));
25
+		foreach ($states as $state) {
26
+			$element->addToPropertyCtrl("class", $state, array($state));
27 27
 		}
28 28
 	}
29 29
 }
Please login to merge, or discard this patch.
Ajax/semantic/html/base/constants/Size.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,5 +2,5 @@
 block discarded – undo
2 2
 namespace Ajax\semantic\html\base\constants;
3 3
 	use Ajax\common\BaseEnum;
4 4
 abstract class Size extends BaseEnum {
5
-	const MASSIVE="massive",HUGE="huge",BIG="big",LARGE="large",MEDIUM="",SMALL="small",TINY="tiny",MINI="mini";
5
+	const MASSIVE="massive", HUGE="huge", BIG="big", LARGE="large", MEDIUM="", SMALL="small", TINY="tiny", MINI="mini";
6 6
 }
Please login to merge, or discard this patch.
Ajax/semantic/html/base/constants/StepStatus.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,5 +5,5 @@
 block discarded – undo
5 5
 use Ajax\common\BaseEnum;
6 6
 
7 7
 abstract class StepStatus extends BaseEnum {
8
-	const ACTIVE="active",COMPLETED="completed",DISABLED="disabled",NONE="";
8
+	const ACTIVE="active", COMPLETED="completed", DISABLED="disabled", NONE="";
9 9
 }
Please login to merge, or discard this patch.
Ajax/semantic/html/base/traits/TextAlignmentTrait.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -12,23 +12,23 @@
 block discarded – undo
12 12
 	 * @param string $value
13 13
 	 * @return \Ajax\semantic\html\base\HtmlSemDoubleElement
14 14
 	 */
15
-	public function setTextAlignment($value=TextAlignment::LEFT){
16
-		return $this->addToPropertyCtrl("class", $value,TextAlignment::getConstants());
15
+	public function setTextAlignment($value=TextAlignment::LEFT) {
16
+		return $this->addToPropertyCtrl("class", $value, TextAlignment::getConstants());
17 17
 	}
18 18
 
19
-	public function textCenterAligned(){
19
+	public function textCenterAligned() {
20 20
 		return $this->setTextAlignment(TextAlignment::CENTER);
21 21
 	}
22 22
 
23
-	public function textJustified(){
23
+	public function textJustified() {
24 24
 		return $this->setTextAlignment(TextAlignment::JUSTIFIED);
25 25
 	}
26 26
 
27
-	public function textRightAligned(){
27
+	public function textRightAligned() {
28 28
 		return $this->setTextAlignment(TextAlignment::RIGHT);
29 29
 	}
30 30
 
31
-	public function textLeftAligned(){
31
+	public function textLeftAligned() {
32 32
 		return $this->setTextAlignment();
33 33
 	}
34 34
 }
Please login to merge, or discard this patch.
Ajax/semantic/html/views/HtmlCard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 
7 7
 class HtmlCard extends HtmlViewItem {
8 8
 
9
-	public function __construct($identifier,$content=NULL) {
9
+	public function __construct($identifier, $content=NULL) {
10 10
 		parent::__construct($identifier, "ui card", $content);
11 11
 	}
12 12
 }
Please login to merge, or discard this patch.
Ajax/semantic/html/collections/menus/HtmlLabeledIconMenu.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -12,15 +12,15 @@  discard block
 block discarded – undo
12 12
  * @author jc
13 13
  * @version 1.001
14 14
  */
15
-class HtmlLabeledIconMenu extends HtmlMenu{
15
+class HtmlLabeledIconMenu extends HtmlMenu {
16 16
 
17 17
 
18 18
 	/**
19 19
 	 * @param string $identifier
20 20
 	 * @param array $items icons
21 21
 	 */
22
-	public function __construct( $identifier, $items=array()){
23
-		parent::__construct( $identifier, $items);
22
+	public function __construct($identifier, $items=array()) {
23
+		parent::__construct($identifier, $items);
24 24
 		$this->addToProperty("class", "labeled icon");
25 25
 	}
26 26
 
@@ -31,14 +31,14 @@  discard block
 block discarded – undo
31 31
 	protected function createItem($value) {
32 32
 		$text="";
33 33
 		$v=$value;
34
-		if(\is_array($value)){
34
+		if (\is_array($value)) {
35 35
 			$v=@$value[0];
36 36
 			$text=@$value[1];
37 37
 		}
38 38
 		$count=\sizeof($this->content);
39 39
 		$value=new HtmlIcon("icon-".$count, $v);
40
-		$value->wrap("",$text);
41
-		$itemO=new HtmlLink("item-".$count,"",$value);
40
+		$value->wrap("", $text);
41
+		$itemO=new HtmlLink("item-".$count, "", $value);
42 42
 		return $itemO->setClass("item");
43 43
 	}
44 44
 }
Please login to merge, or discard this patch.
Ajax/semantic/html/collections/menus/HtmlIconMenu.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -12,15 +12,15 @@  discard block
 block discarded – undo
12 12
  * @author jc
13 13
  * @version 1.001
14 14
  */
15
-class HtmlIconMenu extends HtmlMenu{
15
+class HtmlIconMenu extends HtmlMenu {
16 16
 
17 17
 
18 18
 	/**
19 19
 	 * @param string $identifier
20 20
 	 * @param array $items icons
21 21
 	 */
22
-	public function __construct( $identifier, $items=array()){
23
-		parent::__construct( $identifier, $items);
22
+	public function __construct($identifier, $items=array()) {
23
+		parent::__construct($identifier, $items);
24 24
 		$this->addToProperty("class", "icon");
25 25
 	}
26 26
 
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 	protected function createItem($value) {
33 33
 		$count=\sizeof($this->content);
34 34
 		$value=new HtmlIcon("icon-".$count, $value);
35
-		$itemO=new HtmlLink("item-".$count,"",$value);
35
+		$itemO=new HtmlLink("item-".$count, "", $value);
36 36
 		return $itemO->setClass("item");
37 37
 	}
38 38
 }
Please login to merge, or discard this patch.
Ajax/semantic/widgets/datatable/PositionInTable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,5 +3,5 @@
 block discarded – undo
3 3
 use Ajax\common\BaseEnum;
4 4
 
5 5
 abstract class PositionInTable extends BaseEnum {
6
-	const BEFORETABLE="beforeTable",AFTERTABLE="afterTable",HEADER="thead",FOOTER="tfoot",BODY="tbody";
6
+	const BEFORETABLE="beforeTable", AFTERTABLE="afterTable", HEADER="thead", FOOTER="tfoot", BODY="tbody";
7 7
 }
Please login to merge, or discard this patch.