Completed
Branch master (03fcc1)
by Mathieu
09:25
created
Blog/Library.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     private $posts = [];
28 28
 
29 29
     /**
30
-     * @param Post[] $postNames
30
+     * @param Post[] $posts
31 31
      */
32 32
     public function __construct(array $posts)
33 33
     {
Please login to merge, or discard this patch.
Tests/Unit/Blog/Library.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
         $library = new BaseLibrary([]);
34 34
 
35 35
         $this->boolean($library->isPostRegistered('A'))
36
-             ->isFalse();
36
+                ->isFalse();
37 37
 
38 38
         $post = new \mock\Matks\MarkdownBlogBundle\Blog\Post(
39 39
             PostTest::getLoremIpsumFilepath(), 'A', '2016-01-02');
@@ -41,8 +41,8 @@  discard block
 block discarded – undo
41 41
         $library->addPost($post);
42 42
 
43 43
         $this->boolean($library->isPostRegistered('A'))
44
-             ->isTrue();
44
+                ->isTrue();
45 45
         $this->object($library->getPostByName('A'))
46
-             ->isIdentiCalTo($post);
46
+                ->isIdentiCalTo($post);
47 47
     }
48 48
 }
Please login to merge, or discard this patch.
Tests/Unit/Blog/Post.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     {
17 17
         $this
18 18
             ->exception(
19
-            function () {
19
+            function() {
20 20
                 $border = new BasePost('random', 'a', 'b');
21 21
             }
22 22
             )->hasMessage('random is not a file');
Please login to merge, or discard this patch.