Test Setup Failed
Push — 1.x-dev ( dd68ba...282fa8 )
by Brian
04:39
created
src/Plugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
         Router::plugin(
93 93
             'Fr3nch13/Jira',
94 94
             ['path' => '/jira'],
95
-            function (RouteBuilder $routes) {
95
+            function(RouteBuilder $routes) {
96 96
                 $routes->fallbacks(DashedRoute::class);
97 97
             }
98 98
         );
Please login to merge, or discard this patch.
src/Lib/JiraProject.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -533,10 +533,10 @@
 block discarded – undo
533 533
         try {
534 534
             $ret = $issueService->create($issueField);
535 535
         } catch (\JiraRestApi\JiraException $e) {
536
-             //Sample return error with json in it.
537
-             //Pasting here so I can mock this return message in the unit tests.
538
-             //CURL HTTP Request Failed: Status Code : 400, URL:https://[hostname]/rest/api/2/issue
539
-             //Error Message : {"errorMessages":[],"errors":{"user_type":"Field 'user_type' cannot be set. It is not on the appropriate screen, or unknown."}}             */
536
+                //Sample return error with json in it.
537
+                //Pasting here so I can mock this return message in the unit tests.
538
+                //CURL HTTP Request Failed: Status Code : 400, URL:https://[hostname]/rest/api/2/issue
539
+                //Error Message : {"errorMessages":[],"errors":{"user_type":"Field 'user_type' cannot be set. It is not on the appropriate screen, or unknown."}}             */
540 540
             $msg = $e->getMessage();
541 541
             if (strpos($msg, '{') !== false) {
542 542
                 $msg = str_split($msg);
Please login to merge, or discard this patch.