Completed
Push — master ( 923939...b71e6c )
by
unknown
102:02 queued 47:03
created
back/src/KI/UserBundle/Repository/UserRepository.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
      */
18 18
     public function findFollowedEvents($userId, $limit = null, $page = null)
19 19
     {
20
-         $query = $this->getEntityManager()->createQuery('SELECT event FROM
20
+            $query = $this->getEntityManager()->createQuery('SELECT event FROM
21 21
             KIPublicationBundle:Event event,
22 22
             KIUserBundle:Club club,
23 23
             KIUserBundle:User user
Please login to merge, or discard this patch.
back/src/KI/PonthubBundle/Entity/PonthubFile.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -410,9 +410,9 @@
 block discarded – undo
410 410
         return $this->users = $users;
411 411
     }
412 412
 
413
-     /**
414
-     * @JMS\Expose
415
-     */
413
+        /**
414
+         * @JMS\Expose
415
+         */
416 416
     protected $downloaded = false;
417 417
 
418 418
     public function hasBeenDownloaded()
Please login to merge, or discard this patch.
back/tests/KI/UserBundle/Command/DepartmentUpdateCommandTest.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -12,14 +12,14 @@  discard block
 block discarded – undo
12 12
 
13 13
 class DepartmentUpdateCommandTest extends KernelTestCase
14 14
 {
15
-     /**
16
-     * @var \Doctrine\ORM\EntityManager
17
-     */
15
+        /**
16
+         * @var \Doctrine\ORM\EntityManager
17
+         */
18 18
     private $em;
19 19
 
20
-     /**
21
-      * {@inheritDoc}
22
-      */
20
+        /**
21
+         * {@inheritDoc}
22
+         */
23 23
     protected function setUp()
24 24
     {
25 25
         self::bootKernel();
@@ -49,9 +49,9 @@  discard block
 block discarded – undo
49 49
         $this->assertEquals('IMI', $dreveton->getDepartment());
50 50
     }
51 51
 
52
-     /**
53
-      * {@inheritDoc}
54
-      */
52
+        /**
53
+         * {@inheritDoc}
54
+         */
55 55
     protected function tearDown()
56 56
     {
57 57
         parent::tearDown();
Please login to merge, or discard this patch.
back/src/KI/UserBundle/Controller/DefaultController.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
         return $this->json([
53 53
                                 'online' => $this->repository->getOnlineUsers($delay),
54 54
                                 'open' => $clubRepo->findOneBySlug('ki')->getOpen()
55
-                           ]);
55
+                            ]);
56 56
     }
57 57
 
58 58
 
Please login to merge, or discard this patch.
back/src/KI/UserBundle/Command/PhotoUpdateCommand.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,13 +36,13 @@
 block discarded – undo
36 36
         $isPreview = $input->getOption('preview');
37 37
         $users = $usersRepo->findByPromo($input->getArgument('promo'));
38 38
         $question = new ConfirmationQuestion('Update? ', false, '/^y/i');
39
-	$serializer = new Serializer([new ObjectNormalizer()], [new CsvEncoder()]);
39
+    $serializer = new Serializer([new ObjectNormalizer()], [new CsvEncoder()]);
40 40
         $csvData = $serializer->decode(file_get_contents($input->getArgument('file')), 'csv');
41 41
         $noPhotoCount = 0;
42 42
         $notFoundCount = 0;
43 43
         $updatedNoPhotoCount = 0;
44 44
         $updatedExistingPhotoCount = 0;
45
-	$similarityThreshold = $input->getOption("similarity-threshold");
45
+    $similarityThreshold = $input->getOption("similarity-threshold");
46 46
         $output->writeln('Importing facebook photos for users (> ' . $similarityThreshold . '% similar) :');
47 47
         foreach ($users as $user) {
48 48
             $noPhoto = $user->imageUrl() === 'uploads/others/default-user.png';
Please login to merge, or discard this patch.