@@ -40,8 +40,7 @@ |
||
| 40 | 40 | if (strpos($addModule, '-') === 0) { |
| 41 | 41 | $remove = substr($addModule,1); |
| 42 | 42 | $modules = array_filter($modules, function ($elem) use ($remove) { return strcasecmp($elem,$remove); }); |
| 43 | - } |
|
| 44 | - else { |
|
| 43 | + } else { |
|
| 45 | 44 | if (!in_array($addModule, $modules)) { |
| 46 | 45 | $modules[] = $addModule; |
| 47 | 46 | } |
@@ -35,10 +35,10 @@ |
||
| 35 | 35 | 'applications list' => 'list view scripts.', |
| 36 | 36 | 'applications reset-files-permissions [--filter=]' => 'Resets (means: Set again) the permissions of attachments and contact images', |
| 37 | 37 | array('--filter=JSON', "available keys:\n" |
| 38 | - . "- before ISODate only applications before the given date\n" |
|
| 39 | - . "- after ISODate only applications after the given date\n" |
|
| 40 | - . "- id String Mongo ID of the application\n" |
|
| 41 | - . "- isDraft Boolean "), |
|
| 38 | + . "- before ISODate only applications before the given date\n" |
|
| 39 | + . "- after ISODate only applications after the given date\n" |
|
| 40 | + . "- id String Mongo ID of the application\n" |
|
| 41 | + . "- isDraft Boolean "), |
|
| 42 | 42 | ); |
| 43 | 43 | } |
| 44 | 44 | |
@@ -20,8 +20,8 @@ |
||
| 20 | 20 | public function init() |
| 21 | 21 | { |
| 22 | 22 | $this->setName('base'); |
| 23 | - //->setLabel( /* @translate */ 'General'); |
|
| 24 | - //->setHydrator(new \Core\Model\Hydrator\ModelHydrator()); |
|
| 23 | + //->setLabel( /* @translate */ 'General'); |
|
| 24 | + //->setHydrator(new \Core\Model\Hydrator\ModelHydrator()); |
|
| 25 | 25 | |
| 26 | 26 | |
| 27 | 27 | $this->add( |
@@ -8,7 +8,7 @@ |
||
| 8 | 8 | |
| 9 | 9 | class StringListener implements ListenerAggregateInterface |
| 10 | 10 | { |
| 11 | - protected $listeners = array(); |
|
| 11 | + protected $listeners = array(); |
|
| 12 | 12 | |
| 13 | 13 | /** |
| 14 | 14 | * Attach to an event manager |
@@ -60,7 +60,7 @@ |
||
| 60 | 60 | foreach ($this->fileNames as $obj) { |
| 61 | 61 | if (is_string($obj)) { |
| 62 | 62 | if (array_key_exists($obj, $this->fileObjects)) { |
| 63 | - $erg[] = $this->fileObjects[$obj]; |
|
| 63 | + $erg[] = $this->fileObjects[$obj]; |
|
| 64 | 64 | } |
| 65 | 65 | } else { |
| 66 | 66 | $erg[] = $obj; |
@@ -26,8 +26,8 @@ |
||
| 26 | 26 | { |
| 27 | 27 | |
| 28 | 28 | protected $identifiers = array( |
| 29 | - 'Jobs/Acl/Assertions', |
|
| 30 | - 'Jobs/Acl/Assertion/Create', |
|
| 29 | + 'Jobs/Acl/Assertions', |
|
| 30 | + 'Jobs/Acl/Assertion/Create', |
|
| 31 | 31 | ); |
| 32 | 32 | |
| 33 | 33 | protected function preAssert( |
@@ -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']; |
@@ -102,7 +102,7 @@ |
||
| 102 | 102 | $fieldset->setLabel(ucfirst($label)); |
| 103 | 103 | } |
| 104 | 104 | $fieldset->setName($name) |
| 105 | - ->setObject($child); |
|
| 105 | + ->setObject($child); |
|
| 106 | 106 | |
| 107 | 107 | |
| 108 | 108 | $this->add($fieldset); |
@@ -77,7 +77,7 @@ |
||
| 77 | 77 | if (is_array($inputLabel)){ |
| 78 | 78 | $priority = isset($inputLabel[1])?$inputLabel[1]:0; |
| 79 | 79 | $inputLabel = $inputLabel[0]; |
| 80 | - }else{ |
|
| 80 | + } else{ |
|
| 81 | 81 | $priority = 0; |
| 82 | 82 | } |
| 83 | 83 | |
@@ -26,11 +26,11 @@ |
||
| 26 | 26 | // 'driver' => 'odm_default', |
| 27 | 27 | // |
| 28 | 28 | // 'generate_proxies' => true, |
| 29 | - 'proxy_dir' => 'cache/DoctrineMongoODMModule/Proxy', |
|
| 29 | + 'proxy_dir' => 'cache/DoctrineMongoODMModule/Proxy', |
|
| 30 | 30 | // 'proxy_namespace' => 'DoctrineMongoODMModule\Proxy', |
| 31 | 31 | // |
| 32 | 32 | // 'generate_hydrators' => true, |
| 33 | - 'hydrator_dir' => 'cache/DoctrineMongoODMModule/Hydrator', |
|
| 33 | + 'hydrator_dir' => 'cache/DoctrineMongoODMModule/Hydrator', |
|
| 34 | 34 | // 'hydrator_namespace' => 'DoctrineMongoODMModule\Hydrator', |
| 35 | 35 | // |
| 36 | 36 | // 'default_db' => '', |