Completed
Push — develop ( 037ef6...a650ad )
by Carsten
06:58
created
module/Jobs/src/Jobs/Options/ModuleOptions.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -44,21 +44,21 @@
 block discarded – undo
44 44
      *
45 45
      * @var string $defaultLogo
46 46
      */
47
-    protected $defaultLogo="/Jobs/images/yawik-small.jpg";
47
+    protected $defaultLogo = "/Jobs/images/yawik-small.jpg";
48 48
 
49 49
     /**
50 50
      * Maximum size in bytes of a company Logo. Default 200k
51 51
      *
52 52
      * @var int $companyLogoMaxSize
53 53
      */
54
-    protected $companyLogoMaxSize=200000;
54
+    protected $companyLogoMaxSize = 200000;
55 55
 
56 56
     /**
57 57
      * Allowed Mime-Types for company Logos
58 58
      *
59 59
      * @var array
60 60
      */
61
-    protected $companyLogoMimeType=array("image");
61
+    protected $companyLogoMimeType = array("image");
62 62
 
63 63
 
64 64
     /**
Please login to merge, or discard this patch.
src/Organizations/Controller/Plugin/AcceptInvitationHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@
 block discarded – undo
127 127
 
128 128
     public function process($token, $organizationId)
129 129
     {
130
-        $organizationRepository   = $this->getOrganizationRepository();
130
+        $organizationRepository = $this->getOrganizationRepository();
131 131
         $organization = $organizationRepository->find($organizationId); /* @var $organization \Organizations\Entity\OrganizationInterface */
132 132
 
133 133
         if (!$organization) {
Please login to merge, or discard this patch.
Organizations/src/Organizations/Entity/EmployeePermissionsInterface.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -27,13 +27,13 @@
 block discarded – undo
27 27
      *
28 28
      * @var int
29 29
      */
30
-    const JOBS_VIEW           = 16;      //  10000
31
-    const JOBS_CREATE         = 24;      //  11000  # Create w/o View makes no sense
32
-    const JOBS_CHANGE         = 20;      //  10100  # Change w/o view makes no sense
33
-    const APPLICATIONS_VIEW   = 2;       //  00010
34
-    const APPLICATIONS_CHANGE = 3;       //  00011  # change w/o view makes no sense
35
-    const ALL                 = 31;      //  11111
36
-    const NONE                = 0;       //  00000
30
+    const JOBS_VIEW           = 16; //  10000
31
+    const JOBS_CREATE         = 24; //  11000  # Create w/o View makes no sense
32
+    const JOBS_CHANGE         = 20; //  10100  # Change w/o view makes no sense
33
+    const APPLICATIONS_VIEW   = 2; //  00010
34
+    const APPLICATIONS_CHANGE = 3; //  00011  # change w/o view makes no sense
35
+    const ALL                 = 31; //  11111
36
+    const NONE                = 0; //  00000
37 37
     /**#@- */
38 38
 
39 39
     /**
Please login to merge, or discard this patch.
Organizations/src/Organizations/Factory/Form/EmployeeFieldsetFactory.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -46,14 +46,14 @@  discard block
 block discarded – undo
46 46
 
47 47
          /* todo: WRITE own Hydrator strategy class */
48 48
         $strategy = new ClosureStrategy(
49
-            function ($object) use ($users) {
49
+            function($object) use ($users) {
50 50
             
51 51
                 if (is_string($object)) {
52 52
                     return $users->find($object);
53 53
                 }
54 54
                 return $object;
55 55
             },
56
-            function ($data) use ($users) {
56
+            function($data) use ($users) {
57 57
             
58 58
                 if (is_string($data)) {
59 59
                     $data = $users->find($data);
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
         /* todo: write own strategy class */
66 66
         $permStrategy = new ClosureStrategy(
67 67
             // extract
68
-            function ($object) {
68
+            function($object) {
69 69
                 /* @var $object \Organizations\Entity\EmployeePermissionsInterface */
70 70
                 $values = array();
71 71
                 foreach (array(
@@ -80,10 +80,10 @@  discard block
 block discarded – undo
80 80
 
81 81
                 return $values;
82 82
             },
83
-            function ($data) {
83
+            function($data) {
84 84
                 $permissions = array_reduce(
85 85
                     $data,
86
-                    function ($c, $i) {
86
+                    function($c, $i) {
87 87
                         return $c | $i;
88 88
                     },
89 89
                     0
Please login to merge, or discard this patch.
Organizations/src/Organizations/Form/OrganizationsContactFieldset.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     public function getHydrator()
25 25
     {
26 26
         if (!$this->hydrator) {
27
-            $hydrator           = new EntityHydrator();
27
+            $hydrator = new EntityHydrator();
28 28
             $this->setHydrator($hydrator);
29 29
         }
30 30
         return $this->hydrator;
Please login to merge, or discard this patch.
src/Organizations/Repository/Event/InjectOrganizationReferenceListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
 
41 41
         if ($document instanceof UserInterface) {
42 42
             $repository = $args->getDocumentManager()->getRepository('Organizations\Entity\Organization');
43
-            $userId  = $document->getId();
43
+            $userId = $document->getId();
44 44
             $reference = new OrganizationReference($userId, $repository);
45 45
 
46 46
             $document->setOrganization($reference);
Please login to merge, or discard this patch.
Organizations/src/Organizations/Repository/Filter/PaginationQuery.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      *
25 25
      * @var String
26 26
      */
27
-    protected $repositoryName="Organizations/Organization";
27
+    protected $repositoryName = "Organizations/Organization";
28 28
     
29 29
     /**
30 30
      * Sortable fields
Please login to merge, or discard this patch.
module/Auth/src/Auth/Options/ModuleOptions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
      *
62 62
      * @var array()
63 63
      */
64
-    protected $enableLogins = ['facebook','xing','linkedin','google','github'];
64
+    protected $enableLogins = ['facebook', 'xing', 'linkedin', 'google', 'github'];
65 65
 
66 66
     /**
67 67
      * Enable Registration
Please login to merge, or discard this patch.
module/Core/src/Core/Factory/View/Helper/SocialButtonsFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
         /* @var $serviceLocator \Zend\View\HelperPluginManager */
27 27
         $options = $serviceLocator->getServiceLocator()->get('Auth/Options');
28 28
         $config = $serviceLocator->getServiceLocator()->get('Config');
29
-        $helper = new SocialButtons($options,$config);
29
+        $helper = new SocialButtons($options, $config);
30 30
         return $helper;
31 31
     }
32 32
 }
Please login to merge, or discard this patch.