Passed
Push — master ( c58a40...6d37ad )
by Mathias
10:02 queued 04:27
created
module/Applications/src/Controller/ApiApplyController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
                     ['force_canonical' => true],
94 94
                     true
95 95
                 )
96
-                . '?token=' . $user->getToken()
96
+                . '?token='.$user->getToken()
97 97
             ;
98 98
         }
99 99
 
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
 
122 122
         return new JsonModel([
123 123
             'status' => 'error',
124
-            'message' => 'Invalid json data: ' . $e->getMessage()
124
+            'message' => 'Invalid json data: '.$e->getMessage()
125 125
         ]);
126 126
     }
127 127
 
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
 
134 134
         return new JsonModel([
135 135
             'status' => 'error',
136
-            'message' => 'No job found with apply id "' . $applyId . '"',
136
+            'message' => 'No job found with apply id "'.$applyId.'"',
137 137
         ]);
138 138
     }
139 139
 
Please login to merge, or discard this patch.
module/Applications/src/Entity/Hydrator/ApiApplicationHydratorFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
         ?string $requestedName = null,
27 27
         ?array $options = null
28 28
     ): ApiApplicationHydrator {
29
-        $hydrator =  new ApiApplicationHydrator();
29
+        $hydrator = new ApiApplicationHydrator();
30 30
 
31 31
         $hydrator->setServerURl(
32 32
             $container->get('ViewHelperManager')->get('serverurl')->__invoke()
Please login to merge, or discard this patch.
module/Applications/src/Entity/Hydrator/ApiApplicationHydrator.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
         ;
90 90
         $data['attachments'] = [];
91 91
         foreach ($object->getAttachments() as $file) {
92
-           $data['attachments'][] = $this->serverUrl . $file->getUri();
92
+            $data['attachments'][] = $this->serverUrl . $file->getUri();
93 93
         }
94 94
 
95 95
         unset(
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,12 +84,12 @@
 block discarded – undo
84 84
         $data['contact'] = parent::extract($object->getContact());
85 85
         $data['contact']['image'] =
86 86
             $object->getContact()->getImage()
87
-            ? $this->serverUrl . $object->getContact()->getImage()->getUri()
87
+            ? $this->serverUrl.$object->getContact()->getImage()->getUri()
88 88
             : null
89 89
         ;
90 90
         $data['attachments'] = [];
91 91
         foreach ($object->getAttachments() as $file) {
92
-           $data['attachments'][] = $this->serverUrl . $file->getUri();
92
+           $data['attachments'][] = $this->serverUrl.$file->getUri();
93 93
         }
94 94
 
95 95
         unset(
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/Repository/Filter/PaginationAdminQueryTest.php 2 patches
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 /**
4 4
  *
5
-
6 5
  */
7 6
 
8 7
 declare(strict_types=1);
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
 
80 80
     public function testSortDoesCallSort()
81 81
     {
82
-        $sort="one,-two";
82
+        $sort = "one,-two";
83 83
         $qb = $this->queryBuilder->reveal();
84 84
         $this->queryBuilder->field('isDraft')->shouldBeCalled()->willReturn($qb);
85 85
         $this->queryBuilder->equals(false)->shouldBeCalled();
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
 
92 92
     public function testTextDoesFilterCorrectly()
93 93
     {
94
-        $text="test text search";
94
+        $text = "test text search";
95 95
         $qb = $this->queryBuilder->reveal();
96 96
         $this->queryBuilder->field('isDraft')->shouldBeCalled()->willReturn($qb);
97 97
         $this->queryBuilder->equals(false)->shouldBeCalled();
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
 
103 103
     public function testTextDoesFilterJobIdsCorrectly()
104 104
     {
105
-        $text="job:jobId job:anotherid,yajid";
105
+        $text = "job:jobId job:anotherid,yajid";
106 106
         $qb = $this->queryBuilder->reveal();
107 107
         $this->queryBuilder->field('isDraft')->shouldBeCalled()->willReturn($qb);
108 108
         $this->queryBuilder->equals(false)->shouldBeCalled();
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
 
116 116
     public function testTextDoesFilterJobIdsAndTextCorrectly()
117 117
     {
118
-        $text="job:jobId and some other text job:anotherid,yajid";
118
+        $text = "job:jobId and some other text job:anotherid,yajid";
119 119
         $qb = $this->queryBuilder->reveal();
120 120
         $this->queryBuilder->field('isDraft')->shouldBeCalled()->willReturn($qb);
121 121
         $this->queryBuilder->equals(false)->shouldBeCalled();
Please login to merge, or discard this patch.
module/Auth/src/Auth/Form/Validator/UniqueLoginNameFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
  */
21 21
 class UniqueLoginNameFactory implements FactoryInterface
22 22
 {
23
-    public function __invoke( ContainerInterface $container, $requestedName, array $options = null )
23
+    public function __invoke(ContainerInterface $container, $requestedName, array $options = null)
24 24
     {
25 25
         $repository = $container->get('repositories')->get('Auth/User');
26 26
         $user       = $container->get('AuthenticationService')->getUser();
Please login to merge, or discard this patch.
module/Auth/src/Auth/Form/UserBaseFieldset.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,8 +22,8 @@
 block discarded – undo
22 22
     public function init()
23 23
     {
24 24
         $this->setName('base');
25
-             //->setLabel( /* @translate */ 'General');
26
-             //->setHydrator(new \Core\Model\Hydrator\ModelHydrator());
25
+                //->setLabel( /* @translate */ 'General');
26
+                //->setHydrator(new \Core\Model\Hydrator\ModelHydrator());
27 27
 
28 28
 
29 29
         $this->add([
Please login to merge, or discard this patch.
module/Auth/test/AuthTest/Form/UserStatusFieldsetTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
         $this->assertSame([], $status->getValueOptions());
47 47
 
48 48
         $login = $this->fieldset->get('login');
49
-        $this->assertEquals( ['label' => 'Login name'], $login->getOptions());
49
+        $this->assertEquals(['label' => 'Login name'], $login->getOptions());
50 50
     }
51 51
 
52 52
     public function testGetInputFilterSpecification()
Please login to merge, or discard this patch.
module/Core/src/Queue/Strategy/SendMailStrategy.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
         if (!$job instanceof MailSenderInterface) {
56 56
             $event->setResult(ProcessJobEvent::JOB_STATUS_FAILURE);
57 57
             if ($job instanceof ResultProviderInterface) {
58
-                $job->setResult(JobResult::failure('This queue can only consume Jobs which implement the ' . MailSenderInterface::class));
58
+                $job->setResult(JobResult::failure('This queue can only consume Jobs which implement the '.MailSenderInterface::class));
59 59
             }
60 60
         }
61 61
 
Please login to merge, or discard this patch.
module/Core/src/Mail/MailService.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
     );
82 82
 
83 83
     protected $factories = array(
84
-        'htmltemplate'   => [HTMLTemplateMessage::class,'factory'],
84
+        'htmltemplate'   => [HTMLTemplateMessage::class, 'factory'],
85 85
     );
86 86
 
87 87
     protected $queue;
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
         parent::__construct($container, $configuration);
102 102
 
103 103
         $this->addInitializer(
104
-            function ($context, $instance) {
104
+            function($context, $instance) {
105 105
                 if ($instance instanceof TranslatorAwareInterface) {
106 106
                     $translator = $context->get('translator');
107 107
                     $instance->setTranslator($translator);
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
         //);
127 127
 
128 128
         $this->addInitializer(
129
-            function ($context, $instance) {
129
+            function($context, $instance) {
130 130
                 if (method_exists($instance, 'init')) {
131 131
                     $instance->init();
132 132
                 }
@@ -220,11 +220,11 @@  discard block
 block discarded – undo
220 220
         if ($this->overrideRecipient instanceof AddressList) {
221 221
             $originalRecipient = $headers->get('to')->toString();
222 222
             if ($headers->has('cc')) {
223
-                $originalRecipient .= '; ' . $headers->get('cc')->toString();
223
+                $originalRecipient .= '; '.$headers->get('cc')->toString();
224 224
                 $headers->removeHeader('cc');
225 225
             }
226 226
             if ($headers->has('bcc')) {
227
-                $originalRecipient .= '; ' . $headers->get('bcc')->toString();
227
+                $originalRecipient .= '; '.$headers->get('bcc')->toString();
228 228
                 $headers->removeHeader('bcc');
229 229
             }
230 230
             $headers->addHeaderLine('X-Original-Recipients', $originalRecipient);
Please login to merge, or discard this patch.