Completed
Push — master ( 811327...4aef6e )
by Carsten
14:04 queued 19s
created
module/Settings/src/Controller/IndexController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
         $mvcEvent->setParam('__settings_active_module', $moduleName);
86 86
         
87 87
         $formManager = $this->formManager;
88
-        $formName = $moduleName . '/SettingsForm';
88
+        $formName = $moduleName.'/SettingsForm';
89 89
         if (!$formManager->has($formName)) {
90 90
             $formName = "Settings/Form";
91 91
         }
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
             $valid   = $form->isValid();
109 109
             $partial = $this->viewHelper->get('partial');
110 110
             $text    = $valid
111
-                     ?  /*@translate*/'Changes successfully saved'
111
+                     ? /*@translate*/'Changes successfully saved'
112 112
                      :  /*@translate*/'Changes could not be saved';
113 113
             $this->notification()->success($translator->translate($text));
114 114
 
Please login to merge, or discard this patch.
module/Install/src/Factory/Controller/LazyControllerFactory.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
                             $parameter_instances[] = $container->get($cn);
55 55
                         } catch (\Exception $x) {
56 56
                             echo __CLASS__
57
-                                 . " couldn't create an instance of $cn to satisfy the constructor for $requestedName.";
57
+                                    . " couldn't create an instance of $cn to satisfy the constructor for $requestedName.";
58 58
                             exit;
59 59
                         }
60 60
                     } else {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,8 +33,8 @@
 block discarded – undo
33 33
     
34 34
     public function canCreate(ContainerInterface $container, $requestedName)
35 35
     {
36
-        list($module, ) = explode('\\', __NAMESPACE__, 2);
37
-        return strstr($requestedName, $module . '\Controller') !== false;
36
+        list($module,) = explode('\\', __NAMESPACE__, 2);
37
+        return strstr($requestedName, $module.'\Controller') !== false;
38 38
     }
39 39
     
40 40
     public function __invoke(ContainerInterface $container, $requestedName, array $options = null)
Please login to merge, or discard this patch.
module/Install/src/Controller/Index.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,8 +61,8 @@
 block discarded – undo
61 61
             $routeMatch->setParam('action', $p);
62 62
             $response = $this->getResponse();
63 63
             $response->getHeaders()
64
-                     ->addHeaderLine('Content-Type', 'application/json')
65
-                     ->addHeaderLine('Content-Encoding', 'utf8');
64
+                        ->addHeaderLine('Content-Type', 'application/json')
65
+                        ->addHeaderLine('Content-Encoding', 'utf8');
66 66
         }
67 67
     }
68 68
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -162,7 +162,7 @@
 block discarded – undo
162 162
         parent::attachDefaultListeners();
163 163
     
164 164
         $events = $this->getEventManager();
165
-        $events->attach(MvcEvent::EVENT_DISPATCH, array( $this, 'preDispatch' ), 100);
165
+        $events->attach(MvcEvent::EVENT_DISPATCH, array($this, 'preDispatch'), 100);
166 166
     }
167 167
 
168 168
     /**
Please login to merge, or discard this patch.
module/Core/src/View/Helper/ContactLink.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
                        : $email;
51 51
             
52 52
             $attributesStr = $attributes
53
-                       ? (' ' . $this->createAttributesString($attributes))
53
+                       ? (' '.$this->createAttributesString($attributes))
54 54
                        : '';
55 55
             
56 56
             return sprintf('<a%s href="mailto:%s">%s</a>', $attributesStr, $email, $label);
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
         $attr       = array();
70 70
         
71 71
         foreach ($attributes as $name => $value) {
72
-            $attr[] = $escape($name) . (strlen($value) ? ('="' . $escapeAttr($value) . '"') : '');
72
+            $attr[] = $escape($name).(strlen($value) ? ('="'.$escapeAttr($value).'"') : '');
73 73
         }
74 74
         
75 75
         return implode(' ', $attr);
Please login to merge, or discard this patch.
module/Jobs/test/Bootstrap.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-$testConfig = include __DIR__ . '/TestConfig.php';
3
+$testConfig = include __DIR__.'/TestConfig.php';
4 4
 
5
-require_once __DIR__ . '/../../../test/Bootstrap.php';
5
+require_once __DIR__.'/../../../test/Bootstrap.php';
Please login to merge, or discard this patch.
Factory/Controller/ApiJobListByOrganizationControllerFactoryTest.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -45,13 +45,13 @@
 block discarded – undo
45 45
                                 ->getMock();
46 46
 
47 47
         $repositoriesMock = $this->getMockBuilder('Core\Repository\RepositoryService')
48
-                               ->disableOriginalConstructor()
49
-                               ->getMock();
48
+                                ->disableOriginalConstructor()
49
+                                ->getMock();
50 50
 
51 51
         $repositoriesMock->expects($this->once())
52
-                       ->method('get')
53
-                       ->with('Jobs/Job')
54
-                       ->willReturn($jobRepositoryMock);
52
+                        ->method('get')
53
+                        ->with('Jobs/Job')
54
+                        ->willReturn($jobRepositoryMock);
55 55
 
56 56
         $apiJobDehydratorMock = $this->getMockBuilder('Jobs\Model\ApiJobDehydrator')
57 57
                                 ->disableOriginalConstructor()
Please login to merge, or discard this patch.
Jobs/test/JobsTest/Factory/Controller/JobboardControllerFactoryTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,8 +46,8 @@
 block discarded – undo
46 46
             ->getMock();
47 47
 
48 48
         $repositoriesMock = $this->getMockBuilder('Core\Repository\RepositoryService')
49
-                                 ->disableOriginalConstructor()
50
-                                 ->getMock();
49
+                                    ->disableOriginalConstructor()
50
+                                    ->getMock();
51 51
 
52 52
         $repositoriesMock->expects($this->once())
53 53
             ->method('get')
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/Factory/View/Helper/AdminEditLinkFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
         ]
44 44
     ];
45 45
 
46
-    private $inheritance = [ FactoryInterface::class ];
46
+    private $inheritance = [FactoryInterface::class];
47 47
 
48 48
     public function testInvoke()
49 49
     {
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/Factory/Service/JobsPublisherFactoryTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,8 +31,8 @@
 block discarded – undo
31 31
     {
32 32
         $this->testedObj = new JobsPublisherFactory();
33 33
         $this->mockJobsOptions = $this->getMockBuilder('Jobs\Options\ModuleOptions')
34
-                     ->disableOriginalConstructor()
35
-                     ->getMock();
34
+                        ->disableOriginalConstructor()
35
+                        ->getMock();
36 36
     }
37 37
 
38 38
     /**
Please login to merge, or discard this patch.