Test Failed
Branch master (8efd2a)
by Ridvan Lakas ng Bayan
05:20 queued 02:59
created
src/ridvanbaluyos/sms/Sms.php 1 patch
Doc Comments   +5 added lines, -4 removed lines patch added patch discarded remove patch
@@ -37,8 +37,9 @@  discard block
 block discarded – undo
37 37
     /**
38 38
      * This function sends the SMS.
39 39
      *
40
-     * @param $phoneNumber - the mobile number
41
-     * @param $message - the message
40
+     * @param string $phoneNumber - the mobile number
41
+     * @param string $message - the message
42
+     * @return string
42 43
      */
43 44
     public function send($phoneNumber, $message)
44 45
     {
@@ -94,8 +95,8 @@  discard block
 block discarded – undo
94 95
      * standardizes the responses of each.
95 96
      *
96 97
      * @param $code - the response code
97
-     * @param null $message - an optional message aside from the default ones
98
-     * @param null $provider - the SMS provider used. Should only be enabled during debug mode.
98
+     * @param null|string $message - an optional message aside from the default ones
99
+     * @param string $provider - the SMS provider used. Should only be enabled during debug mode.
99 100
      *
100 101
      * @return string $response - the JSON formatted response.
101 102
      */
Please login to merge, or discard this patch.
tests/_support/_generated/AcceptanceTesterActions.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 // @codingStandardsIgnoreFile
7 7
 
8 8
 use Codeception\Module\PhpBrowser;
9
-use Helper\Acceptance;
10 9
 
11 10
 trait AcceptanceTesterActions
12 11
 {
Please login to merge, or discard this patch.
tests/_support/_generated/UnitTesterActions.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 // @codingStandardsIgnoreFile
7 7
 
8 8
 use Codeception\Module\Asserts;
9
-use Helper\Unit;
10 9
 
11 10
 trait UnitTesterActions
12 11
 {
Please login to merge, or discard this patch.
src/ridvanbaluyos/sms/providers/Semaphore.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
             $url = $conf['url'] . '?' . http_build_query($query);
47 47
 
48 48
             $ch = curl_init();
49
-            curl_setopt($ch,CURLOPT_URL,$url);
49
+            curl_setopt($ch, CURLOPT_URL, $url);
50 50
             curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
51 51
             curl_setopt($ch, CURLOPT_TIMEOUT, 240);
52 52
             $result = curl_exec($ch);
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
             $url = $conf['url'] . '/account?' . http_build_query($query);
80 80
 
81 81
             $ch = curl_init();
82
-            curl_setopt($ch,CURLOPT_URL,$url);
82
+            curl_setopt($ch, CURLOPT_URL, $url);
83 83
             curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
84 84
             curl_setopt($ch, CURLOPT_TIMEOUT, 240);
85 85
             $result = curl_exec($ch);
Please login to merge, or discard this patch.
tests/_support/SmsTester.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 {
21 21
     use _generated\SmsTesterActions;
22 22
 
23
-   /**
24
-    * Define custom actions here
25
-    */
23
+    /**
24
+     * Define custom actions here
25
+     */
26 26
 }
Please login to merge, or discard this patch.
tests/_support/FunctionalTester.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 {
21 21
     use _generated\SmsTesterActions;
22 22
 
23
-   /**
24
-    * Define custom actions here
25
-    */
23
+    /**
24
+     * Define custom actions here
25
+     */
26 26
 }
Please login to merge, or discard this patch.
tests/_support/UnitTester.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 {
21 21
     use _generated\SmsTesterActions;
22 22
 
23
-   /**
24
-    * Define custom actions here
25
-    */
23
+    /**
24
+     * Define custom actions here
25
+     */
26 26
 }
Please login to merge, or discard this patch.
tests/_support/AcceptanceTester.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 {
21 21
     use _generated\SmsTesterActions;
22 22
 
23
-   /**
24
-    * Define custom actions here
25
-    */
23
+    /**
24
+     * Define custom actions here
25
+     */
26 26
 }
Please login to merge, or discard this patch.