Test Setup Failed
Push — master ( 5a9718...83d197 )
by Yelitza
09:02 queued 07:15
created
src/Service/Action/Auth/RegisterAction.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -16,11 +16,9 @@
 block discarded – undo
16 16
 use CakeDC\Users\Controller\Component\UsersAuthComponent;
17 17
 use CakeDC\Users\Controller\Traits\CustomUsersTableTrait;
18 18
 use CakeDC\Users\Controller\Traits\RegisterTrait;
19
-use CakeDC\Users\Exception\UserNotFoundException;
20 19
 use Cake\Core\Configure;
21 20
 use Cake\Datasource\EntityInterface;
22 21
 use Cake\Utility\Hash;
23
-use Cake\Validation\Validator;
24 22
 
25 23
 /**
26 24
  * Class RegisterAction
Please login to merge, or discard this patch.
src/Service/Action/CrudDeleteAction.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
     /**
23 23
      * Execute action.
24 24
      *
25
-     * @return mixed
25
+     * @return boolean
26 26
      */
27 27
     public function execute()
28 28
     {
Please login to merge, or discard this patch.
src/Service/Action/CrudEditAction.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
     /**
41 41
      * Execute action.
42 42
      *
43
-     * @return mixed
43
+     * @return \Cake\Datasource\EntityInterface
44 44
      */
45 45
     public function execute()
46 46
     {
Please login to merge, or discard this patch.
src/TestSuite/IntegrationTestCase.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
      * Returns user token.
75 75
      *
76 76
      * @param string $userId User id.
77
-     * @return mixed|null
77
+     * @return string
78 78
      */
79 79
     protected function _userToken($userId = null)
80 80
     {
Please login to merge, or discard this patch.
tests/TestCase/Service/Renderer/XmlRendererTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -152,6 +152,9 @@
 block discarded – undo
152 152
         $renderer->error($error);
153 153
     }
154 154
 
155
+    /**
156
+     * @param string $text
157
+     */
155 158
     protected function _xmlMessage($text)
156 159
     {
157 160
         return '<?xml version="1.0" encoding="UTF-8"?>' . "\n" . $text . "\n";
Please login to merge, or discard this patch.
src/Service/Action/Auth/ResetPasswordAction.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
     /**
68 68
      * Execute action.
69 69
      *
70
-     * @return mixed
70
+     * @return string
71 71
      * @throws Exception
72 72
      */
73 73
     public function execute()
Please login to merge, or discard this patch.
src/Middleware/RequestHandlerMiddleware.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
     /**
62 62
      * Determines the content type of the data the client has sent (i.e. in a POST request)
63 63
      *
64
-     * @param string|array|null $type Can be null (or no parameter), a string type name, or an array of types
64
+     * @param string $type Can be null (or no parameter), a string type name, or an array of types
65 65
      * @return mixed If a single type is supplied a boolean will be returned. If no type is provided
66 66
      *   The mapped value of CONTENT_TYPE will be returned. If an array is supplied the first type
67 67
      *   in the request content type will be returned.
Please login to merge, or discard this patch.
tests/TestCase/Service/Action/CrudDeleteActionTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -85,6 +85,9 @@
 block discarded – undo
85 85
         $this->Action->execute();
86 86
     }
87 87
 
88
+    /**
89
+     * @param integer $id
90
+     */
88 91
     protected function _initializeAction($id, $post = [])
89 92
     {
90 93
         $this->_initializeRequest([
Please login to merge, or discard this patch.
tests/TestCase/Service/ServiceTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,6 @@
 block discarded – undo
18 18
 use CakeDC\Api\TestSuite\TestCase;
19 19
 use CakeDC\Api\Test\ConfigTrait;
20 20
 use CakeDC\Api\Test\FixturesTrait;
21
-use Cake\Controller\Controller;
22 21
 use Cake\Core\Configure;
23 22
 
24 23
 class ServiceTest extends TestCase
Please login to merge, or discard this patch.