GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — develop ( ee1b66...d8c12e )
by Borut
02:48
created
src/Application/Controller/MembersArea/UsersController.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -18,8 +18,8 @@  discard block
 block discarded – undo
18 18
         $data = array();
19 19
 
20 20
         if (
21
-            ! $app['security']->isGranted('ROLE_USERS_EDITOR') &&
22
-            ! $app['security']->isGranted('ROLE_ADMIN')
21
+            !$app['security']->isGranted('ROLE_USERS_EDITOR') &&
22
+            !$app['security']->isGranted('ROLE_ADMIN')
23 23
         ) {
24 24
             $app->abort(403);
25 25
         }
@@ -67,8 +67,8 @@  discard block
 block discarded – undo
67 67
         $data = array();
68 68
 
69 69
         if (
70
-            ! $app['security']->isGranted('ROLE_USERS_EDITOR') &&
71
-            ! $app['security']->isGranted('ROLE_ADMIN')
70
+            !$app['security']->isGranted('ROLE_USERS_EDITOR') &&
71
+            !$app['security']->isGranted('ROLE_ADMIN')
72 72
         ) {
73 73
             $app->abort(403);
74 74
         }
@@ -134,15 +134,15 @@  discard block
 block discarded – undo
134 134
         $data = array();
135 135
 
136 136
         if (
137
-            ! $app['security']->isGranted('ROLE_USERS_EDITOR') &&
138
-            ! $app['security']->isGranted('ROLE_ADMIN')
137
+            !$app['security']->isGranted('ROLE_USERS_EDITOR') &&
138
+            !$app['security']->isGranted('ROLE_ADMIN')
139 139
         ) {
140 140
             $app->abort(403);
141 141
         }
142 142
 
143 143
         $user = $app['orm.em']->find('Application\Entity\UserEntity', $id);
144 144
 
145
-        if (! $user) {
145
+        if (!$user) {
146 146
             $app->abort(404);
147 147
         }
148 148
 
@@ -161,8 +161,8 @@  discard block
 block discarded – undo
161 161
         $data = array();
162 162
 
163 163
         if (
164
-            ! $app['security']->isGranted('ROLE_USERS_EDITOR') &&
165
-            ! $app['security']->isGranted('ROLE_ADMIN')
164
+            !$app['security']->isGranted('ROLE_USERS_EDITOR') &&
165
+            !$app['security']->isGranted('ROLE_ADMIN')
166 166
         ) {
167 167
             $app->abort(403);
168 168
         }
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
             $id
173 173
         );
174 174
 
175
-        if (! $user) {
175
+        if (!$user) {
176 176
             $app->abort(404);
177 177
         }
178 178
 
@@ -262,8 +262,8 @@  discard block
 block discarded – undo
262 262
         $data = array();
263 263
 
264 264
         if (
265
-            ! $app['security']->isGranted('ROLE_USERS_EDITOR') &&
266
-            ! $app['security']->isGranted('ROLE_ADMIN')
265
+            !$app['security']->isGranted('ROLE_USERS_EDITOR') &&
266
+            !$app['security']->isGranted('ROLE_ADMIN')
267 267
         ) {
268 268
             $app->abort(403);
269 269
         }
@@ -286,7 +286,7 @@  discard block
 block discarded – undo
286 286
 
287 287
         if (
288 288
             (
289
-                ! $user &&
289
+                !$user &&
290 290
                 $ids === false
291 291
             ) ||
292 292
             (
Please login to merge, or discard this patch.
src/Application/Twig/PaginatorExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -215,7 +215,7 @@
 block discarded – undo
215 215
         $total = $paginationData['totalCount'];
216 216
 
217 217
         if ($total > 0 && $currentPage <= $pageCount) {
218
-            $from = (($currentPage -1) * $paginationData['numItemsPerPage']) + 1;
218
+            $from = (($currentPage - 1) * $paginationData['numItemsPerPage']) + 1;
219 219
             $to = $currentPage * $paginationData['numItemsPerPage'] > $total
220 220
                 ? $total
221 221
                 : $currentPage * $paginationData['numItemsPerPage']
Please login to merge, or discard this patch.
src/Application/Entity/UserEntity.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -175,7 +175,7 @@
 block discarded – undo
175 175
     /*************** Methods ***************/
176 176
     /***** Constructor *****/
177 177
     /**
178
-     * @return void
178
+     * @return ProfileEntity
179 179
      */
180 180
     public function __construct()
181 181
     {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -678,7 +678,7 @@  discard block
 block discarded – undo
678 678
      */
679 679
     public function isCredentialsNonExpired()
680 680
     {
681
-        return ! $this->getExpired();
681
+        return !$this->getExpired();
682 682
     }
683 683
 
684 684
     /*** Roles ***/
@@ -772,7 +772,7 @@  discard block
 block discarded – undo
772 772
      */
773 773
     public function isEqualTo(AdvancedUserInterface $user)
774 774
     {
775
-        if (! $user instanceof AdvancedUserInterface) {
775
+        if (!$user instanceof AdvancedUserInterface) {
776 776
             return false;
777 777
         }
778 778
 
Please login to merge, or discard this patch.
src/Application/Entity/AbstractMeta.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Application\Entity;
4 4
 
5
-use Doctrine\ORM\Mapping as ORM;
6
-
7 5
 /**
8 6
  * Abstract Meta
9 7
  *
Please login to merge, or discard this patch.
src/Application/Entity/ProfileEntity.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -251,7 +251,7 @@
 block discarded – undo
251 251
 
252 252
     /*** Birthdate ***/
253 253
     /**
254
-     * @return string
254
+     * @return \DateTime
255 255
      */
256 256
     public function getBirthdate()
257 257
     {
Please login to merge, or discard this patch.