Passed
Pull Request — master (#177)
by
unknown
08:34
created
ext_localconf.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -22,27 +22,27 @@  discard block
 block discarded – undo
22 22
     require_once $composerAutoloadFile;
23 23
 }
24 24
 
25
-$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['EWW\Dpf\Tasks\TransferTask'] = array(
25
+$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['EWW\Dpf\Tasks\TransferTask'] = array (
26 26
     'extension'   => $_EXTKEY,
27 27
     'title'       => 'Qucosa-Dokumente ans Repository übertragen.',
28 28
     'description' => '',
29 29
 );
30 30
 
31 31
 if (isset($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['extbase']['commandControllers']) == false) {
32
-    $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['extbase']['commandControllers'] = array();
32
+    $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['extbase']['commandControllers'] = array ();
33 33
 }
34 34
 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['extbase']['commandControllers'][] = 'EWW\Dpf\Command\TransferCommandController';
35 35
 
36 36
 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
37 37
     'EWW.' . $_EXTKEY,
38 38
     'Qucosaform',
39
-    array(
39
+    array (
40 40
         'DocumentForm'     => 'list,new,create,edit,update,delete,cancel',
41 41
         'AjaxDocumentForm' => 'group,fileGroup,field,deleteFile,primaryUpload,secondaryUpload,fillOut',
42 42
         'Gnd'              => 'search',
43 43
     ),
44 44
     // non-cacheable actions
45
-    array(
45
+    array (
46 46
         'DocumentForm'     => 'list,new,create,edit,update,delete,cancel,ajaxGroup,ajaxFileGroup,ajaxField',
47 47
         'AjaxDocumentForm' => 'group,fileGroup,field,deleteFile,primaryUpload,secondaryUpload,fillOut',
48 48
         'Gnd'              => 'search',
@@ -54,11 +54,11 @@  discard block
 block discarded – undo
54 54
 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
55 55
     'EWW.' . $_EXTKEY,
56 56
     'Frontendsearch',
57
-    array(
57
+    array (
58 58
         'SearchFE' => 'search,extendedSearch,showSearchForm',
59 59
     ),
60 60
     // non-cacheable actions
61
-    array(
61
+    array (
62 62
         'SearchFE' => 'search,extendedSearch'
63 63
     )
64 64
 );
@@ -66,11 +66,11 @@  discard block
 block discarded – undo
66 66
 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
67 67
     'EWW.' . $_EXTKEY,
68 68
     'Getfile',
69
-    array(
69
+    array (
70 70
         'GetFile'     => 'attachment',
71 71
     ),
72 72
     // non-cacheable actions
73
-    array(
73
+    array (
74 74
         'GetFile'     => 'attachment',
75 75
     )
76 76
 );
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
80 80
     'EWW.' . $_EXTKEY,
81 81
     'Backoffice',
82
-    array(
82
+    array (
83 83
         'Workspace'        => 'listWorkspace, initIndex, '
84 84
             .'batch, batchRegister, batchRemove, batchReleaseValidated, batchReleaseUnvalidated, uploadFiles',
85 85
         'Document'         => 'logout, showDetails, discard, postpone, deleteLocally, register, releasePublish, '
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
         'User'             => 'settings, saveSettings',
97 97
     ),
98 98
     // non-cacheable actions
99
-    array(
99
+    array (
100 100
         'Workspace'        => 'listWorkspace, initIndex, '
101 101
             .'batch, batchRegister, batchRemove, batchReleaseValidated, batchReleaseUnvalidated, uploadFiles',
102 102
         'Document'         => 'logout, showDetails, discard, postpone, deleteLocally, register, releasePublish, '
Please login to merge, or discard this patch.
Configuration/TCA/Overrides/fe_users.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 
19 19
 $temporaryColumns = array (
20 20
     'stored_searches' => [
21
-        'exclude' => true,
21
+        'exclude' => TRUE,
22 22
         'label' => 'stored_searches',
23 23
         'config' => [
24 24
         'type' => 'inline',
Please login to merge, or discard this patch.
Classes/Controller/UserController.php 3 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
 
41 41
         $this->frontendUserRepository->update($frontendUser);
42 42
         $severity = \TYPO3\CMS\Core\Messaging\AbstractMessage::OK;
43
-        $this->addFlashMessage("Success", '', $severity,false);
43
+        $this->addFlashMessage("Success", '', $severity, false);
44 44
 
45 45
         $this->forward('settings');
46 46
     }
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,8 +19,7 @@
 block discarded – undo
19 19
 /**
20 20
  * Controller for the "workspace"/"my publications" area.
21 21
  */
22
-class UserController  extends AbstractController
23
-{
22
+class UserController  extends AbstractController {
24 23
     /**
25 24
      * benutzerRepository
26 25
      *
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
 
41 41
         $this->frontendUserRepository->update($frontendUser);
42 42
         $severity = \TYPO3\CMS\Core\Messaging\AbstractMessage::OK;
43
-        $this->addFlashMessage("Success", '', $severity,false);
43
+        $this->addFlashMessage("Success", '', $severity,FALSE);
44 44
 
45 45
         $this->forward('settings');
46 46
     }
Please login to merge, or discard this patch.
Classes/Domain/Model/FrontendUser.php 2 patches
Braces   +11 added lines, -22 removed lines patch added patch discarded remove patch
@@ -19,8 +19,7 @@  discard block
 block discarded – undo
19 19
 /**
20 20
 * Frontend user
21 21
 */
22
-class FrontendUser extends \TYPO3\CMS\Extbase\Domain\Model\FrontendUser
23
-{
22
+class FrontendUser extends \TYPO3\CMS\Extbase\Domain\Model\FrontendUser {
24 23
     /**
25 24
      * storedSearches
26 25
      *
@@ -60,8 +59,7 @@  discard block
 block discarded – undo
60 59
     /**
61 60
      * __construct
62 61
      */
63
-    public function __construct()
64
-    {
62
+    public function __construct() {
65 63
         parent::__construct();
66 64
 
67 65
         //Do not remove the next line: It would break the functionality
@@ -73,8 +71,7 @@  discard block
 block discarded – undo
73 71
      *
74 72
      * @return void
75 73
      */
76
-    protected function initStorageObjects()
77
-    {
74
+    protected function initStorageObjects() {
78 75
         $this->storedSearches = new \TYPO3\CMS\Extbase\Persistence\ObjectStorage();
79 76
     }
80 77
 
@@ -84,8 +81,7 @@  discard block
 block discarded – undo
84 81
      *
85 82
      * @return \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\EWW\Dpf\Domain\Model\StoredSearch>
86 83
      */
87
-    public function getStoredSearches()
88
-    {
84
+    public function getStoredSearches() {
89 85
         return $this->storedSearches;
90 86
     }
91 87
 
@@ -95,16 +91,14 @@  discard block
 block discarded – undo
95 91
      * @param  \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\EWW\Dpf\Domain\Model\StoredSearch> $storedSearches
96 92
      * @return void
97 93
      */
98
-    public function setStoredSearches(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $storedSearches)
99
-    {
94
+    public function setStoredSearches(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $storedSearches) {
100 95
         $this->storedSearches = $storedSearches;
101 96
     }
102 97
 
103 98
     /**
104 99
      * @param \EWW\Dpf\Domain\Model\StoredSearch $storedSearch
105 100
      */
106
-    public function addStoredSearch(\EWW\Dpf\Domain\Model\StoredSearch $storedSearch)
107
-    {
101
+    public function addStoredSearch(\EWW\Dpf\Domain\Model\StoredSearch $storedSearch) {
108 102
         $this->storedSearches->attach($storedSearch);
109 103
     }
110 104
 
@@ -113,8 +107,7 @@  discard block
 block discarded – undo
113 107
      *
114 108
      * @return string
115 109
      */
116
-    public function getUserRole()
117
-    {
110
+    public function getUserRole() {
118 111
         // Get frontend user groups of the client.
119 112
         $clientFrontendGroups = array();
120 113
         foreach ($this->frontendUserGroupRepository->findAll() as $clientGroup) {
@@ -162,8 +155,7 @@  discard block
 block discarded – undo
162 155
     /**
163 156
      * @param bool $notifyPersonalLink
164 157
      */
165
-    public function setNotifyPersonalLink(bool $notifyPersonalLink)
166
-    {
158
+    public function setNotifyPersonalLink(bool $notifyPersonalLink) {
167 159
         $this->notifyPersonalLink = $notifyPersonalLink;
168 160
     }
169 161
 
@@ -178,8 +170,7 @@  discard block
 block discarded – undo
178 170
     /**
179 171
      * @param bool $notifyStatusChange
180 172
      */
181
-    public function setNotifyStatusChange(bool $notifyStatusChange)
182
-    {
173
+    public function setNotifyStatusChange(bool $notifyStatusChange) {
183 174
         $this->notifyStatusChange = $notifyStatusChange;
184 175
     }
185 176
 
@@ -194,8 +185,7 @@  discard block
 block discarded – undo
194 185
     /**
195 186
      * @param bool $notifyFulltextPublished
196 187
      */
197
-    public function setNotifyFulltextPublished(bool $notifyFulltextPublished)
198
-    {
188
+    public function setNotifyFulltextPublished(bool $notifyFulltextPublished) {
199 189
         $this->notifyFulltextPublished = $notifyFulltextPublished;
200 190
     }
201 191
 
@@ -210,8 +200,7 @@  discard block
 block discarded – undo
210 200
     /**
211 201
      * @param bool $notifyNewPublicationMypublication
212 202
      */
213
-    public function setNotifyNewPublicationMypublication(bool $notifyNewPublicationMypublication)
214
-    {
203
+    public function setNotifyNewPublicationMypublication(bool $notifyNewPublicationMypublication) {
215 204
         $this->notifyNewPublicationMypublication = $notifyNewPublicationMypublication;
216 205
     }
217 206
 
Please login to merge, or discard this patch.
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
      * @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\EWW\Dpf\Domain\Model\StoredSearch>
28 28
      * @cascade remove
29 29
      */
30
-    protected $storedSearches = null;
30
+    protected $storedSearches = NULL;
31 31
 
32 32
     /**
33 33
      * frontendUserGroupRepository
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
      * @var \EWW\Dpf\Domain\Repository\FrontendUserGroupRepository
36 36
      * @inject
37 37
      */
38
-    protected $frontendUserGroupRepository = null;
38
+    protected $frontendUserGroupRepository = NULL;
39 39
     
40 40
     /**
41 41
      * @var boolean
Please login to merge, or discard this patch.