Completed
Push — master ( 28e149...cc2c18 )
by Davis
03:19
created
src/Davispeixoto/ForceDotComToolkitForPhp/SforceBaseClient.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -83,8 +83,8 @@  discard block
 block discarded – undo
83 83
 
84 84
     public function printDebugInfo()
85 85
     {
86
-        echo 'PHP Toolkit Version: ' . $this->version . PHP_EOL;
87
-        echo 'Current PHP version: ' . PHP_VERSION;
86
+        echo 'PHP Toolkit Version: '.$this->version.PHP_EOL;
87
+        echo 'Current PHP version: '.PHP_VERSION;
88 88
         echo PHP_EOL;
89 89
         echo 'SOAP enabled: ';
90 90
         if (extension_loaded('soap')) {
@@ -115,11 +115,11 @@  discard block
 block discarded – undo
115 115
     {
116 116
         // use correct version comparison
117 117
         if (version_compare(PHP_VERSION, '5.3', '<')) {
118
-            throw new Exception ('PHP versions older than 5.3 are no longer supported. Please upgrade!');
118
+            throw new Exception('PHP versions older than 5.3 are no longer supported. Please upgrade!');
119 119
         }
120 120
 
121 121
         $soapClientArray = array_merge(array(
122
-            'user_agent' => 'salesforce-toolkit-php/' . $this->version,
122
+            'user_agent' => 'salesforce-toolkit-php/'.$this->version,
123 123
             'encoding' => 'utf-8',
124 124
             'trace' => 1,
125 125
             'features' => SOAP_SINGLE_ELEMENT_ARRAYS,
@@ -540,7 +540,7 @@  discard block
 block discarded – undo
540 540
     {
541 541
         $anyString = '';
542 542
         foreach ($fields as $key => $value) {
543
-            $anyString = $anyString . '<' . $key . '>' . $value . '</' . $key . '>';
543
+            $anyString = $anyString.'<'.$key.'>'.$value.'</'.$key.'>';
544 544
         }
545 545
 
546 546
         return $anyString;
@@ -595,7 +595,7 @@  discard block
 block discarded – undo
595 595
             return $this->_sendEmail($arg);
596 596
         } else {
597 597
             $backtrace = debug_backtrace();
598
-            error_log('Please pass in array to this function:  ' . $backtrace[0]['function']);
598
+            error_log('Please pass in array to this function:  '.$backtrace[0]['function']);
599 599
             return false;
600 600
         }
601 601
     }
@@ -614,7 +614,7 @@  discard block
 block discarded – undo
614 614
             return $this->_sendEmail($arg);
615 615
         } else {
616 616
             $backtrace = debug_backtrace();
617
-            error_log('Please pass in array to this function:  ' . $backtrace[0]['function']);
617
+            error_log('Please pass in array to this function:  '.$backtrace[0]['function']);
618 618
             return false;
619 619
         }
620 620
     }
@@ -722,7 +722,7 @@  discard block
 block discarded – undo
722 722
             return $this->_process($arg);
723 723
         } else {
724 724
             $backtrace = debug_backtrace();
725
-            error_log('Please pass in array to this function:  ' . $backtrace[0]['function']);
725
+            error_log('Please pass in array to this function:  '.$backtrace[0]['function']);
726 726
             return false;
727 727
         }
728 728
     }
@@ -745,7 +745,7 @@  discard block
 block discarded – undo
745 745
             return $this->_process($arg);
746 746
         } else {
747 747
             $backtrace = debug_backtrace();
748
-            error_log('Please pass in array to this function:  ' . $backtrace[0]['function']);
748
+            error_log('Please pass in array to this function:  '.$backtrace[0]['function']);
749 749
             return false;
750 750
         }
751 751
     }
Please login to merge, or discard this patch.
src/Davispeixoto/ForceDotComToolkitForPhp/SforceMetadataClient.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
         $phpversion = substr(PHP_VERSION, 0, strpos(PHP_VERSION, '-'));
47 47
         if ($phpversion > '5.1.2') {
48 48
             $soapClientArray = array(
49
-                'user_agent' => 'salesforce-toolkit-php/' . $this->version,
49
+                'user_agent' => 'salesforce-toolkit-php/'.$this->version,
50 50
                 'encoding' => 'utf-8',
51 51
                 'trace' => 1,
52 52
                 'compression' => SOAP_COMPRESSION_ACCEPT | SOAP_COMPRESSION_GZIP,
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
             );
55 55
         } else {
56 56
             $soapClientArray = array(
57
-                'user_agent' => 'salesforce-toolkit-php/' . $this->version,
57
+                'user_agent' => 'salesforce-toolkit-php/'.$this->version,
58 58
                 'encoding' => 'utf-8',
59 59
                 'trace' => 1,
60 60
                 'sessionId' => $loginResult->sessionId
Please login to merge, or discard this patch.