@@ -32,6 +32,6 @@ |
||
| 32 | 32 | */ |
| 33 | 33 | public function getUri() |
| 34 | 34 | { |
| 35 | - return "/file/Cv.Attachment/" . $this->getId() . "/" .urlencode($this->name); |
|
| 35 | + return "/file/Cv.Attachment/".$this->getId()."/".urlencode($this->name); |
|
| 36 | 36 | } |
| 37 | 37 | } |
@@ -78,7 +78,7 @@ |
||
| 78 | 78 | */ |
| 79 | 79 | public function setCurrentIndicator($currentIndicator) |
| 80 | 80 | { |
| 81 | - $this->currentIndicator=$currentIndicator; |
|
| 81 | + $this->currentIndicator = $currentIndicator; |
|
| 82 | 82 | return $this; |
| 83 | 83 | } |
| 84 | 84 | |
@@ -86,7 +86,7 @@ discard block |
||
| 86 | 86 | |
| 87 | 87 | public function setDesiredJob($desiredJob) |
| 88 | 88 | { |
| 89 | - $this->desiredJob=$desiredJob; |
|
| 89 | + $this->desiredJob = $desiredJob; |
|
| 90 | 90 | return $this; |
| 91 | 91 | } |
| 92 | 92 | |
@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | */ |
| 106 | 106 | public function setDesiredLocation($desiredLocation) |
| 107 | 107 | { |
| 108 | - $this->desiredLocation=$desiredLocation; |
|
| 108 | + $this->desiredLocation = $desiredLocation; |
|
| 109 | 109 | return $this; |
| 110 | 110 | } |
| 111 | 111 | |
@@ -143,7 +143,7 @@ discard block |
||
| 143 | 143 | */ |
| 144 | 144 | public function setWillingnessToTravel($willingnessToTravel) |
| 145 | 145 | { |
| 146 | - $this->willingnessToTravel=$willingnessToTravel; |
|
| 146 | + $this->willingnessToTravel = $willingnessToTravel; |
|
| 147 | 147 | return $this; |
| 148 | 148 | } |
| 149 | 149 | |
@@ -162,7 +162,7 @@ discard block |
||
| 162 | 162 | */ |
| 163 | 163 | public function setExpectedSalary($expectedSalary) |
| 164 | 164 | { |
| 165 | - $this->expectedSalary=$expectedSalary; |
|
| 165 | + $this->expectedSalary = $expectedSalary; |
|
| 166 | 166 | return $this; |
| 167 | 167 | } |
| 168 | 168 | |
@@ -15,9 +15,9 @@ |
||
| 15 | 15 | */ |
| 16 | 16 | interface StatusInterface extends EntityInterface |
| 17 | 17 | { |
| 18 | - const NONPUBLIC = /*@translate*/ 'private'; |
|
| 18 | + const NONPUBLIC = /*@translate*/ 'private'; |
|
| 19 | 19 | |
| 20 | - const PUBLIC_TO_ALL = /*@translate*/ 'public to all'; |
|
| 20 | + const PUBLIC_TO_ALL = /*@translate*/ 'public to all'; |
|
| 21 | 21 | |
| 22 | 22 | public function __construct($status = self::NONPUBLIC); |
| 23 | 23 | |
@@ -47,7 +47,7 @@ |
||
| 47 | 47 | public function __construct($status = self::NONPUBLIC) |
| 48 | 48 | { |
| 49 | 49 | if (!isset(static::$orderMap[$status])) { |
| 50 | - throw new \DomainException('Unknown status: ' . $status); |
|
| 50 | + throw new \DomainException('Unknown status: '.$status); |
|
| 51 | 51 | } |
| 52 | 52 | |
| 53 | 53 | $this->name = $status; |
@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | */ |
| 34 | 34 | public function setName($name) |
| 35 | 35 | { |
| 36 | - $this->name=$name; |
|
| 36 | + $this->name = $name; |
|
| 37 | 37 | } |
| 38 | 38 | |
| 39 | 39 | /** |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | */ |
| 52 | 52 | public function setLevel($level) |
| 53 | 53 | { |
| 54 | - $this->level=$level; |
|
| 54 | + $this->level = $level; |
|
| 55 | 55 | } |
| 56 | 56 | |
| 57 | 57 | /** |
@@ -10,10 +10,10 @@ |
||
| 10 | 10 | use Core\Entity\IdentifiableEntityInterface; |
| 11 | 11 | |
| 12 | 12 | interface CvInterface extends EntityInterface, |
| 13 | - IdentifiableEntityInterface, |
|
| 14 | - DraftableEntityInterface, |
|
| 15 | - PermissionsAwareInterface, |
|
| 16 | - ModificationDateAwareEntityInterface |
|
| 13 | + IdentifiableEntityInterface, |
|
| 14 | + DraftableEntityInterface, |
|
| 15 | + PermissionsAwareInterface, |
|
| 16 | + ModificationDateAwareEntityInterface |
|
| 17 | 17 | { |
| 18 | 18 | |
| 19 | 19 | /** |
@@ -60,11 +60,11 @@ |
||
| 60 | 60 | protected $skills; |
| 61 | 61 | |
| 62 | 62 | /** |
| 63 | - * Skills |
|
| 64 | - * |
|
| 65 | - * @var ArrayCollection |
|
| 66 | - * @ODM\EmbedMany(targetDocument="\Cv\Entity\Language") |
|
| 67 | - */ |
|
| 63 | + * Skills |
|
| 64 | + * |
|
| 65 | + * @var ArrayCollection |
|
| 66 | + * @ODM\EmbedMany(targetDocument="\Cv\Entity\Language") |
|
| 67 | + */ |
|
| 68 | 68 | protected $languageSkills; |
| 69 | 69 | |
| 70 | 70 | /** |
@@ -82,7 +82,7 @@ discard block |
||
| 82 | 82 | * @var array |
| 83 | 83 | * @ODM\Field(type="collection") |
| 84 | 84 | */ |
| 85 | - protected $nativeLanguages=[]; |
|
| 85 | + protected $nativeLanguages = []; |
|
| 86 | 86 | |
| 87 | 87 | |
| 88 | 88 | /** |
@@ -267,7 +267,7 @@ discard block |
||
| 267 | 267 | */ |
| 268 | 268 | public function setIsDraft($isDraft) |
| 269 | 269 | { |
| 270 | - $this->isDraft=$isDraft; |
|
| 270 | + $this->isDraft = $isDraft; |
|
| 271 | 271 | return $this; |
| 272 | 272 | } |
| 273 | 273 | |
@@ -337,7 +337,7 @@ discard block |
||
| 337 | 337 | */ |
| 338 | 338 | public function setNativeLanguages($nativeLanguages) |
| 339 | 339 | { |
| 340 | - $this->nativeLanguages=$nativeLanguages; |
|
| 340 | + $this->nativeLanguages = $nativeLanguages; |
|
| 341 | 341 | return $this; |
| 342 | 342 | } |
| 343 | 343 | |
@@ -18,20 +18,20 @@ discard block |
||
| 18 | 18 | |
| 19 | 19 | return [ |
| 20 | 20 | 'doctrine' => [ |
| 21 | - 'driver' => [ |
|
| 21 | + 'driver' => [ |
|
| 22 | 22 | 'odm_default' => [ |
| 23 | 23 | 'drivers' => [ |
| 24 | 24 | 'Applications\Entity' => 'annotation', |
| 25 | 25 | ], |
| 26 | 26 | ], |
| 27 | 27 | 'annotation' => [ |
| 28 | - /* |
|
| 28 | + /* |
|
| 29 | 29 | * All drivers (except DriverChain) require paths to work on. You |
| 30 | 30 | * may set this value as a string (for a single path) or an array |
| 31 | 31 | * for multiple paths. |
| 32 | 32 | * example https://github.com/doctrine/DoctrineORMModule |
| 33 | 33 | */ |
| 34 | - 'paths' => [ __DIR__ . '/../src/Entity'] |
|
| 34 | + 'paths' => [ __DIR__ . '/../src/Entity'] |
|
| 35 | 35 | ], |
| 36 | 36 | ], |
| 37 | 37 | 'eventmanager' => [ |
@@ -71,18 +71,18 @@ discard block |
||
| 71 | 71 | 'Applications/Options/ModuleOptions' => 'Applications\Options\ModuleOptions', |
| 72 | 72 | ], |
| 73 | 73 | 'factories' => [ |
| 74 | - 'Applications/Options' => 'Applications\Factory\ModuleOptionsFactory', |
|
| 75 | - 'ApplicationRepository' => 'Applications\Repository\Service\ApplicationRepositoryFactory', |
|
| 76 | - 'ApplicationMapper' => 'Applications\Repository\Service\ApplicationMapperFactory', |
|
| 77 | - 'EducationMapper' => 'Applications\Repository\Service\EducationMapperFactory', |
|
| 78 | - 'Applications/Listener/ApplicationCreated' => 'Applications\Factory\Listener\EventApplicationCreatedFactory', |
|
| 79 | - 'Applications/Listener/ApplicationStatusChangePre' => 'Applications\Factory\Listener\StatusChangeFactory', |
|
| 80 | - 'Applications\Auth\Dependency\ListListener' => 'Applications\Factory\Auth\Dependency\ListListenerFactory', |
|
| 74 | + 'Applications/Options' => 'Applications\Factory\ModuleOptionsFactory', |
|
| 75 | + 'ApplicationRepository' => 'Applications\Repository\Service\ApplicationRepositoryFactory', |
|
| 76 | + 'ApplicationMapper' => 'Applications\Repository\Service\ApplicationMapperFactory', |
|
| 77 | + 'EducationMapper' => 'Applications\Repository\Service\EducationMapperFactory', |
|
| 78 | + 'Applications/Listener/ApplicationCreated' => 'Applications\Factory\Listener\EventApplicationCreatedFactory', |
|
| 79 | + 'Applications/Listener/ApplicationStatusChangePre' => 'Applications\Factory\Listener\StatusChangeFactory', |
|
| 80 | + 'Applications\Auth\Dependency\ListListener' => 'Applications\Factory\Auth\Dependency\ListListenerFactory', |
|
| 81 | 81 | Listener\JobSelectValues::class => Factory\Listener\JobSelectValuesFactory::class, |
| 82 | 82 | Listener\LoadDependendEntities::class => InvokableFactory::class, |
| 83 | 83 | ], |
| 84 | 84 | 'aliases' => [ |
| 85 | - 'Applications/Listener/ApplicationStatusChangePost' => 'Applications/Listener/ApplicationStatusChangePre' |
|
| 85 | + 'Applications/Listener/ApplicationStatusChangePost' => 'Applications/Listener/ApplicationStatusChangePre' |
|
| 86 | 86 | ] |
| 87 | 87 | ], |
| 88 | 88 | |
@@ -185,20 +185,20 @@ discard block |
||
| 185 | 185 | ], |
| 186 | 186 | 'form_elements' => [ |
| 187 | 187 | 'invokables' => [ |
| 188 | - 'Applications/Mail' => 'Applications\Form\Mail', |
|
| 189 | - 'Applications/BaseFieldset' => 'Applications\Form\BaseFieldset', |
|
| 190 | - 'Applications/SettingsFieldset' => 'Applications\Form\SettingsFieldset', |
|
| 191 | - 'Applications/CommentForm' => 'Applications\Form\CommentForm', |
|
| 192 | - 'Applications/CommentFieldset' => 'Applications\Form\CommentFieldset', |
|
| 193 | - 'Applications/Apply' => 'Applications\Form\Apply', |
|
| 194 | - 'Applications/Contact' => 'Applications\Form\ContactContainer', |
|
| 195 | - 'Applications/Base' => 'Applications\Form\Base', |
|
| 196 | - 'Applications/Facts' => 'Applications\Form\Facts', |
|
| 197 | - 'Applications/FactsFieldset' => 'Applications\Form\FactsFieldset', |
|
| 198 | - 'Applications/Attributes' => 'Applications\Form\Attributes', |
|
| 199 | - 'href' => 'Applications\Form\Element\Ref', |
|
| 188 | + 'Applications/Mail' => 'Applications\Form\Mail', |
|
| 189 | + 'Applications/BaseFieldset' => 'Applications\Form\BaseFieldset', |
|
| 190 | + 'Applications/SettingsFieldset' => 'Applications\Form\SettingsFieldset', |
|
| 191 | + 'Applications/CommentForm' => 'Applications\Form\CommentForm', |
|
| 192 | + 'Applications/CommentFieldset' => 'Applications\Form\CommentFieldset', |
|
| 193 | + 'Applications/Apply' => 'Applications\Form\Apply', |
|
| 194 | + 'Applications/Contact' => 'Applications\Form\ContactContainer', |
|
| 195 | + 'Applications/Base' => 'Applications\Form\Base', |
|
| 196 | + 'Applications/Facts' => 'Applications\Form\Facts', |
|
| 197 | + 'Applications/FactsFieldset' => 'Applications\Form\FactsFieldset', |
|
| 198 | + 'Applications/Attributes' => 'Applications\Form\Attributes', |
|
| 199 | + 'href' => 'Applications\Form\Element\Ref', |
|
| 200 | 200 | |
| 201 | - ], |
|
| 201 | + ], |
|
| 202 | 202 | 'factories' => [ |
| 203 | 203 | 'Applications/ContactImage' => 'Applications\Factory\Form\ContactImageFactory', |
| 204 | 204 | 'Applications/Attachments' => 'Applications\Factory\Form\AttachmentsFactory', |
@@ -206,7 +206,7 @@ discard block |
||
| 206 | 206 | 'Applications\Form\Element\StatusSelect' => Factory\Form\StatusSelectFactory::class, |
| 207 | 207 | Form\Element\JobSelect::class => Factory\Form\JobSelectFactory::class |
| 208 | 208 | ], |
| 209 | - ], |
|
| 209 | + ], |
|
| 210 | 210 | |
| 211 | 211 | 'form_elements_config' => [ |
| 212 | 212 | 'Applications/Apply' => [ |
@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | * for multiple paths. |
| 34 | 34 | * example https://github.com/doctrine/DoctrineORMModule |
| 35 | 35 | */ |
| 36 | - 'paths' => [ __DIR__ . '/../src/Entity'] |
|
| 36 | + 'paths' => [__DIR__.'/../src/Entity'] |
|
| 37 | 37 | ], |
| 38 | 38 | ], |
| 39 | 39 | 'eventmanager' => [ |
@@ -94,10 +94,10 @@ discard block |
||
| 94 | 94 | 'Applications\Controller\MultiManage' => 'Applications\Controller\MultimanageController', |
| 95 | 95 | ], |
| 96 | 96 | 'factories' => [ |
| 97 | - 'Applications/Controller/Manage' => [ManageController::class,'factory'], |
|
| 98 | - 'Applications\Controller\Apply' => [ApplyController::class,'factory'], |
|
| 99 | - 'Applications/CommentController' => [CommentController::class,'factory'], |
|
| 100 | - 'Applications/Console' => [ConsoleController::class,'factory'], |
|
| 97 | + 'Applications/Controller/Manage' => [ManageController::class, 'factory'], |
|
| 98 | + 'Applications\Controller\Apply' => [ApplyController::class, 'factory'], |
|
| 99 | + 'Applications/CommentController' => [CommentController::class, 'factory'], |
|
| 100 | + 'Applications/Console' => [ConsoleController::class, 'factory'], |
|
| 101 | 101 | ApiApplyController::class => ApiApplyControllerFactory::class, |
| 102 | 102 | ] |
| 103 | 103 | ], |
@@ -157,7 +157,7 @@ discard block |
||
| 157 | 157 | 'translation_file_patterns' => [ |
| 158 | 158 | [ |
| 159 | 159 | 'type' => 'gettext', |
| 160 | - 'base_dir' => __DIR__ . '/../language', |
|
| 160 | + 'base_dir' => __DIR__.'/../language', |
|
| 161 | 161 | 'pattern' => '%s.mo', |
| 162 | 162 | ], |
| 163 | 163 | ], |
@@ -165,16 +165,16 @@ discard block |
||
| 165 | 165 | // Configure the view service manager |
| 166 | 166 | 'view_manager' => [ |
| 167 | 167 | 'template_path_stack' => [ |
| 168 | - 'Applications' => __DIR__ . '/../view', |
|
| 168 | + 'Applications' => __DIR__.'/../view', |
|
| 169 | 169 | ], |
| 170 | 170 | 'template_map' => [ |
| 171 | - 'applications/error/not-found' => __DIR__ . '/../view/error/not-found.phtml', |
|
| 172 | - 'layout/apply' => __DIR__ . '/../view/layout/layout.phtml', |
|
| 173 | - 'applications/sidebar/manage' => __DIR__ . '/../view/sidebar/manage.phtml', |
|
| 174 | - 'applications/mail/forward' => __DIR__ . '/../view/mail/forward.phtml', |
|
| 175 | - 'applications/detail/pdf' => __DIR__ . '/../view/applications/manage/detail.pdf.phtml', |
|
| 176 | - 'applications/index/disclaimer' => __DIR__ . '/../view/applications/index/disclaimer.phtml', |
|
| 177 | - 'content/applications-privacy-policy' => __DIR__ . '/../view/applications/index/disclaimer.phtml', |
|
| 171 | + 'applications/error/not-found' => __DIR__.'/../view/error/not-found.phtml', |
|
| 172 | + 'layout/apply' => __DIR__.'/../view/layout/layout.phtml', |
|
| 173 | + 'applications/sidebar/manage' => __DIR__.'/../view/sidebar/manage.phtml', |
|
| 174 | + 'applications/mail/forward' => __DIR__.'/../view/mail/forward.phtml', |
|
| 175 | + 'applications/detail/pdf' => __DIR__.'/../view/applications/manage/detail.pdf.phtml', |
|
| 176 | + 'applications/index/disclaimer' => __DIR__.'/../view/applications/index/disclaimer.phtml', |
|
| 177 | + 'content/applications-privacy-policy' => __DIR__.'/../view/applications/index/disclaimer.phtml', |
|
| 178 | 178 | ] |
| 179 | 179 | ], |
| 180 | 180 | 'view_helpers' => [ |
@@ -244,7 +244,7 @@ discard block |
||
| 244 | 244 | 'factories' => [ |
| 245 | 245 | 'Applications/NewApplication' => 'Applications\Factory\Mail\NewApplicationFactory', |
| 246 | 246 | Mail\Confirmation::class => Factory\Mail\ConfirmationFactory::class, |
| 247 | - 'Applications/Forward' => [Forward::class,'factory'], |
|
| 247 | + 'Applications/Forward' => [Forward::class, 'factory'], |
|
| 248 | 248 | ], |
| 249 | 249 | 'aliases' => [ |
| 250 | 250 | 'Applications/Confirmation' => Mail\Confirmation::class, |