Completed
Push — develop ( 928e2a...e40e4d )
by Mathias
28:01 queued 20:22
created
module/Organizations/src/Module.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
      */
28 28
     public function getConfig()
29 29
     {
30
-        return ModuleConfigLoader::load(__DIR__ . '/../config');
30
+        return ModuleConfigLoader::load(__DIR__.'/../config');
31 31
     }
32 32
 
33 33
 
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
         $createJobListener->attachShared($sharedManager);
42 42
 
43 43
         if ($e->getRequest() instanceof \Zend\Http\Request) {
44
-            $eventManager->attach(MvcEvent::EVENT_DISPATCH_ERROR, function (MvcEvent $event) {
44
+            $eventManager->attach(MvcEvent::EVENT_DISPATCH_ERROR, function(MvcEvent $event) {
45 45
                 $serviceManager = $event->getApplication()
46 46
                     ->getServiceManager();
47 47
                 $options = $serviceManager->get('Organizations/ImageFileCacheOptions');
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.
module/Jobs/test/JobsTest/Factory/JobEventManagerFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
 
53 53
         $services->expects($this->once())->method('get')->with('EventManager')->willReturn($eventManager);
54 54
 
55
-        $events = $target->__invoke($services,'irrelevant');
55
+        $events = $target->__invoke($services, 'irrelevant');
56 56
 
57 57
         $this->assertSame($eventManager, $events);
58 58
         $this->assertAttributeInstanceOf($expectedEventClass, 'eventPrototype', $events);
Please login to merge, or discard this patch.
Jobs/test/JobsTest/Factory/Auth/Dependency/ListListenerFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,6 +44,6 @@
 block discarded – undo
44 44
             ->willReturn($repositories);
45 45
         
46 46
         $listListenerFactory = new ListListenerFactory();
47
-        $this->assertInstanceOf(ListListener::class, $listListenerFactory->__invoke($serviceLocator,'irrelevant'));
47
+        $this->assertInstanceOf(ListListener::class, $listListenerFactory->__invoke($serviceLocator, 'irrelevant'));
48 48
     }
49 49
 }
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/Factory/ModuleOptionsFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
         $factory = new ModuleOptionsFactory;
40 40
         $defaultOption = new ModuleOptions(array());
41 41
 
42
-        $object = $factory->__invoke($serviceManager,'irrelevant');
42
+        $object = $factory->__invoke($serviceManager, 'irrelevant');
43 43
 
44 44
         $this->assertInstanceOf('Jobs\Options\ModuleOptions', $object);
45 45
 
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/Factory/Filter/ChannelPricesFactoryTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      */
39 39
     public function testInvokation()
40 40
     {
41
-        $provider=new ProviderOptions();
41
+        $provider = new ProviderOptions();
42 42
 
43 43
         $serviceManagerMock = $this->getMockBuilder('\Zend\ServiceManager\ServiceManager')
44 44
                                    ->disableOriginalConstructor()
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
         
55 55
         $target = new ChannelPricesFactory();
56 56
 
57
-        $service = $target->__invoke($serviceManagerMock,'irrelevant');
57
+        $service = $target->__invoke($serviceManagerMock, 'irrelevant');
58 58
 
59 59
         $this->assertInstanceOf('\Jobs\Filter\ChannelPrices', $service);
60 60
     }
Please login to merge, or discard this patch.
test/JobsTest/Factory/Repository/DefaultCategoriesBuilderFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
         $sm = $this->getServiceManagerMock();
81 81
         $sm->setService('ApplicationConfig', $appConfig);
82 82
 
83
-        $builder = $this->target->__invoke($sm,'irrelevant');
83
+        $builder = $this->target->__invoke($sm, 'irrelevant');
84 84
 
85 85
         $this->assertAttributeSame($expectModulePath, 'moduleConfigPath', $builder);
86 86
         $this->assertAttributeSame($expectGlobalPaths, 'globalConfigPaths', $builder);
Please login to merge, or discard this patch.
Jobs/test/JobsTest/Factory/Form/ActiveOrganizationSelectFactoryTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
         '@testCreateService' => ['mock' => ['__invoke' => ['count' => 1]]],
44 44
     ];
45 45
 
46
-    private $inheritance = [ FactoryInterface::class ];
46
+    private $inheritance = [FactoryInterface::class];
47 47
 
48 48
 
49 49
     public function testCreateService()
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
         $container = $this->getServiceManagerMock();
52 52
         $formElements = $this->getPluginManagerMock($container);
53 53
 
54
-        $this->target->__invoke($container,OrganizationSelect::class);
54
+        $this->target->__invoke($container, OrganizationSelect::class);
55 55
     }
56 56
 
57 57
     public function testServiceCreationWithoutPreSelectedOrganization()
Please login to merge, or discard this patch.