Completed
Push — develop ( a73e2c...030f10 )
by Carsten
28:43 queued 13:31
created
module/Organizations/test/OrganizationsTest/ImageFileCache/ManagerTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
     {
155 155
         $id = 'someId';
156 156
         $ext = 'ext';
157
-        $name = 'filename.' . $ext;
157
+        $name = 'filename.'.$ext;
158 158
         $path = sprintf('d/I/%s.%s', $id, $ext);
159 159
         $resource = 'someResource';
160 160
         $image = $this->getMockBuilder(ImageEntity::class)
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
      */
184 184
     public function testMatchUri($uri, $expected)
185 185
     {
186
-        $this->assertSame($expected, $this->manager->matchUri($this->options->getUriPath() . $uri));
186
+        $this->assertSame($expected, $this->manager->matchUri($this->options->getUriPath().$uri));
187 187
     }
188 188
     
189 189
     /**
Please login to merge, or discard this patch.
test/OrganizationsTest/ImageFileCache/ApplicationListenerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@
 block discarded – undo
154 154
     {
155 155
         $baseUrl = '/base';
156 156
         $path = '/some/uri';
157
-        $uri = $baseUrl . $path;
157
+        $uri = $baseUrl.$path;
158 158
         $this->event->setError(Application::ERROR_ROUTER_NO_MATCH);
159 159
         
160 160
         $this->request->expects($this->once())
Please login to merge, or discard this patch.
Organizations/test/OrganizationsTest/Acl/Assertion/WriteAssertionTest.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
     private $target = WriteAssertion::class;
34 34
 
35
-    private $inheritance = [ AssertionInterface::class ];
35
+    private $inheritance = [AssertionInterface::class];
36 36
 
37 37
     public function dataProvider()
38 38
     {
@@ -45,15 +45,15 @@  discard block
 block discarded – undo
45 45
         $validResourceWPerms->setUser($validRole);
46 46
 
47 47
         return [
48
-            [ $invalidRole, $invalidResource, 'invalidPrivilege', false ],
49
-            [ $validRole, $invalidResource, 'invalid', false ],
50
-            [ $invalidRole, $validResourceWoPerms, 'invalid', false ],
51
-            [ $invalidRole, $validResourceWPerms, 'invalid', false ],
52
-            [ $invalidRole, $invalidResource, 'edit', false ],
53
-            [ $validRole, $invalidResource, 'edit', false ],
54
-            [ $validRole, $validResourceWPerms, 'invalid', false ],
55
-            [ $validRole, $validResourceWoPerms, 'edit', false ],
56
-            [ $validRole, $validResourceWPerms, 'edit', true ],
48
+            [$invalidRole, $invalidResource, 'invalidPrivilege', false],
49
+            [$validRole, $invalidResource, 'invalid', false],
50
+            [$invalidRole, $validResourceWoPerms, 'invalid', false],
51
+            [$invalidRole, $validResourceWPerms, 'invalid', false],
52
+            [$invalidRole, $invalidResource, 'edit', false],
53
+            [$validRole, $invalidResource, 'edit', false],
54
+            [$validRole, $validResourceWPerms, 'invalid', false],
55
+            [$validRole, $validResourceWoPerms, 'edit', false],
56
+            [$validRole, $validResourceWPerms, 'edit', true],
57 57
 
58 58
         ];
59 59
     }
Please login to merge, or discard this patch.
module/Organizations/src/Options/ImageFileCacheOptions.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
     public function __construct($options = null)
47 47
     {
48 48
         // We are relative to the application dir (see public/index.php)
49
-        $this->filePath = 'public' . $this->uriPath;
49
+        $this->filePath = 'public'.$this->uriPath;
50 50
         
51 51
         parent::__construct($options);
52 52
     }
Please login to merge, or discard this patch.
Core/test/CoreTest/Factory/Form/AbstractCustomizableFieldsetFactoryTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
         ],
40 40
         '@testCreateServiceInvokesItselfAndResetsCreationOptions' => [
41 41
             'class' => AbstractCustomizableFieldsetFactory::class,
42
-            'mock' => [ '__invoke' ]
42
+            'mock' => ['__invoke']
43 43
         ],
44 44
         '@testInvokationThrowsExceptionIfOptionsNameIsNotSpecified' => [
45 45
             'class' => ConcreteAbstractCustomizableFieldsetFactoryWithClassName::class
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
         ],
53 53
     ];
54 54
 
55
-    private $inheritance = [ FactoryInterface::class ];
55
+    private $inheritance = [FactoryInterface::class];
56 56
 
57 57
     public function testCreationOptions()
58 58
     {
Please login to merge, or discard this patch.
module/Core/test/CoreTest/Factory/View/Helper/AjaxUrlFactoryTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,10 +38,10 @@
 block discarded – undo
38 38
      */
39 39
     private $target = [
40 40
         AjaxUrlFactory::class,
41
-        '@testCreateService' => [ 'mock' => ['__invoke']],
41
+        '@testCreateService' => ['mock' => ['__invoke']],
42 42
     ];
43 43
 
44
-    private $inheritance = [ FactoryInterface::class ];
44
+    private $inheritance = [FactoryInterface::class];
45 45
 
46 46
     public function testCreateService()
47 47
     {
Please login to merge, or discard this patch.
module/Core/test/CoreTest/Factory/Listener/AjaxRouteListenerFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
         ],
43 43
     ];
44 44
 
45
-    private $inheritance = [ FactoryInterface::class ];
45
+    private $inheritance = [FactoryInterface::class];
46 46
 
47 47
     /**
48 48
      * @testdox Method createService() proxies to __invoke()
Please login to merge, or discard this patch.
Core/test/CoreTest/Factory/Navigation/DefaultNavigationFactoryTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
      */
34 34
     private $target = DefaultNavigationFactory::class;
35 35
 
36
-    private $inheritance = [ '\Zend\Navigation\Service\DefaultNavigationFactory' ];
36
+    private $inheritance = ['\Zend\Navigation\Service\DefaultNavigationFactory'];
37 37
 
38 38
     public function testSetsActiveFlagOnPagesProvidingTheActiveOnOption()
39 39
     {
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
                 'active_on' => 'notMatchedRoute',
46 46
             ],
47 47
             'page3' => [
48
-                'active_on' => [ 'matchedRouteName', 'anotherRoute' ],
48
+                'active_on' => ['matchedRouteName', 'anotherRoute'],
49 49
             ],
50 50
             'page4' => []
51 51
         ];
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
                 'active_on' => 'notMatchedRoute',
76 76
             ],
77 77
             'page3' => [
78
-                'active_on' => [ 'matchedRouteName', 'anotherRoute' ],
78
+                'active_on' => ['matchedRouteName', 'anotherRoute'],
79 79
             ],
80 80
             'page4' => []
81 81
         ];
Please login to merge, or discard this patch.
module/Core/test/CoreTest/Controller/AdminControllerEventTest.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
 
29 29
     protected $target = '\Core\Controller\AdminControllerEvent';
30 30
 
31
-    protected $inheritance = [ '\Zend\EventManager\Event' ];
31
+    protected $inheritance = ['\Zend\EventManager\Event'];
32 32
 
33 33
     public function testCreatesModelPriorityListUponCreation()
34 34
     {
@@ -62,10 +62,10 @@  discard block
 block discarded – undo
62 62
     public function provideAddViewTemplateTestData()
63 63
     {
64 64
         return [
65
-            [ [ 'test', 'template' ], ['test', 'template', [], 0] ],
66
-            [ [ 'test', 'template', [ 'var' => 'iable']], [ 'test', 'template', [ 'var' => 'iable'], 0] ],
67
-            [ [ 'test', 'template', 10] , ['test', 'template', [], 10] ],
68
-            [ [ 'test', 'template', [ 'var' => 'iable'], 10 ], [ 'test', 'template', [ 'var' => 'iable'], 10 ]],
65
+            [['test', 'template'], ['test', 'template', [], 0]],
66
+            [['test', 'template', ['var' => 'iable']], ['test', 'template', ['var' => 'iable'], 0]],
67
+            [['test', 'template', 10], ['test', 'template', [], 10]],
68
+            [['test', 'template', ['var' => 'iable'], 10], ['test', 'template', ['var' => 'iable'], 10]],
69 69
         ];
70 70
     }
71 71
 
@@ -91,12 +91,12 @@  discard block
 block discarded – undo
91 91
     public function provideAddViewVariablesTestData()
92 92
     {
93 93
         return [
94
-            [ [ 'test' ] , ['test', ['name' => 'test'], 0] ],
95
-            [ [ 'test', [ 'var' => 'iable'] ], [ 'test', [ 'name' => 'test', 'var' => 'iable'], 0 ] ],
96
-            [ [ 'test', [ 'var' => 'iable'], 10], [ 'test', [ 'name' => 'test', 'var' => 'iable'], 10 ]],
97
-            [ [ [ 'name' => 'other', 'var' => 'test' ], 10], ['other', ['name' => 'other', 'var' => 'test' ], 10] ],
98
-            [ [ 'test', ['name' => 'other'] ], [ 'test', [ 'name' => 'other' ], 0] ],
99
-            [ [ 'test', 10 ], ['test', ['name' => 'test'], 10]],
94
+            [['test'], ['test', ['name' => 'test'], 0]],
95
+            [['test', ['var' => 'iable']], ['test', ['name' => 'test', 'var' => 'iable'], 0]],
96
+            [['test', ['var' => 'iable'], 10], ['test', ['name' => 'test', 'var' => 'iable'], 10]],
97
+            [[['name' => 'other', 'var' => 'test'], 10], ['other', ['name' => 'other', 'var' => 'test'], 10]],
98
+            [['test', ['name' => 'other']], ['test', ['name' => 'other'], 0]],
99
+            [['test', 10], ['test', ['name' => 'test'], 10]],
100 100
         ];
101 101
     }
102 102
 
Please login to merge, or discard this patch.