Completed
Push — master ( dea0ad...f11a68 )
by Dmitry
26s
created
src/Sync/TestRailSync.php 2 patches
Doc Comments   +7 added lines, -4 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
     }
103 103
 
104 104
     /**
105
-     * @param $normalizeTitle
105
+     * @param string $normalizeTitle
106 106
      *
107 107
      * @return \Closure
108 108
      */
@@ -113,6 +113,9 @@  discard block
 block discarded – undo
113 113
         };
114 114
     }
115 115
 
116
+    /**
117
+     * @param string $resourcePath
118
+     */
116 119
     protected function getResourceUrl($resourcePath)
117 120
     {
118 121
         return $this->getApiUrl().$resourcePath;
@@ -171,7 +174,7 @@  discard block
 block discarded – undo
171 174
     }
172 175
 
173 176
     /**
174
-     * @param $testRunId
177
+     * @param integer $testRunId
175 178
      *
176 179
      * @return array
177 180
      *
@@ -197,7 +200,7 @@  discard block
 block discarded – undo
197 200
 
198 201
     /**
199 202
      * @param TestRailRunReport $testRailReport
200
-     * @param $testRunId
203
+     * @param integer $testRunId
201 204
      *
202 205
      * @return ResponseInterface
203 206
      *
@@ -226,7 +229,7 @@  discard block
 block discarded – undo
226 229
 
227 230
     /**
228 231
      * @param ResponseInterface $request
229
-     * @param $apiUrlResource
232
+     * @param string $apiUrlResource
230 233
      *
231 234
      * @throws TestRailSyncServerException
232 235
      */
Please login to merge, or discard this patch.
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.
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.