Completed
Push — master ( 40080a...3f2ff8 )
by Jean-Christophe
04:12 queued 01:14
created
Ajax/semantic/html/base/constants/State.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,11 +9,11 @@  discard block
 block discarded – undo
9 9
 	const ACTIVE="active", DISABLED="disabled", ERROR="error", FOCUS="focus", LOADING="loading", NEGATIVE="negative", POSITIVE="positive", SUCCESS="success", WARNING="warning";
10 10
 
11 11
 	public static function add($state, $elements) {
12
-		if (\is_array($state) === false) {
12
+		if (\is_array($state)===false) {
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
 }
30 30
\ No newline at end of file
Please login to merge, or discard this patch.
Ajax/semantic/html/base/constants/Side.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 Side extends BaseEnum {
8
-	const BOTTOM="bottom",BOTH="",TOP="top";
8
+	const BOTTOM="bottom", BOTH="", TOP="top";
9 9
 }
10 10
\ No newline at end of file
Please login to merge, or discard this patch.
Ajax/semantic/html/base/constants/Style.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 Style extends BaseEnum {
8
-	const INFO="info",SUCCESS="success",POSITIVE="positive",WARNING="warning",ERROR="error",NEGATIVE="negative";
8
+	const INFO="info", SUCCESS="success", POSITIVE="positive", WARNING="warning", ERROR="error", NEGATIVE="negative";
9 9
 }
10 10
\ No newline at end of file
Please login to merge, or discard this patch.
Ajax/semantic/html/base/constants/Emphasis.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 Emphasis extends BaseEnum {
8
-	const PRIMARY="primary",SECONDARY="secondary",TERTIARY="tertiary";
8
+	const PRIMARY="primary", SECONDARY="secondary", TERTIARY="tertiary";
9 9
 }
10 10
\ No newline at end of file
Please login to merge, or discard this patch.
Ajax/semantic/html/base/constants/Sens.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 Sens extends BaseEnum {
5
-	const VERTICAL="vertical", HORIZONTAL="horizontal",NONE="";
5
+	const VERTICAL="vertical", HORIZONTAL="horizontal", NONE="";
6 6
 }
7 7
\ No newline at end of file
Please login to merge, or discard this patch.
Ajax/semantic/html/base/constants/SegmentType.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 SegmentType extends BaseEnum {
8
-	const RAISED="raised",STACKED="stacked",PILED="piled",NORMAL="";
8
+	const RAISED="raised", STACKED="stacked", PILED="piled", NORMAL="";
9 9
 }
10 10
\ No newline at end of file
Please login to merge, or discard this patch.
Ajax/semantic/html/base/constants/VerticalAlignment.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
 class VerticalAlignment extends BaseEnum {
8
-	const TOP="top",MIDDLE="middle",BOTTOM="bottom";
8
+	const TOP="top", MIDDLE="middle", BOTTOM="bottom";
9 9
 }
10 10
\ No newline at end of file
Please login to merge, or discard this patch.
Ajax/semantic/html/base/constants/TextAlignment.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
 class TextAlignment extends BaseEnum {
8
-	const LEFT="left aligned",CENTER="center aligned",RIGHT="right aligned",JUSTIFIED="justified";
8
+	const LEFT="left aligned", CENTER="center aligned", RIGHT="right aligned", JUSTIFIED="justified";
9 9
 }
10 10
\ No newline at end of file
Please login to merge, or discard this patch.
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
 }
10 10
\ No newline at end of file
Please login to merge, or discard this patch.