Completed
Push — master ( 92e6a8...22c070 )
by Níckolas Daniel
04:56
created
src/Infrastructure/Domain/Model/Post/JigsawPostRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
     {
25 25
         return new PostCollection(
26 26
             $collection
27
-                ->map(function (PageVariable $post) {
27
+                ->map(function(PageVariable $post) {
28 28
                     $factory = $this->jigsaw->app->make(JigsawPostFactory::class);
29 29
 
30 30
                     return $factory->newPostFromPageVariable($post);
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
     {
38 38
         return new AudioEpisodeCollection(
39 39
             $collection
40
-                ->map(function (PageVariable $post) {
40
+                ->map(function(PageVariable $post) {
41 41
                     $factory = $this->jigsaw->app->make(JigsawPostFactory::class);
42 42
 
43 43
                     return $factory->newAudioEpisodeFromPageVariable($post);
Please login to merge, or discard this patch.
bootstrap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 /** @var $container \Illuminate\Container\Container */
11 11
 /** @var $events \TightenCo\Jigsaw\Events\EventBus */
12 12
 
13
-$events->beforeBuild(function (Jigsaw $jigsaw) use ($container) {
13
+$events->beforeBuild(function(Jigsaw $jigsaw) use ($container) {
14 14
     $configureDependencyInjection = require __DIR__ . '/config/dependency-injection.php';
15 15
     $configureDependencyInjection($container, $jigsaw);
16 16
 });
Please login to merge, or discard this patch.
test/unit/Application/Service/FileProcessing/PostProcessFilesTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
             ' ',
40 40
             (new Crawler($testFileContent))
41 41
                 ->filter('p, strong')
42
-                ->each(function (Crawler $elm) {
42
+                ->each(function(Crawler $elm) {
43 43
                     return $elm->attr('class');
44 44
                 })
45 45
         );
Please login to merge, or discard this patch.
src/Domain/Model/FileProcessing/OutputFileCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
     public function fetchByPath(string $path): ?OutputFile
10 10
     {
11 11
         return $this
12
-            ->filter(function (OutputFile $file) use ($path) {
12
+            ->filter(function(OutputFile $file) use ($path) {
13 13
                 return $file->path() === $path;
14 14
             })
15 15
             ->first();
Please login to merge, or discard this patch.
test/unit/PODEntender/Application/Service/Post/FetchLatestEpisodesTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
     public function testExecuteFetchesExactAmount(): void
27 27
     {
28 28
         $audioEpisodeCollection = $this->createDefaultAudioEpisodeCollection()
29
-            ->sortByDesc(function (AudioEpisode $episode) {
29
+            ->sortByDesc(function(AudioEpisode $episode) {
30 30
                 return $episode->createdAt();
31 31
             });
32 32
 
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
     public function testExecuteFiltersCategoryName(): void
46 46
     {
47 47
         $audioEpisodeCollection = $this->createDefaultAudioEpisodeCollection()
48
-            ->sortByDesc(function (AudioEpisode $episode) {
48
+            ->sortByDesc(function(AudioEpisode $episode) {
49 49
                 return $episode->createdAt();
50 50
             });
51 51
 
Please login to merge, or discard this patch.