Passed
Push — master ( 793370...b09d10 )
by Carsten
12:59
created
module/Install/test/TestConfig.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
     //     ),
59 59
     // )
60 60
 
61
-   // Initial configuration with which to seed the ServiceManager.
62
-   // Should be compatible with Zend\ServiceManager\Config.
63
-   // 'service_manager' => array(),
61
+    // Initial configuration with which to seed the ServiceManager.
62
+    // Should be compatible with Zend\ServiceManager\Config.
63
+    // 'service_manager' => array(),
64 64
 );
65 65
\ No newline at end of file
Please login to merge, or discard this patch.
module/Install/test/InstallTest/ModuleTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -99,8 +99,8 @@
 block discarded – undo
99 99
         $application->expects($this->once())->method('getServiceManager')->willReturn($services);
100 100
 
101 101
         $event = $this->getMockBuilder('\Zend\Mvc\MvcEvent')
102
-                      ->disableOriginalConstructor()
103
-                      ->getMock();
102
+                        ->disableOriginalConstructor()
103
+                        ->getMock();
104 104
 
105 105
         $event->expects($this->once())->method('getApplication')->willReturn($application);
106 106
 
Please login to merge, or discard this patch.
module/Install/test/InstallTest/Form/InstallationTest.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -33,9 +33,9 @@  discard block
 block discarded – undo
33 33
     public function testInit()
34 34
     {
35 35
         $target = $this->getMockBuilder('\Install\Form\Installation')
36
-                       ->setMethods(array('add', 'setName', 'setAttributes'))
37
-                       ->disableOriginalConstructor()
38
-                       ->getMock();
36
+                        ->setMethods(array('add', 'setName', 'setAttributes'))
37
+                        ->disableOriginalConstructor()
38
+                        ->getMock();
39 39
 
40 40
         $add1 = array(
41 41
             'type'       => 'Text',
@@ -73,18 +73,18 @@  discard block
 block discarded – undo
73 73
         );
74 74
 
75 75
         $target->expects($this->exactly(4))
76
-               ->method('add')
77
-               ->withConsecutive(
78
-                           array($add1),
79
-                           array($add2),
80
-                           array($add3),
81
-                           array($add4)
82
-               )->will($this->returnSelf());
76
+                ->method('add')
77
+                ->withConsecutive(
78
+                            array($add1),
79
+                            array($add2),
80
+                            array($add3),
81
+                            array($add4)
82
+                )->will($this->returnSelf());
83 83
 
84 84
         $target->expects($this->once())->method('setName')->with('installation');
85 85
         $target->expects($this->once())->method('setAttributes')->with(array(
86
-                                                                           'method' => 'post',
87
-                                                                       )
86
+                                                                            'method' => 'post',
87
+                                                                        )
88 88
         );
89 89
         /* @var $target \PHPUnit_Framework_MockObject_MockObject|\Install\Form\Installation */
90 90
         $target->init();
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
                 ),
102 102
                 'validators'        => array(
103 103
                     array('name' => MongoDbConnectionString::class,
104
-                          'break_chain_on_failure' => true),
104
+                            'break_chain_on_failure' => true),
105 105
                     array('name' => MongoDbConnection::class),
106 106
                 ),
107 107
             ),
Please login to merge, or discard this patch.
Applications/test/ApplicationsTest/Factory/Form/JobSelectFactoryTest.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -35,9 +35,9 @@
 block discarded – undo
35 35
     private $target = [
36 36
         JobSelectFactory::class,
37 37
         '@testCreateService' => [
38
-        	'mock' => [
39
-        		'__invoke' => ['@with' => 'getServiceManagerMock', 'count' => 1]
40
-	        ]
38
+            'mock' => [
39
+                '__invoke' => ['@with' => 'getServiceManagerMock', 'count' => 1]
40
+            ]
41 41
         ],
42 42
     ];
43 43
 
Please login to merge, or discard this patch.
test/ApplicationsTest/Factory/Listener/JobSelectValuesFactoryTest.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -38,9 +38,9 @@  discard block
 block discarded – undo
38 38
     private $target = [
39 39
         JobSelectValuesFactory::class,
40 40
         '@testCreateService' => [
41
-        	'mock' => [
42
-        		'__invoke' => ['@with' => 'getInvokeArgs', 'count' => 1]
43
-	        ]
41
+            'mock' => [
42
+                '__invoke' => ['@with' => 'getInvokeArgs', 'count' => 1]
43
+            ]
44 44
         ],
45 45
     ];
46 46
 
@@ -59,13 +59,13 @@  discard block
 block discarded – undo
59 59
     public function testServiceCreation()
60 60
     {
61 61
         $paginator = $this
62
-	        ->getMockBuilder(JobSelectPaginator::class)
63
-	        ->disableOriginalConstructor()
64
-	        ->getMock()
62
+            ->getMockBuilder(JobSelectPaginator::class)
63
+            ->disableOriginalConstructor()
64
+            ->getMock()
65 65
         ;
66 66
         $paginators = $this->createPluginManagerMock(
67
-        	[JobSelectPaginator::class => $paginator],
68
-	        $this->getServiceManagerMock()
67
+            [JobSelectPaginator::class => $paginator],
68
+            $this->getServiceManagerMock()
69 69
         );
70 70
         $container = $this->createServiceManagerMock(['Core/PaginatorService' => $paginators]);
71 71
 
Please login to merge, or discard this patch.
test/ApplicationsTest/Factory/Paginator/JobSelectPaginatorFactoryTest.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -39,9 +39,9 @@  discard block
 block discarded – undo
39 39
     private $target = [
40 40
         JobSelectPaginatorFactory::class,
41 41
         '@testCreateService' => [
42
-        	'mock' => [
43
-        		'__invoke' => ['@with' => 'getInvokeArgs', 'count' => 1]
44
-	        ]
42
+            'mock' => [
43
+                '__invoke' => ['@with' => 'getInvokeArgs', 'count' => 1]
44
+            ]
45 45
         ],
46 46
     ];
47 47
 
@@ -60,15 +60,15 @@  discard block
 block discarded – undo
60 60
     public function testServiceCreation()
61 61
     {
62 62
         $repository = $this
63
-	        ->getMockBuilder(Job::class)
64
-	        ->disableOriginalConstructor()
65
-	        ->getMock()
63
+            ->getMockBuilder(Job::class)
64
+            ->disableOriginalConstructor()
65
+            ->getMock()
66 66
         ;
67 67
         $repositories = $this
68
-	        ->createPluginManagerMock(
69
-	        	['Jobs' => $repository],
70
-		        $this->getServiceManagerMock()
71
-	        )
68
+            ->createPluginManagerMock(
69
+                ['Jobs' => $repository],
70
+                $this->getServiceManagerMock()
71
+            )
72 72
         ;
73 73
         $container = $this->createServiceManagerMock(['repositories' => $repositories]);
74 74
 
Please login to merge, or discard this patch.
Applications/test/ApplicationsTest/Entity/Validator/ApplicationTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
      * @param null|string          $expectedErrorKey
95 95
      */
96 96
     public function testIsValidReturnsOnlyTrueIfEmailAndPrivacyPolicyIsSet($value, $expectedResult,
97
-                                                                           $expectedErrorKey = null)
97
+                                                                            $expectedErrorKey = null)
98 98
     {
99 99
         $expectedErrors = array();
100 100
         if (null !== $expectedErrorKey) {
Please login to merge, or discard this patch.
module/Applications/test/ApplicationsTest/Form/ApplicationsFilterTest.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -84,15 +84,15 @@
 block discarded – undo
84 84
         ];
85 85
 
86 86
         $add3 = ['type' => 'ToggleButton',
87
-                 'name' => 'unread',
88
-                 'options' => [
89
-                     'checked_value' => '1',
90
-                     'unchecked_value' => '0',
91
-                     'label' => 'unread',
92
-                 ],
93
-                 'attributes' => [
94
-                     'data-submit-on-change' => 'true',
95
-                 ]
87
+                    'name' => 'unread',
88
+                    'options' => [
89
+                        'checked_value' => '1',
90
+                        'unchecked_value' => '0',
91
+                        'label' => 'unread',
92
+                    ],
93
+                    'attributes' => [
94
+                        'data-submit-on-change' => 'true',
95
+                    ]
96 96
         ];
97 97
 
98 98
         /** @noinspection PhpUndefinedMethodInspection */
Please login to merge, or discard this patch.
Applications/test/ApplicationsTest/Acl/ApplicationAccessAssertionTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,13 +70,13 @@
 block discarded – undo
70 70
         $app  = new Application();
71 71
         $app2 = new Application();
72 72
         $app2->getPermissions()->grant($user, PermissionsInterface::PERMISSION_VIEW)
73
-                               ->grant($user2, PermissionsInterface::PERMISSION_CHANGE);
73
+                                ->grant($user2, PermissionsInterface::PERMISSION_CHANGE);
74 74
 
75 75
         $app3 = new Application();
76 76
         $app3->setIsDraft(true);
77 77
         //$app3->setUser($user);
78 78
         $app3->getPermissions()->grant($user, PermissionsInterface::PERMISSION_VIEW)
79
-                               ->grant($user2, PermissionsInterface::PERMISSION_CHANGE);
79
+                                ->grant($user2, PermissionsInterface::PERMISSION_CHANGE);
80 80
 
81 81
         return array(
82 82
             'nouser-noapp'     => array($role, $resource, null, false),
Please login to merge, or discard this patch.