Completed
Push — develop ( 928e2a...e40e4d )
by Mathias
28:01 queued 20:22
created
module/Applications/test/ApplicationsTest/Form/Element/JobSelectTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
         ]]
47 47
     ];
48 48
 
49
-    private $inheritance = [ Select::class, HeadscriptProviderInterface::class ];
49
+    private $inheritance = [Select::class, HeadscriptProviderInterface::class];
50 50
 
51 51
     public function propertiesProvider()
52 52
     {
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
                 'getter_method' => 'getValue',
64 64
                 'expect' => $job->getId(),
65 65
                 'value' => $job,
66
-                'post' => function () use ($job) {
66
+                'post' => function() use ($job) {
67 67
                     $this->assertEquals([0 => '', $job->getId() => $job->getTitle()], $this->target->getValueOptions());
68 68
                 }
69 69
             ]]
Please login to merge, or discard this patch.
module/Applications/test/ApplicationsTest/Form/ApplicationsFilterTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
         '@testAddElements' => ['mock' => ['add', 'setButtonElement' => ['with' => 'unread', 'count' => 1]]],
39 39
     ];
40 40
 
41
-    private $inheritance = [ SearchForm::class ];
41
+    private $inheritance = [SearchForm::class];
42 42
 
43 43
     private $attributes = [
44 44
         'options' => [
Please login to merge, or discard this patch.
Applications/test/ApplicationsTest/Paginator/JobSelectPaginatorTest.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
     private $repository;
40 40
 
41
-    private $inheritance = [ Paginator::class ];
41
+    private $inheritance = [Paginator::class];
42 42
 
43 43
     private function getTargetArgs()
44 44
     {
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
         $qb->expects($this->once())->method('field')->with('title')->will($this->returnSelf());
61 61
         $qb->expects($this->once())->method('equals')->with(
62 62
             $this->callback(function($value) use ($q) {
63
-                return $value instanceOf \MongoRegex && (String) $value == '/' . $q . '/i';
63
+                return $value instanceOf \MongoRegex && (String) $value == '/'.$q.'/i';
64 64
             })
65 65
         );
66 66
         $cursor = $this->getMockBuilder(\Doctrine\ODM\MongoDB\Cursor::class)->disableOriginalConstructor()->getMock();
Please login to merge, or discard this patch.
Applications/test/ApplicationsTest/Acl/ApplicationAccessAssertionTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -89,8 +89,8 @@
 block discarded – undo
89 89
             'change-not-granted2' => array($user, $app2, 'change', false),
90 90
             'subsequentAttachmentUpload-not-granted' => array($user, $app, Application::PERMISSION_SUBSEQUENT_ATTACHMENT_UPLOAD, false),
91 91
             'subsequentAttachmentUpload-granted' => array($user, $app2, Application::PERMISSION_SUBSEQUENT_ATTACHMENT_UPLOAD, true),
92
-            'allow-draft-view' => [ $user2, $app3, 'change', true ],
93
-            'disallow-draft-view' => [ $user, $app3, 'change', false ],
92
+            'allow-draft-view' => [$user2, $app3, 'change', true],
93
+            'disallow-draft-view' => [$user, $app3, 'change', false],
94 94
 
95 95
         );
96 96
     }
Please login to merge, or discard this patch.
module/Applications/test/TestConfig.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,8 @@
 block discarded – undo
3 3
 
4 4
 return array(
5 5
     // This should be an array of module namespaces used in the application.
6
-    'modules' => array_merge($commonModules,array(
7
-        'Core', 'Auth', 'Jobs', 'Organizations',  'Applications', 'Cv', 'Settings'
6
+    'modules' => array_merge($commonModules, array(
7
+        'Core', 'Auth', 'Jobs', 'Organizations', 'Applications', 'Cv', 'Settings'
8 8
     )),
9 9
 
10 10
     // These are various options for the listeners attached to the ModuleManager
Please login to merge, or discard this patch.
test/OrganizationsTest/Exception/MissingParentOrganizationExceptionTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,5 +27,5 @@
 block discarded – undo
27 27
 
28 28
     private $target = MissingParentOrganizationException::class;
29 29
 
30
-    private $inheritance = [ ExceptionInterface::class ];
30
+    private $inheritance = [ExceptionInterface::class];
31 31
 }
32 32
\ No newline at end of file
Please login to merge, or discard this patch.
test/OrganizationsTest/Factory/Controller/ProfileControllerFactoryTest.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -45,17 +45,17 @@
 block discarded – undo
45 45
         $container->expects($this->any())
46 46
             ->method('get')
47 47
             ->willReturnMap([
48
-                ['repositories',$container],
49
-                ['Organizations/Organization',$repository],
50
-                ['translator',$translator],
51
-                ['Organizations\ImageFileCache\Manager',$imageFileCacheManager],
52
-                ['Jobs/Job',$jobRepository],
53
-                ['Jobs/JobboardSearchOptions',$options]
48
+                ['repositories', $container],
49
+                ['Organizations/Organization', $repository],
50
+                ['translator', $translator],
51
+                ['Organizations\ImageFileCache\Manager', $imageFileCacheManager],
52
+                ['Jobs/Job', $jobRepository],
53
+                ['Jobs/JobboardSearchOptions', $options]
54 54
             ])
55 55
         ;
56 56
 
57 57
         $factory = new ProfileControllerFactory();
58
-        $controller = $factory($container,'some-name');
59
-        $this->assertInstanceOf(ProfileController::class,$controller);
58
+        $controller = $factory($container, 'some-name');
59
+        $this->assertInstanceOf(ProfileController::class, $controller);
60 60
     }
61 61
 }
Please login to merge, or discard this patch.
Factory/Controller/InviteEmployeeControllerFactoryTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,15 +32,15 @@
 block discarded – undo
32 32
         $container->expects($this->exactly(2))
33 33
             ->method('get')
34 34
             ->willReturnMap([
35
-                ['Core/RepositoryService',$container],
36
-                ['Organizations/Organization',$orgRepo]
35
+                ['Core/RepositoryService', $container],
36
+                ['Organizations/Organization', $orgRepo]
37 37
             ])
38 38
         ;
39 39
         $factory = new InviteEmployeeControllerFactory();
40 40
 
41 41
         $this->assertInstanceOf(
42 42
             InviteEmployeeController::class,
43
-            $factory($container,'some-name')
43
+            $factory($container, 'some-name')
44 44
         );
45 45
     }
46 46
 }
Please login to merge, or discard this patch.
Factory/Controller/Plugin/AcceptInvitationHandlerFactoryTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
                  ->method('get')
61 61
                  ->will($this->returnValueMap(
62 62
 		            array(
63
-		                array('repositories',$repositories),
63
+		                array('repositories', $repositories),
64 64
 		                array('AuthenticationService', $auth)
65 65
 		            )
66 66
                  ))
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
          * Test start here
72 72
          */
73 73
 
74
-        $plugin = $target->__invoke($services,'irrelevant');
74
+        $plugin = $target->__invoke($services, 'irrelevant');
75 75
 	    
76 76
         $this->assertInstanceOf('\Organizations\Controller\Plugin\AcceptInvitationHandler', $plugin);
77 77
         $this->assertSame($userRep, $plugin->getUserRepository());
Please login to merge, or discard this patch.