Completed
Push — master ( 58ca4e...29b98a )
by Dmitry
14:08 queued 10:55
created
src/Sync/TestRailSync.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
      */
109 109
     protected function findByNormalizeTitleCallback($normalizeTitle)
110 110
     {
111
-        return function (TestCase $case) use ($normalizeTitle) {
111
+        return function(TestCase $case) use ($normalizeTitle) {
112 112
             return static::normalizeStrToCaseIdent($case->getTitle()) === $normalizeTitle;
113 113
         };
114 114
     }
Please login to merge, or discard this patch.
Doc Comments   +8 added lines, -5 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
     }
135 135
 
136 136
     /**
137
-     * @param $normalizeTitle
137
+     * @param string $normalizeTitle
138 138
      *
139 139
      * @return \Closure
140 140
      */
@@ -145,6 +145,9 @@  discard block
 block discarded – undo
145 145
         };
146 146
     }
147 147
 
148
+    /**
149
+     * @param string $resourcePath
150
+     */
148 151
     protected function getResourceUrl($resourcePath)
149 152
     {
150 153
         return $this->getApiUrl().$resourcePath;
@@ -203,7 +206,7 @@  discard block
 block discarded – undo
203 206
     }
204 207
 
205 208
     /**
206
-     * @param $testRunId
209
+     * @param integer $testRunId
207 210
      *
208 211
      * @return array
209 212
      *
@@ -229,7 +232,7 @@  discard block
 block discarded – undo
229 232
 
230 233
     /**
231 234
      * @param TestRailRunReport $testRailReport
232
-     * @param $testRunId
235
+     * @param integer $testRunId
233 236
      *
234 237
      * @return ResponseInterface
235 238
      *
@@ -263,7 +266,7 @@  discard block
 block discarded – undo
263 266
 
264 267
     /**
265 268
      * @param ResponseInterface $request
266
-     * @param $apiUrlResource
269
+     * @param string $apiUrlResource
267 270
      *
268 271
      * @throws TestRailSyncServerException
269 272
      */
@@ -286,7 +289,7 @@  discard block
 block discarded – undo
286 289
      * @param TestCase $testCase
287 290
      * @param Result   $result
288 291
      *
289
-     * @return object
292
+     * @return string
290 293
      */
291 294
     private function genFormatedComment(TestCase $testCase, Result $result)
292 295
     {
Please login to merge, or discard this patch.
src/Sync/TestRailSyncResultsEmptyException.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 class TestRailSyncResultsEmptyException  extends TestRailSyncException
9 9
 {
10 10
     /**
11
-     * @param Exception $exception
12 11
      *
13 12
      * @return self
14 13
      */
Please login to merge, or discard this patch.
app/config/services.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -15,34 +15,34 @@
 block discarded – undo
15 15
 $container['testrail.api_url'] = $config['testrail']['api_url'];
16 16
 $container['testrail.user'] = $config['testrail']['user'];
17 17
 $container['testrail.password'] = $config['testrail']['password'];
18
-$container['testrail.base_auth'] = function (Container $c) {
18
+$container['testrail.base_auth'] = function(Container $c) {
19 19
     return new BasicAuth(
20 20
         $c['testrail.user'],
21 21
         $c['testrail.password']
22 22
     );
23 23
 };
24 24
 
25
-$container['testrail.auth'] = function (Container $c) {
25
+$container['testrail.auth'] = function(Container $c) {
26 26
     return new AuthenticationPlugin(
27 27
         $c['testrail.base_auth']
28 28
     );
29 29
 };
30 30
 
31
-$container['testrail.plugin_client'] = function (Container $c) {
31
+$container['testrail.plugin_client'] = function(Container $c) {
32 32
     return new PluginClient(
33 33
         HttpClientDiscovery::find(),
34 34
         [$c['testrail.auth']]
35 35
     );
36 36
 };
37 37
 
38
-$container['testrail.client'] = function (Container $c) {
38
+$container['testrail.client'] = function(Container $c) {
39 39
     return new HttpMethodsClient(
40 40
         $c['testrail.plugin_client'],
41 41
         MessageFactoryDiscovery::find()
42 42
     );
43 43
 };
44 44
 
45
-$container['testrail.sync'] = function (Container $c) {
45
+$container['testrail.sync'] = function(Container $c) {
46 46
     return new TestRailSync(
47 47
         $c['testrail.api_url'],
48 48
         $c['testrail.client']
Please login to merge, or discard this patch.