Completed
Pull Request — master (#67)
by
unknown
01:33
created
src/AfriCC/EPP/Extension/NASK/Create/Domain.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,9 +8,9 @@
 block discarded – undo
8 8
 class Domain extends DomainCreate implements ExtensionInterface
9 9
 {
10 10
 
11
-    protected $extension= 'extdom';
11
+    protected $extension = 'extdom';
12 12
 
13
-    protected $extension_xmlns='http://www.dns.pl/nask-epp-schema/extdom-2.0';
13
+    protected $extension_xmlns = 'http://www.dns.pl/nask-epp-schema/extdom-2.0';
14 14
 
15 15
     public function getExtensionNamespace()
16 16
     {
Please login to merge, or discard this patch.
src/AfriCC/EPP/Extension/NASK/Create/Contact.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
      *
21 21
      * @param bool $individual True if person, false if company
22 22
      */
23
-    public function setIndividual($individual=false){
23
+    public function setIndividual($individual = false) {
24 24
         $this->set('//epp:epp/epp:command/epp:extension/extcon:create/extcon:individual', $individual ? 1 : 0);
25 25
     }
26 26
 
@@ -36,8 +36,8 @@  discard block
 block discarded – undo
36 36
      *
37 37
      * @param bool $consent
38 38
      */
39
-    public function setConsentForPublishing($consent=false){
40
-        $this->set('//epp:epp/epp:command/epp:extension/extcon:create/extcon:consentForPublishing', $consent ? 1 : 0 );
39
+    public function setConsentForPublishing($consent = false) {
40
+        $this->set('//epp:epp/epp:command/epp:extension/extcon:create/extcon:consentForPublishing', $consent ? 1 : 0);
41 41
     }
42 42
 }
43 43
 
Please login to merge, or discard this patch.
src/AfriCC/EPP/Extension/NASK/Info/Contact.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
      * @param string $pw authinfo
22 22
      * @param string $roid If specified, authinfo is of domain whose registrant is this contact
23 23
      */
24
-    public function setAuthInfo($pw, $roid = null){
24
+    public function setAuthInfo($pw, $roid = null) {
25 25
         $node = $this->set('//epp:epp/epp:command/epp:extension/extcon:info/extcon:authInfo/extcon:pw', $pw);
26 26
 
27 27
         if ($roid !== null) {
Please login to merge, or discard this patch.
src/AfriCC/EPP/Extension/NASK/Update/Domain.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -8,9 +8,9 @@  discard block
 block discarded – undo
8 8
 class Domain extends DomainUpdate implements ExtensionInterface
9 9
 {
10 10
 
11
-    protected $extension= 'extdom';
11
+    protected $extension = 'extdom';
12 12
 
13
-    protected $extension_xmlns='http://www.dns.pl/nask-epp-schema/extdom-2.0';
13
+    protected $extension_xmlns = 'http://www.dns.pl/nask-epp-schema/extdom-2.0';
14 14
 
15 15
     public function getExtensionNamespace()
16 16
     {
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
         return $this->addNs($host, true);
38 38
     }
39 39
 
40
-    public function addHostObj($host, $remove=false)
40
+    public function addHostObj($host, $remove = false)
41 41
     {
42 42
         return $this->addNs($host, $remove);
43 43
     }
Please login to merge, or discard this patch.
src/AfriCC/EPP/Extension/NASK/Update/Contact.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
      *
21 21
      * @param bool $individual True if person, false if company
22 22
      */
23
-    public function setIndividual($individual=false){
23
+    public function setIndividual($individual = false) {
24 24
         $this->set('//epp:epp/epp:command/epp:extension/extcon:update/extcon:individual', $individual ? 1 : 0);
25 25
     }
26 26
 
@@ -36,8 +36,8 @@  discard block
 block discarded – undo
36 36
      *
37 37
      * @param bool $consent
38 38
      */
39
-    public function setConsentForPublishing($consent=false){
40
-        $this->set('//epp:epp/epp:command/epp:extension/extcon:update/extcon:consentForPublishing', $consent ? 1 : 0 );
39
+    public function setConsentForPublishing($consent = false) {
40
+        $this->set('//epp:epp/epp:command/epp:extension/extcon:update/extcon:consentForPublishing', $consent ? 1 : 0);
41 41
     }
42 42
 
43 43
 }
Please login to merge, or discard this patch.
src/AfriCC/EPP/Extension/NASK/Transfer/Domain.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
      *
21 21
      * This element can only be applied on request frame with no period specified
22 22
      */
23
-    public function resendConfirmationRequest(){
23
+    public function resendConfirmationRequest() {
24 24
         $this->set('//epp:epp/epp:command/epp:extension/extdom:transfer/extdom:resendConfirmationRequest');
25 25
     }
26 26
 
Please login to merge, or discard this patch.
src/AfriCC/EPP/Extension/NASK/Transfer/Future.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -10,9 +10,9 @@  discard block
 block discarded – undo
10 10
 class Future extends TransferCommand implements ExtensionInterface
11 11
 {
12 12
 
13
-    protected $extension= 'extfut';
13
+    protected $extension = 'extfut';
14 14
 
15
-    protected $extension_xmlns='http://www.dns.pl/nask-epp-schema/extfut-2.0';
15
+    protected $extension_xmlns = 'http://www.dns.pl/nask-epp-schema/extfut-2.0';
16 16
 
17 17
     public function getExtensionNamespace()
18 18
     {
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
         }
51 51
     }
52 52
 
53
-    public function resendConfirmationRequest(){
53
+    public function resendConfirmationRequest() {
54 54
         $this->set('//epp:epp/epp:command/epp:extension/extfut:transfer/extfut:resendConfirmationRequest');
55 55
     }
56 56
 }
Please login to merge, or discard this patch.
src/AfriCC/EPP/Extension/NASK/Report/Domain.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
     {
77 77
         $node = $this->set('extreport:domain/extreport:statuses');
78 78
         
79
-        $node->setAttribute('statusesIn', ($statusesIn) ? 'true':'false');
79
+        $node->setAttribute('statusesIn', ($statusesIn) ? 'true' : 'false');
80 80
     }
81 81
 }
82 82
 
Please login to merge, or discard this patch.
src/AfriCC/EPP/Extension/NASK/Report/Prepaid.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
      */
15 15
     private function isAccountType($accountType)
16 16
     {
17
-        switch (strtoupper($accountType)){
17
+        switch (strtoupper($accountType)) {
18 18
             case 'DOMAIN':
19 19
             case 'ENUM':
20 20
                 return true;
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      */
42 42
     public function setPaymentsAccountType($accountType)
43 43
     {
44
-        if(!$this->isAccountType($accountType)){
44
+        if (!$this->isAccountType($accountType)) {
45 45
             throw new \Exception(sprintf('"%s" is not valid Account Type!', $accountType));
46 46
         }
47 47
         $this->set('extreport:prepaid/extreport:payment/extreport:accountType', $accountType);
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
      */
66 66
     public function setFundsAccountType($accountType)
67 67
     {
68
-        if(!$this->isAccountType($accountType)){
68
+        if (!$this->isAccountType($accountType)) {
69 69
             throw new \Exception(sprintf('"%s" is not valid Account Type!', $accountType));
70 70
         }
71 71
         $this->set('extreport:prepaid/extreport:paymentFunds/extreport:accountType', $accountType);
Please login to merge, or discard this patch.