Completed
Branch develop (bb7f99)
by Victor
03:01 queued 27s
created
src/AppBundle/Controller/DefaultController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     {
16 16
         // replace this example code with whatever you need
17 17
         return $this->render('default/index.html.twig', array(
18
-            'base_dir' => realpath($this->container->getParameter('kernel.root_dir').'/..'),
18
+            'base_dir' => realpath($this->container->getParameter('kernel.root_dir') . '/..'),
19 19
         ));
20 20
     }
21 21
 }
Please login to merge, or discard this patch.
src/AppBundle/DataFixtures/ORM/FixturesLoader.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -28,21 +28,21 @@  discard block
 block discarded – undo
28 28
 
29 29
         if ($env == 'test') {
30 30
             return [
31
-                __DIR__.'/test/role.yml',
32
-                __DIR__.'/test/tag.yml',
33
-                __DIR__.'/test/category.yml',
34
-                __DIR__.'/test/user.yml',
35
-                __DIR__.'/test/article.yml',
36
-                __DIR__.'/test/comment.yml',
31
+                __DIR__ . '/test/role.yml',
32
+                __DIR__ . '/test/tag.yml',
33
+                __DIR__ . '/test/category.yml',
34
+                __DIR__ . '/test/user.yml',
35
+                __DIR__ . '/test/article.yml',
36
+                __DIR__ . '/test/comment.yml',
37 37
             ];
38 38
         }
39 39
         return [
40
-            __DIR__.'/dev/role.yml',
41
-            __DIR__.'/dev/tag.yml',
42
-            __DIR__.'/dev/category.yml',
43
-            __DIR__.'/dev/user.yml',
44
-            __DIR__.'/dev/article.yml',
45
-            __DIR__.'/dev/comment.yml',
40
+            __DIR__ . '/dev/role.yml',
41
+            __DIR__ . '/dev/tag.yml',
42
+            __DIR__ . '/dev/category.yml',
43
+            __DIR__ . '/dev/user.yml',
44
+            __DIR__ . '/dev/article.yml',
45
+            __DIR__ . '/dev/comment.yml',
46 46
         ];
47 47
     }
48 48
 
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
             'anonymous',
56 56
         ];
57 57
 
58
-        return $roles[$count-1];
58
+        return $roles[$count - 1];
59 59
     }
60 60
 
61 61
     public function picture()
Please login to merge, or discard this patch.
src/AppBundle/Repository/ArticleRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -91,8 +91,8 @@
 block discarded – undo
91 91
                 $query
92 92
                     ->where('a.createdAt >= ?1')
93 93
                     ->andWhere('a.createdAt <= ?2')
94
-                    ->setParameter(1, $param." 00:00:00")
95
-                    ->setParameter(2, $param." 23:59:59");
94
+                    ->setParameter(1, $param . " 00:00:00")
95
+                    ->setParameter(2, $param . " 23:59:59");
96 96
                 break;
97 97
         }
98 98
 
Please login to merge, or discard this patch.
src/AppBundle/Twig/AppExtension.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Created by PhpStorm.
4
- * User: victor
5
- * Date: 08.01.16
6
- * Time: 18:45
7
- */
3
+     * Created by PhpStorm.
4
+     * User: victor
5
+     * Date: 08.01.16
6
+     * Time: 18:45
7
+     */
8 8
 
9 9
 namespace AppBundle\Twig;
10 10
 
Please login to merge, or discard this patch.
src/AppBundle/Tests/Controller/BlogControllerTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,9 +24,9 @@
 block discarded – undo
24 24
         $this->assertContains('1 Comments', $crawler->filter('.post-comment a')->text());
25 25
         $this->assertContains('Test category (1)', $crawler->filter('.widget .category-list a')->text());
26 26
         $this->assertContains('5 Test title', $crawler->filter('.widget .blogposts.popular a')->text());
27
-        $this->assertContains($date->format('M d, Y').' | by User name', $crawler->filter('.widget .blogposts.popular .text-muted')->text());
27
+        $this->assertContains($date->format('M d, Y') . ' | by User name', $crawler->filter('.widget .blogposts.popular .text-muted')->text());
28 28
         $this->assertContains('Test title', $crawler->filter('.widget .blogposts.latest a')->text());
29
-        $this->assertContains($date->format('M d, Y').' | by User name', $crawler->filter('.widget .blogposts.latest .text-muted')->text());
29
+        $this->assertContains($date->format('M d, Y') . ' | by User name', $crawler->filter('.widget .blogposts.latest .text-muted')->text());
30 30
         $this->assertContains('User name', $crawler->filter('.widget .recent-comments .media-heading a')->eq(0)->text());
31 31
         $this->assertContains('Test title', $crawler->filter('.widget .recent-comments .media-heading a')->eq(1)->text());
32 32
         $this->assertContains('Text comment', $crawler->filter('.widget .recent-comments .text-muted')->text());
Please login to merge, or discard this patch.
src/AppBundle/Tests/Form/Type/CommentTypeTest.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Created by PhpStorm.
4
- * User: victor
5
- * Date: 10.01.16
6
- * Time: 12:49
7
- */
3
+     * Created by PhpStorm.
4
+     * User: victor
5
+     * Date: 10.01.16
6
+     * Time: 12:49
7
+     */
8 8
 
9 9
 namespace AppBundle\Tests\Form\Type;
10 10
 
Please login to merge, or discard this patch.