@@ -310,9 +310,9 @@ |
||
310 | 310 | if (!$user) { |
311 | 311 | $user = $repository->create(); |
312 | 312 | $user->setEmail($email) |
313 | - ->setLogin($email) |
|
314 | - ->setRole(\Auth\Entity\User::ROLE_RECRUITER) |
|
315 | - ->setIsDraft(true); |
|
313 | + ->setLogin($email) |
|
314 | + ->setRole(\Auth\Entity\User::ROLE_RECRUITER) |
|
315 | + ->setIsDraft(true); |
|
316 | 316 | $info = $user->getInfo(); |
317 | 317 | /* @var $info \Auth\Entity\InfoInterface */ |
318 | 318 | $info->setEmail($email); |
@@ -42,7 +42,7 @@ |
||
42 | 42 | $services = $application->getServiceManager(); |
43 | 43 | |
44 | 44 | $services->get('Install/Listener/LanguageSetter') |
45 | - ->attach($eventManager); |
|
45 | + ->attach($eventManager); |
|
46 | 46 | |
47 | 47 | // start tracy debugging |
48 | 48 | $services->get('Tracy')->startDebug(); |
@@ -29,7 +29,7 @@ |
||
29 | 29 | * @var array |
30 | 30 | */ |
31 | 31 | protected $fields=[ |
32 | - 'q' => [ |
|
32 | + 'q' => [ |
|
33 | 33 | 'enabled' => true |
34 | 34 | ], |
35 | 35 | 'l' => [ |
@@ -55,8 +55,8 @@ discard block |
||
55 | 55 | { |
56 | 56 | $qb = $this->createQueryBuilder(); |
57 | 57 | $qb->hydrate(false) |
58 | - ->select('applyId') |
|
59 | - ->field('applyId')->equals($applyId); |
|
58 | + ->select('applyId') |
|
59 | + ->field('applyId')->equals($applyId); |
|
60 | 60 | |
61 | 61 | $result = $qb->getQuery()->execute(); |
62 | 62 | $count = $result->count(); |
@@ -136,7 +136,7 @@ discard block |
||
136 | 136 | $qb = $this->createQueryBuilder(); |
137 | 137 | $qb->distinct('organization') |
138 | 138 | ->hydrate(true) |
139 | - ->field('status.name')->notIn([ StatusInterface::EXPIRED, StatusInterface::INACTIVE ]); |
|
139 | + ->field('status.name')->notIn([ StatusInterface::EXPIRED, StatusInterface::INACTIVE ]); |
|
140 | 140 | |
141 | 141 | $q = $qb->getQuery(); |
142 | 142 | $r = $q->execute(); |
@@ -206,8 +206,8 @@ discard block |
||
206 | 206 | |
207 | 207 | if (null !== $isDeleted) { |
208 | 208 | $qb->addAnd( |
209 | - $qb->expr()->addOr($qb->expr()->field('isDeleted')->equals($isDeleted)) |
|
210 | - ->addOr($qb->expr()->field('isDeleted')->exists(false)) |
|
209 | + $qb->expr()->addOr($qb->expr()->field('isDeleted')->equals($isDeleted)) |
|
210 | + ->addOr($qb->expr()->field('isDeleted')->exists(false)) |
|
211 | 211 | ); |
212 | 212 | } |
213 | 213 |
@@ -27,10 +27,10 @@ discard block |
||
27 | 27 | { |
28 | 28 | $qb = $this->createQueryBuilder(); |
29 | 29 | $qb->hydrate(true) |
30 | - ->select('entity') |
|
31 | - ->field('sourceId')->equals($jobEntity->id) |
|
32 | - ->sort('dateCreated', 'desc') |
|
33 | - ->limit(1); |
|
30 | + ->select('entity') |
|
31 | + ->field('sourceId')->equals($jobEntity->id) |
|
32 | + ->sort('dateCreated', 'desc') |
|
33 | + ->limit(1); |
|
34 | 34 | |
35 | 35 | $result = $qb->getQuery()->execute(); |
36 | 36 | if ($result->count() == 0) { |
@@ -53,9 +53,9 @@ discard block |
||
53 | 53 | // So we need to create a cursor, that skips the first Document |
54 | 54 | $qb = $this->createQueryBuilder(); |
55 | 55 | $qb->hydrate(false) |
56 | - ->select('entity') |
|
57 | - ->field('sourceId')->equals($jobEntity->id) |
|
58 | - ->sort('dateCreated', 'desc'); |
|
56 | + ->select('entity') |
|
57 | + ->field('sourceId')->equals($jobEntity->id) |
|
58 | + ->sort('dateCreated', 'desc'); |
|
59 | 59 | $result = $qb->getQuery()->execute()->skip(1); |
60 | 60 | foreach ($result as $item) { |
61 | 61 | $id = $item['_id']; |
@@ -36,7 +36,7 @@ |
||
36 | 36 | if (true === $this->getOption('include_all_option')) { |
37 | 37 | $valueOptions = array_merge([ |
38 | 38 | 'all' => /*@translate*/ 'All', |
39 | - ], $valueOptions); |
|
39 | + ], $valueOptions); |
|
40 | 40 | } |
41 | 41 | |
42 | 42 | $this->setValueOptions($valueOptions); |
@@ -62,6 +62,6 @@ |
||
62 | 62 | ) |
63 | 63 | ) |
64 | 64 | ) |
65 | - ); |
|
65 | + ); |
|
66 | 66 | } |
67 | 67 | } |
@@ -60,9 +60,9 @@ |
||
60 | 60 | protected function addButtonsFieldset() |
61 | 61 | { |
62 | 62 | $this->add( |
63 | - array( |
|
64 | - 'type' => 'Jobs/MultipostButtonFieldset' |
|
65 | - ) |
|
63 | + array( |
|
64 | + 'type' => 'Jobs/MultipostButtonFieldset' |
|
65 | + ) |
|
66 | 66 | ); |
67 | 67 | } |
68 | 68 | } |
@@ -17,7 +17,7 @@ |
||
17 | 17 | { |
18 | 18 | parent::init(); |
19 | 19 | $input = $this->get('applyId') |
20 | - ->getValidatorChain() |
|
21 | - ->attachByName('Jobs/Form/UniqueApplyId'); |
|
20 | + ->getValidatorChain() |
|
21 | + ->attachByName('Jobs/Form/UniqueApplyId'); |
|
22 | 22 | } |
23 | 23 | } |