Completed
Push — master ( f593b3...2be798 )
by Evheniy
02:53
created
Helper/CdnHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
                     array_filter(preg_split('/[^a-z0-9\.]+/', $url['path']))
33 33
                 );
34 34
             }
35
-            $cdn = '//' . $cdn;
35
+            $cdn = '//'.$cdn;
36 36
         } else {
37 37
             $cdn = '';
38 38
         }
Please login to merge, or discard this patch.
Tests/DependencyInjection/JqueryExtensionTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,8 +40,8 @@
 block discarded – undo
40 40
      */
41 41
     protected function loadConfiguration(ContainerBuilder $container, $resource)
42 42
     {
43
-        $loader = new YamlFileLoader($container, new FileLocator(__DIR__ . '/Fixtures/'));
44
-        $loader->load($resource . '.yml');
43
+        $loader = new YamlFileLoader($container, new FileLocator(__DIR__.'/Fixtures/'));
44
+        $loader->load($resource.'.yml');
45 45
     }
46 46
 
47 47
     /**
Please login to merge, or discard this patch.
Tests/Controller/DefaultControllerTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -22,13 +22,13 @@  discard block
 block discarded – undo
22 22
     {
23 23
         $twig = new \Twig_Environment(
24 24
             new \Twig_Loader_Array(
25
-                array('JqueryBundle:Jquery:jquery.html.twig' => file_get_contents(dirname(__FILE__) . '/../../Resources/views/Jquery/jquery.html.twig'))
25
+                array('JqueryBundle:Jquery:jquery.html.twig' => file_get_contents(dirname(__FILE__).'/../../Resources/views/Jquery/jquery.html.twig'))
26 26
             )
27 27
         );
28 28
         $container = new ContainerBuilder();
29 29
         $extension = new JqueryExtensionDI();
30 30
         $extension->load($data, $container);
31
-        $twig ->addExtension(new AsseticExtension(new AssetFactory(dirname(__FILE__) . '/')));
31
+        $twig ->addExtension(new AsseticExtension(new AssetFactory(dirname(__FILE__).'/')));
32 32
         $twig ->addExtension(new JqueryExtension($container));
33 33
 
34 34
         return $twig;
@@ -57,9 +57,9 @@  discard block
 block discarded – undo
57 57
     {
58 58
         $client = static::createClient();
59 59
         $jquery = $client->getContainer()->getParameter('jquery');
60
-        $headers = get_headers('http://ajax.googleapis.com/ajax/libs/jquery/' . $jquery['version'] . '/jquery.min.js');
60
+        $headers = get_headers('http://ajax.googleapis.com/ajax/libs/jquery/'.$jquery['version'].'/jquery.min.js');
61 61
         $this->assertTrue(strpos($headers[0], '200') !== false);
62
-        $headers = get_headers('https://ajax.googleapis.com/ajax/libs/jquery/' . $jquery['version'] . '/jquery.min.js');
62
+        $headers = get_headers('https://ajax.googleapis.com/ajax/libs/jquery/'.$jquery['version'].'/jquery.min.js');
63 63
         $this->assertTrue(strpos($headers[0], '200') !== false);
64 64
     }
65 65
 }
66 66
\ No newline at end of file
Please login to merge, or discard this patch.
Tests/app/AppKernel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,6 +29,6 @@
 block discarded – undo
29 29
      */
30 30
     public function registerContainerConfiguration(LoaderInterface $loader)
31 31
     {
32
-        $loader->load(__DIR__ . '/config_' . $this->getEnvironment() . '.yml');
32
+        $loader->load(__DIR__.'/config_'.$this->getEnvironment().'.yml');
33 33
     }
34 34
 }
35 35
\ No newline at end of file
Please login to merge, or discard this patch.
DependencyInjection/JqueryExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
         $config['cdn'] = CdnHelper::createInstance()->filterCdn($config['cdn']);
29 29
         $container->setParameter('jquery', $config);
30 30
         $container->setParameter('jquery.local', $config['local']);
31
-        $loader = new YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
31
+        $loader = new YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
32 32
         $loader->load('services.yml');
33 33
     }
34 34
 
Please login to merge, or discard this patch.