Completed
Branch develop (52acd2)
by
unknown
24:38
created
egulias/email-validator/EmailValidator/Warning/ObsoleteDTEXT.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -4,11 +4,11 @@
 block discarded – undo
4 4
 
5 5
 class ObsoleteDTEXT extends Warning
6 6
 {
7
-    const CODE = 71;
7
+	const CODE = 71;
8 8
 
9
-    public function __construct()
10
-    {
11
-        $this->rfcNumber = 5322;
12
-        $this->message = 'Obsolete DTEXT in domain literal';
13
-    }
9
+	public function __construct()
10
+	{
11
+		$this->rfcNumber = 5322;
12
+		$this->message = 'Obsolete DTEXT in domain literal';
13
+	}
14 14
 }
Please login to merge, or discard this patch.
swiftmailer/egulias/email-validator/EmailValidator/Warning/QuotedPart.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -4,14 +4,14 @@
 block discarded – undo
4 4
 
5 5
 class QuotedPart extends Warning
6 6
 {
7
-    const CODE = 36;
7
+	const CODE = 36;
8 8
 
9
-    /**
10
-     * @param scalar $prevToken
11
-     * @param scalar $postToken
12
-     */
13
-    public function __construct($prevToken, $postToken)
14
-    {
15
-        $this->message = "Deprecated Quoted String found between $prevToken and $postToken";
16
-    }
9
+	/**
10
+	 * @param scalar $prevToken
11
+	 * @param scalar $postToken
12
+	 */
13
+	public function __construct($prevToken, $postToken)
14
+	{
15
+		$this->message = "Deprecated Quoted String found between $prevToken and $postToken";
16
+	}
17 17
 }
Please login to merge, or discard this patch.
swiftmailer/egulias/email-validator/EmailValidator/Warning/CFWSNearAt.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -4,10 +4,10 @@
 block discarded – undo
4 4
 
5 5
 class CFWSNearAt extends Warning
6 6
 {
7
-    const CODE = 49;
7
+	const CODE = 49;
8 8
 
9
-    public function __construct()
10
-    {
11
-        $this->message = "Deprecated folding white space near @";
12
-    }
9
+	public function __construct()
10
+	{
11
+		$this->message = "Deprecated folding white space near @";
12
+	}
13 13
 }
Please login to merge, or discard this patch.
includes/swiftmailer/egulias/email-validator/EmailValidator/Warning/TLD.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -4,10 +4,10 @@
 block discarded – undo
4 4
 
5 5
 class TLD extends Warning
6 6
 {
7
-    const CODE = 9;
7
+	const CODE = 9;
8 8
 
9
-    public function __construct()
10
-    {
11
-        $this->message = "RFC5321, TLD";
12
-    }
9
+	public function __construct()
10
+	{
11
+		$this->message = "RFC5321, TLD";
12
+	}
13 13
 }
Please login to merge, or discard this patch.
egulias/email-validator/EmailValidator/Warning/IPV6MaxGroups.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -4,11 +4,11 @@
 block discarded – undo
4 4
 
5 5
 class IPV6MaxGroups extends Warning
6 6
 {
7
-    const CODE = 75;
7
+	const CODE = 75;
8 8
 
9
-    public function __construct()
10
-    {
11
-        $this->message = 'Reached the maximum number of IPV6 groups allowed';
12
-        $this->rfcNumber = 5321;
13
-    }
9
+	public function __construct()
10
+	{
11
+		$this->message = 'Reached the maximum number of IPV6 groups allowed';
12
+		$this->rfcNumber = 5321;
13
+	}
14 14
 }
Please login to merge, or discard this patch.
egulias/email-validator/EmailValidator/Warning/AddressLiteral.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -4,11 +4,11 @@
 block discarded – undo
4 4
 
5 5
 class AddressLiteral extends Warning
6 6
 {
7
-    const CODE = 12;
7
+	const CODE = 12;
8 8
 
9
-    public function __construct()
10
-    {
11
-        $this->message = 'Address literal in domain part';
12
-        $this->rfcNumber = 5321;
13
-    }
9
+	public function __construct()
10
+	{
11
+		$this->message = 'Address literal in domain part';
12
+		$this->rfcNumber = 5321;
13
+	}
14 14
 }
Please login to merge, or discard this patch.
egulias/email-validator/EmailValidator/Warning/IPV6GroupCount.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -4,11 +4,11 @@
 block discarded – undo
4 4
 
5 5
 class IPV6GroupCount extends Warning
6 6
 {
7
-    const CODE = 72;
7
+	const CODE = 72;
8 8
 
9
-    public function __construct()
10
-    {
11
-        $this->message = 'Group count is not IPV6 valid';
12
-        $this->rfcNumber = 5322;
13
-    }
9
+	public function __construct()
10
+	{
11
+		$this->message = 'Group count is not IPV6 valid';
12
+		$this->rfcNumber = 5322;
13
+	}
14 14
 }
Please login to merge, or discard this patch.
swiftmailer/egulias/email-validator/EmailValidator/Warning/LabelTooLong.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -4,11 +4,11 @@
 block discarded – undo
4 4
 
5 5
 class LabelTooLong extends Warning
6 6
 {
7
-    const CODE = 63;
7
+	const CODE = 63;
8 8
 
9
-    public function __construct()
10
-    {
11
-        $this->message = 'Label too long';
12
-        $this->rfcNumber = 5322;
13
-    }
9
+	public function __construct()
10
+	{
11
+		$this->message = 'Label too long';
12
+		$this->rfcNumber = 5322;
13
+	}
14 14
 }
Please login to merge, or discard this patch.
swiftmailer/egulias/email-validator/EmailValidator/Warning/Warning.php 2 patches
Indentation   +40 added lines, -40 removed lines patch added patch discarded remove patch
@@ -4,44 +4,44 @@
 block discarded – undo
4 4
 
5 5
 abstract class Warning
6 6
 {
7
-    const CODE = 0;
8
-
9
-    /**
10
-     * @var string
11
-     */
12
-    protected $message = '';
13
-
14
-    /**
15
-     * @var int
16
-     */
17
-    protected $rfcNumber = 0;
18
-
19
-    /**
20
-     * @return string
21
-     */
22
-    public function message()
23
-    {
24
-        return $this->message;
25
-    }
26
-
27
-    /**
28
-     * @return int
29
-     */
30
-    public function code()
31
-    {
32
-        return static::CODE;
33
-    }
34
-
35
-    /**
36
-     * @return int
37
-     */
38
-    public function RFCNumber()
39
-    {
40
-        return $this->rfcNumber;
41
-    }
42
-
43
-    public function __toString()
44
-    {
45
-        return $this->message() . " rfc: " .  $this->rfcNumber . "interal code: " . static::CODE;
46
-    }
7
+	const CODE = 0;
8
+
9
+	/**
10
+	 * @var string
11
+	 */
12
+	protected $message = '';
13
+
14
+	/**
15
+	 * @var int
16
+	 */
17
+	protected $rfcNumber = 0;
18
+
19
+	/**
20
+	 * @return string
21
+	 */
22
+	public function message()
23
+	{
24
+		return $this->message;
25
+	}
26
+
27
+	/**
28
+	 * @return int
29
+	 */
30
+	public function code()
31
+	{
32
+		return static::CODE;
33
+	}
34
+
35
+	/**
36
+	 * @return int
37
+	 */
38
+	public function RFCNumber()
39
+	{
40
+		return $this->rfcNumber;
41
+	}
42
+
43
+	public function __toString()
44
+	{
45
+		return $this->message() . " rfc: " .  $this->rfcNumber . "interal code: " . static::CODE;
46
+	}
47 47
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,6 +42,6 @@
 block discarded – undo
42 42
 
43 43
     public function __toString()
44 44
     {
45
-        return $this->message() . " rfc: " .  $this->rfcNumber . "interal code: " . static::CODE;
45
+        return $this->message()." rfc: ".$this->rfcNumber."interal code: ".static::CODE;
46 46
     }
47 47
 }
Please login to merge, or discard this patch.