Completed
Push — master ( 79b035...e37d9a )
by Jean-Christophe
03:44
created
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
 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/Wide.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;
3 3
 	use Ajax\common\BaseEnum;
4 4
 abstract class Wide extends BaseEnum {
5
-	const W1="one", W2="two", W3="three", W4="four",W5="five", W6="six", W7="seven", W8="eight",W9="nine",W10="ten",W11="eleven",W12="twelve",W13="thirteen",W14="fourteen",W15="fifteen",W16="sixteen";
5
+	const W1="one", W2="two", W3="three", W4="four", W5="five", W6="six", W7="seven", W8="eight", W9="nine", W10="ten", W11="eleven", W12="twelve", W13="thirteen", W14="fourteen", W15="fifteen", W16="sixteen";
6 6
 }
7 7
\ 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/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/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;
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",MINI="mini",TINY="tiny";
5
+	const MASSIVE="massive", HUGE="huge", BIG="big", LARGE="large", MEDIUM="", SMALL="small", MINI="mini", TINY="tiny";
6 6
 }
7 7
\ No newline at end of file
Please login to merge, or discard this patch.
Ajax/semantic/html/base/traits/BaseTrait.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -9,20 +9,20 @@  discard block
 block discarded – undo
9 9
 	protected $_states=[];
10 10
 	protected $_baseClass;
11 11
 
12
-	public function addVariation($variation){
12
+	public function addVariation($variation) {
13 13
 		return $this->addToPropertyCtrl("class", $variation, $this->_variations);
14 14
 	}
15 15
 
16
-	public function addState($state){
16
+	public function addState($state) {
17 17
 		return $this->addToPropertyCtrl("class", $state, $this->_states);
18 18
 	}
19 19
 
20
-	public function setVariation($variation){
20
+	public function setVariation($variation) {
21 21
 		$this->setPropertyCtrl("class", $variation, $this->_variations);
22 22
 		return $this->addToProperty("class", $this->_baseClass);
23 23
 	}
24 24
 
25
-	public function setState($state){
25
+	public function setState($state) {
26 26
 		$this->setPropertyCtrl("class", $state, $this->_states);
27 27
 		return $this->addToProperty("class", $this->_baseClass);
28 28
 	}
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 	 * {@inheritDoc}
32 32
 	 * @see \Ajax\common\html\HtmlSingleElement::setSize()
33 33
 	 */
34
-	public function setSize($size){
34
+	public function setSize($size) {
35 35
 		return $this->addToPropertyCtrl("class", $size, Size::getConstants());
36 36
 	}
37 37
 
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
 	 * show it is currently unable to be interacted with
40 40
 	 * @return \Ajax\semantic\html\elements\HtmlSemDoubleElement
41 41
 	 */
42
-	public function setDisabled(){
42
+	public function setDisabled() {
43 43
 		return $this->addToProperty("class", "disabled");
44 44
 	}
45 45
 
@@ -47,18 +47,18 @@  discard block
 block discarded – undo
47 47
 	 * @param string $color
48 48
 	 * @return \Ajax\semantic\html\base\HtmlSemDoubleElement
49 49
 	 */
50
-	public function setColor($color){
51
-		return $this->addToPropertyCtrl("class", $color,Color::getConstants());
50
+	public function setColor($color) {
51
+		return $this->addToPropertyCtrl("class", $color, Color::getConstants());
52 52
 	}
53 53
 
54
-	public function setFluid(){
54
+	public function setFluid() {
55 55
 		$this->addToProperty("class", "fluid");
56 56
 	}
57 57
 
58 58
 	/**
59 59
 	 * can be formatted to appear on dark backgrounds
60 60
 	 */
61
-	public function setInverted(){
61
+	public function setInverted() {
62 62
 		$this->addToProperty("class", "inverted");
63 63
 	}
64 64
 }
65 65
\ No newline at end of file
Please login to merge, or discard this patch.
Ajax/semantic/html/base/traits/TextAlignmentTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 	 * @param string $value
11 11
 	 * @return \Ajax\semantic\html\base\HtmlSemDoubleElement
12 12
 	 */
13
-	public function setTextAlignment($value=TextAlignment::LEFT){
14
-		return $this->addToPropertyCtrl("class", $value,TextAlignment::getConstants());
13
+	public function setTextAlignment($value=TextAlignment::LEFT) {
14
+		return $this->addToPropertyCtrl("class", $value, TextAlignment::getConstants());
15 15
 	}
16 16
 }
17 17
\ No newline at end of file
Please login to merge, or discard this patch.
Ajax/semantic/html/elements/HtmlImage.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -14,13 +14,13 @@
 block discarded – undo
14 14
 		$this->setClass($this->_baseClass);
15 15
 	}
16 16
 
17
-	public function setCircular(){
17
+	public function setCircular() {
18 18
 		return $this->addToProperty("class", "circular");
19 19
 	}
20 20
 
21
-	public function asAvatar($caption=NULL){
22
-		if(isset($caption))
23
-			$this->wrap("",$caption);
21
+	public function asAvatar($caption=NULL) {
22
+		if (isset($caption))
23
+			$this->wrap("", $caption);
24 24
 		return $this->addToProperty("class", "avatar");
25 25
 	}
26 26
 }
27 27
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,8 +19,9 @@
 block discarded – undo
19 19
 	}
20 20
 
21 21
 	public function asAvatar($caption=NULL){
22
-		if(isset($caption))
23
-			$this->wrap("",$caption);
22
+		if(isset($caption)) {
23
+					$this->wrap("",$caption);
24
+		}
24 25
 		return $this->addToProperty("class", "avatar");
25 26
 	}
26 27
 }
27 28
\ No newline at end of file
Please login to merge, or discard this patch.
Ajax/semantic/html/elements/HtmlIconGroups.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -11,21 +11,21 @@
 block discarded – undo
11 11
  */
12 12
 class HtmlIconGroups extends HtmlSemDoubleElement {
13 13
 
14
-	public function __construct($identifier,$size="") {
15
-		parent::__construct($identifier, "i","icons");
14
+	public function __construct($identifier, $size="") {
15
+		parent::__construct($identifier, "i", "icons");
16 16
 		$this->setSize($size);
17 17
 	}
18 18
 
19
-	public function add($icon,$size=""){
19
+	public function add($icon, $size="") {
20 20
 		$iconO=$icon;
21
-		if(\is_string($icon)){
21
+		if (\is_string($icon)) {
22 22
 			$iconO=new HtmlIcon("icon-".$this->identifier, $icon);
23 23
 			$iconO->setSize($size);
24 24
 		}
25 25
 		$this->addContent($iconO);
26 26
 	}
27 27
 
28
-	public function getIcon($index){
28
+	public function getIcon($index) {
29 29
 		return $this->content[$index];
30 30
 	}
31 31
 }
32 32
\ No newline at end of file
Please login to merge, or discard this patch.