Completed
Push — master ( 738782...7114f6 )
by Ricardo
03:02
created
src/Adapter/Youtube/YoutubeServiceAdapter.php 2 patches
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: Ricardo Fiorani
5
- * Date: 29/08/2015
6
- * Time: 14:53.
7
- */
3
+     * Created by PhpStorm.
4
+     * User: Ricardo Fiorani
5
+     * Date: 29/08/2015
6
+     * Time: 14:53.
7
+     */
8 8
 namespace RicardoFiorani\Adapter\Youtube;
9 9
 
10 10
 use RicardoFiorani\Adapter\AbstractServiceAdapter;
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
             throw new InvalidThumbnailSizeException();
72 72
         }
73 73
 
74
-        return 'http://img.youtube.com/vi/'.$this->getVideoId().'/'.$size.'.jpg';
74
+        return 'http://img.youtube.com/vi/' . $this->getVideoId() . '/' . $size . '.jpg';
75 75
     }
76 76
 
77 77
     /**
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
      */
96 96
     public function getEmbedUrl($autoplay = false)
97 97
     {
98
-        return 'http://www.youtube.com/embed/'.$this->getVideoId().($autoplay ? '?amp&autoplay=1' : '');
98
+        return 'http://www.youtube.com/embed/' . $this->getVideoId() . ($autoplay ? '?amp&autoplay=1' : '');
99 99
     }
100 100
 
101 101
     /**
Please login to merge, or discard this patch.
src/Container/Factory/ServicesContainerFactory.php 2 patches
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: Ricardo Fiorani
5
- * Date: 31/08/2015
6
- * Time: 21:07.
7
- */
3
+     * Created by PhpStorm.
4
+     * User: Ricardo Fiorani
5
+     * Date: 31/08/2015
6
+     * Time: 21:07.
7
+     */
8 8
 namespace RicardoFiorani\Container\Factory;
9 9
 
10 10
 use RicardoFiorani\Container\ServicesContainer;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 {
14 14
     public function __invoke()
15 15
     {
16
-        $configFile = require __DIR__.'/../../../config/config.php';
16
+        $configFile = require __DIR__ . '/../../../config/config.php';
17 17
         $servicesContainer = new ServicesContainer($configFile);
18 18
 
19 19
         return $servicesContainer;
Please login to merge, or discard this patch.
src/Container/ServicesContainer.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: Ricardo Fiorani
5
- * Date: 31/08/2015
6
- * Time: 21:06.
7
- */
3
+     * Created by PhpStorm.
4
+     * User: Ricardo Fiorani
5
+     * Date: 31/08/2015
6
+     * Time: 21:06.
7
+     */
8 8
 namespace RicardoFiorani\Container;
9 9
 
10 10
 use RicardoFiorani\Adapter\Factory\CallableServiceAdapterFactoryInterface;
Please login to merge, or discard this patch.
src/Exception/DuplicatedServiceNameException.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: Ricardo Fiorani
5
- * Date: 29/08/2015
6
- * Time: 23:28.
7
- */
3
+     * Created by PhpStorm.
4
+     * User: Ricardo Fiorani
5
+     * Date: 29/08/2015
6
+     * Time: 23:28.
7
+     */
8 8
 namespace RicardoFiorani\Exception;
9 9
 
10 10
 use Exception;
Please login to merge, or discard this patch.
src/Renderer/DefaultRenderer.php 2 patches
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: Ricardo Fiorani
5
- * Date: 30/08/2015
6
- * Time: 00:55.
7
- */
3
+     * Created by PhpStorm.
4
+     * User: Ricardo Fiorani
5
+     * Date: 30/08/2015
6
+     * Time: 00:55.
7
+     */
8 8
 namespace RicardoFiorani\Renderer;
9 9
 
10 10
 class DefaultRenderer implements EmbedRendererInterface
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,6 +25,6 @@
 block discarded – undo
25 25
      */
26 26
     public function render($embedUrl, $width, $height)
27 27
     {
28
-        return '<iframe width="'.$width.'" height="'.$height.'" src="'.addslashes($embedUrl).'" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>';
28
+        return '<iframe width="' . $width . '" height="' . $height . '" src="' . addslashes($embedUrl) . '" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>';
29 29
     }
30 30
 }
Please login to merge, or discard this patch.
src/Renderer/EmbedRendererInterface.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: Ricardo Fiorani
5
- * Date: 30/08/2015
6
- * Time: 00:54.
7
- */
3
+     * Created by PhpStorm.
4
+     * User: Ricardo Fiorani
5
+     * Date: 30/08/2015
6
+     * Time: 00:54.
7
+     */
8 8
 namespace RicardoFiorani\Renderer;
9 9
 
10 10
 interface EmbedRendererInterface
Please login to merge, or discard this patch.
src/Renderer/Factory/DefaultRendererFactory.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: Ricardo Fiorani
5
- * Date: 30/08/2015
6
- * Time: 01:05.
7
- */
3
+     * Created by PhpStorm.
4
+     * User: Ricardo Fiorani
5
+     * Date: 30/08/2015
6
+     * Time: 01:05.
7
+     */
8 8
 namespace RicardoFiorani\Renderer\Factory;
9 9
 
10 10
 use RicardoFiorani\Renderer\DefaultRenderer;
Please login to merge, or discard this patch.
src/Renderer/Factory/RendererFactoryInterface.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: Ricardo Fiorani
5
- * Date: 30/08/2015
6
- * Time: 01:09.
7
- */
3
+     * Created by PhpStorm.
4
+     * User: Ricardo Fiorani
5
+     * Date: 30/08/2015
6
+     * Time: 01:09.
7
+     */
8 8
 namespace RicardoFiorani\Renderer\Factory;
9 9
 
10 10
 use RicardoFiorani\Renderer\EmbedRendererInterface;
Please login to merge, or discard this patch.