Completed
Pull Request — master (#3643)
by Craig
07:49 queued 17s
created
src/lib/Zikula/Bundle/CoreBundle/Tests/Translation/PhpFileExtractorTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
                 ->getMock();
76 76
             $kernel
77 77
                 ->method('getBundles')
78
-                ->will($this->returnCallback(function () {
78
+                ->will($this->returnCallback(function() {
79 79
                     $bundle = $this
80 80
                         ->getMockBuilder('Zikula\Core\AbstractBundle')
81 81
                         ->disableOriginalConstructor()
Please login to merge, or discard this patch.
Zikula/Bundle/CoreBundle/Tests/Twig/TokenParser/SwitchTokenParserTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,8 +29,8 @@
 block discarded – undo
29 29
     {
30 30
         $this->tokenParser = new SwitchTokenParser();
31 31
         $this->twigParser = $this->getMockBuilder('Twig_Parser')
32
-                                 ->disableOriginalConstructor()
33
-                                 ->getMock();
32
+                                    ->disableOriginalConstructor()
33
+                                    ->getMock();
34 34
         $this->tokenParser->setParser($this->twigParser);
35 35
     }
36 36
 
Please login to merge, or discard this patch.
src/lib/Zikula/Bundle/CoreBundle/Command/AssetsInstallCommand.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -87,8 +87,8 @@
 block discarded – undo
87 87
             $output->writeln(sprintf("Installing assets using the <comment>%s</comment> option", $input->getOption('symlink') ? 'symlink' : 'hard copy'));
88 88
             foreach ($bundles as $bundle) {
89 89
                 if (is_dir($originDir = $bundle->getPath() . '/Resources/public')) {
90
-                    $bundlesDir = $targetArg . '/'.$type.'s/';
91
-                    $targetDir = $bundlesDir . preg_replace('/'.$type.'$/', '', strtolower($bundle->getName()));
90
+                    $bundlesDir = $targetArg . '/' . $type . 's/';
91
+                    $targetDir = $bundlesDir . preg_replace('/' . $type . '$/', '', strtolower($bundle->getName()));
92 92
                     $output->writeln(sprintf('Installing assets for <comment>%s</comment> into <comment>%s</comment>', $bundle->getNamespace(), $targetDir));
93 93
                     $filesystem->remove($targetDir);
94 94
                     if ($input->getOption('symlink')) {
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
 
57 57
 <info>php %command.full_name% web --symlink --relative</info>
58 58
 
59
-EOT
59
+eot
60 60
             );
61 61
     }
62 62
 
Please login to merge, or discard this patch.
lib/Zikula/Bundle/CoreBundle/EventListener/StripFrontControllerListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
         }
65 65
         $requestUri = $event->getRequest()->getRequestUri();
66 66
         $frontController = $this->variableApi->getSystemVar('entrypoint', 'index.php');
67
-        $stripEntryPoint = (bool) $this->variableApi->getSystemVar('shorturlsstripentrypoint', false);
67
+        $stripEntryPoint = (bool)$this->variableApi->getSystemVar('shorturlsstripentrypoint', false);
68 68
         $containsFrontController = (strpos($requestUri, "$frontController") !== false);
69 69
 
70 70
         if ($containsFrontController && $stripEntryPoint) {
Please login to merge, or discard this patch.
src/themes/PrinterTheme/ZikulaPrinterTheme.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
     {
44 44
         $text = preg_replace_callback(
45 45
             '/<a [^>]*href\s*=\s*\"?([^>\"]*)\"?[^>]*>(.*?)<\/a.*?>/i',
46
-            function ($matches) {
46
+            function($matches) {
47 47
                 // @todo - work out why some links need decoding twice (&amp;amp;....)
48 48
                 $this->links[] = html_entity_decode(html_entity_decode($matches[1]));
49 49
                 // return the replaced link
Please login to merge, or discard this patch.
src/system/SearchModule/Entity/Repository/SearchStatRepository.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
             $i = 1;
58 58
             foreach ($filters as $w_key => $w_value) {
59 59
                 $qb->andWhere($qb->expr()->eq('tbl.' . $w_key, '?' . $i))
60
-                   ->setParameter($i, $w_value);
60
+                    ->setParameter($i, $w_value);
61 61
                 $i++;
62 62
             }
63 63
         }
Please login to merge, or discard this patch.
src/system/ThemeModule/Engine/Asset/CssResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
         }
58 58
         $headers = '';
59 59
         foreach ($assets as $asset) {
60
-            $headers .= '<link rel="stylesheet" href="'.$asset.'" type="text/css">'."\n";
60
+            $headers .= '<link rel="stylesheet" href="' . $asset . '" type="text/css">' . "\n";
61 61
         }
62 62
 
63 63
         return $headers;
Please login to merge, or discard this patch.
src/system/PermissionsModule/Entity/Repository/PermissionRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
         }
48 48
         if (isset($component)) {
49 49
             $qb->andWhere("p.component LIKE :permgrpparts")
50
-                ->setParameter('permgrpparts', $component.'%');
50
+                ->setParameter('permgrpparts', $component . '%');
51 51
         }
52 52
 
53 53
         return $qb->getQuery()->getResult();
Please login to merge, or discard this patch.
src/system/PermissionsModule/Controller/PermissionController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
         $templateParameters['lockadmin'] = $this->getVar('lockadmin', 1) ? 1 : 0;
64 64
         $templateParameters['adminId'] = $this->getVar('adminid', 1);
65 65
         $templateParameters['schema'] = $this->get('zikula_permissions_module.helper.schema_helper')->getAllSchema();
66
-        $templateParameters['enableFilter'] = (bool) $this->getVar('filter', 1);
66
+        $templateParameters['enableFilter'] = (bool)$this->getVar('filter', 1);
67 67
 
68 68
         return $templateParameters;
69 69
     }
Please login to merge, or discard this patch.