Passed
Push — master ( 0b9627...7109b5 )
by Craig
07:14
created
src/system/RoutesModule/Entity/Repository/RouteRepository.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,8 +41,8 @@
 block discarded – undo
41 41
 
42 42
         $qb = $this->getEntityManager()->createQueryBuilder();
43 43
         $qb->delete($this->mainEntityClass, 'tbl')
44
-           ->where('tbl.bundle = :bundle')
45
-           ->setParameter('bundle', $bundleName);
44
+            ->where('tbl.bundle = :bundle')
45
+            ->setParameter('bundle', $bundleName);
46 46
         $query = $qb->getQuery();
47 47
         $query->execute();
48 48
     }
Please login to merge, or discard this patch.
src/system/RoutesModule/Helper/Base/AbstractControllerHelper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -294,7 +294,7 @@
 block discarded – undo
294 294
      * @param string $context    Usage context (allowed values: controllerAction, api, actionHandler, block, contentType)
295 295
      * @param array  $args       Additional arguments
296 296
      *
297
-     * @return array List of template variables to be assigned
297
+     * @return string List of template variables to be assigned
298 298
      */
299 299
     public function addTemplateParameters($objectType = '', array $parameters = [], $context = '', array $args = [])
300 300
     {
Please login to merge, or discard this patch.
build/BuildPackageCommand.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -319,7 +319,7 @@
 block discarded – undo
319 319
 -----------------sha1sums-----------------
320 320
 $zipSha1  $name.zip
321 321
 $tarSha1  $name.tar.gz
322
-CHECKSUM;
322
+checksum;
323 323
         file_put_contents("$name-checksum.txt", $checksum);
324 324
         $progress->advance();
325 325
 
Please login to merge, or discard this patch.
src/system/CategoriesModule/Controller/NodeController.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,8 @@
 block discarded – undo
70 70
                         $parent = $repo->find($parentId);
71 71
                         $category->setParent($parent);
72 72
                         $category->setRoot($parent->getRoot());
73
-                    } elseif (empty($parentId) && $request->request->has('after')) { // sibling of top-level child
73
+                    } elseif (empty($parentId) && $request->request->has('after')) {
74
+// sibling of top-level child
74 75
                         $sibling = $repo->find($request->request->get('after'));
75 76
                         $category->setParent($sibling->getParent());
76 77
                         $category->setRoot($sibling->getRoot());
Please login to merge, or discard this patch.
src/system/RoutesModule/Controller/ConfigController.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,10 +12,10 @@
 block discarded – undo
12 12
 
13 13
 namespace Zikula\RoutesModule\Controller;
14 14
 
15
-use Zikula\RoutesModule\Controller\Base\AbstractConfigController;
16 15
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
17 16
 use Symfony\Component\HttpFoundation\Request;
18 17
 use Symfony\Component\Security\Core\Exception\AccessDeniedException;
18
+use Zikula\RoutesModule\Controller\Base\AbstractConfigController;
19 19
 use Zikula\ThemeModule\Engine\Annotation\Theme;
20 20
 
21 21
 /**
Please login to merge, or discard this patch.