Completed
Push — develop ( 3484f6...ea1c68 )
by Florian
05:49
created
AppBundle/Bundle.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Symfony\Component\HttpKernel\Bundle\Bundle as BaseBundle;
6 6
 use Symfony\Component\DependencyInjection\ContainerBuilder;
7
-use Symfony\Component\DependencyInjection\Compiler\PassConfig;
8 7
 use Knp\RadBundle\DependencyInjection\Compiler;
9 8
 use Symfony\Component\Config\Definition\Builder\NodeParentInterface;
10 9
 
Please login to merge, or discard this patch.
AppBundle/ConfigurableBundleInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -13,6 +13,7 @@  discard block
 block discarded – undo
13 13
      * RadBundle.
14 14
      *
15 15
      * @param NodeParentInterface $rootNode
16
+     * @return void
16 17
      */
17 18
     public function buildConfiguration(NodeParentInterface $rootNode);
18 19
 
@@ -21,6 +22,7 @@  discard block
 block discarded – undo
21 22
      *
22 23
      * @param array            $config,   The parsed config
23 24
      * @param ContainerBuilder $container
25
+     * @return void
24 26
      */
25 27
     public function buildContainer(array $config, ContainerBuilder $container);
26 28
 }
Please login to merge, or discard this patch.
Controller/Helper/Doctrine.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -71,6 +71,9 @@
 block discarded – undo
71 71
         return $this->doctrine->getManager();
72 72
     }
73 73
 
74
+    /**
75
+     * @param string $object
76
+     */
74 77
     public function getRepository($object)
75 78
     {
76 79
         return $this->getManager()->getRepository(is_object($object) ? get_class($object) : $object);
Please login to merge, or discard this patch.
DependencyInjection/Compiler/RegisterFormTypeExtensionsPass.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -63,6 +63,9 @@
 block discarded – undo
63 63
         $container->getDefinition('form.extension')->replaceArgument(2, $typeExtensions);
64 64
     }
65 65
 
66
+    /**
67
+     * @param string $default
68
+     */
66 69
     private function getAlias($class, $default)
67 70
     {
68 71
         if (!class_exists($class)) {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
6 6
 use Symfony\Component\DependencyInjection\ContainerBuilder;
7
-use Symfony\Component\DependencyInjection\Container;
8
-use Symfony\Component\DependencyInjection\Definition;
9 7
 use Symfony\Component\HttpKernel\Bundle\BundleInterface;
10 8
 use Knp\RadBundle\DependencyInjection\Definition\FormTypeExtensionDefinitionFactory;
11 9
 use Knp\RadBundle\DependencyInjection\ServiceIdGenerator;
Please login to merge, or discard this patch.
DependencyInjection/Compiler/RegisterTwigExtensionsPass.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
6 6
 use Symfony\Component\DependencyInjection\ContainerBuilder;
7
-use Symfony\Component\DependencyInjection\Container;
8 7
 use Symfony\Component\HttpKernel\Bundle\BundleInterface;
9 8
 use Knp\RadBundle\Finder\ClassFinder;
10 9
 use Knp\RadBundle\DependencyInjection\Definition\TwigExtensionFactory;
Please login to merge, or discard this patch.
EventListener/ViewListener.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      * Initializes listener.
25 25
      *
26 26
      * @param EngineInterface      $templating         Templating engine
27
-     * @param ViewNameDeducer      $viewNameDeducer    Deduces the view name from controller name
27
+     * @param NameDeducer      $viewNameDeducer    Deduces the view name from controller name
28 28
      * @param MissingViewHandler   $missingViewHandler handles missing views
29 29
      */
30 30
     public function __construct(EngineInterface $templating, NameDeducer $viewNameDeducer, MissingViewHandler $missingViewHandler = null)
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Knp\RadBundle\EventListener;
4 4
 
5 5
 use Symfony\Component\HttpKernel\Event\GetResponseForControllerResultEvent;
6
-use Symfony\Component\HttpFoundation\Request;
7 6
 use Knp\RadBundle\View\NameDeducer;
8 7
 use Knp\RadBundle\View\NameDeducer\NotInBundleException;
9 8
 use Knp\RadBundle\View\NameDeducer\NoControllerNameException;
Please login to merge, or discard this patch.
features/Context/FeatureContext.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@  discard block
 block discarded – undo
15 15
     /**
16 16
      * Initializes context. Every scenario gets its own context object.
17 17
      *
18
-     * @param array $parameters Suite parameters (set them up through behat.yml)
19 18
      */
20 19
     public function __construct()
21 20
     {
@@ -158,6 +157,9 @@  discard block
 block discarded – undo
158 157
         }
159 158
     }
160 159
 
160
+    /**
161
+     * @param string $path
162
+     */
161 163
     private function writeContent($path, $content = '')
162 164
     {
163 165
         $this->fs->mkdir(dirname($path));
Please login to merge, or discard this patch.
Form/FormTypeCreator.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -32,6 +32,9 @@  discard block
 block discarded – undo
32 32
         }
33 33
     }
34 34
 
35
+    /**
36
+     * @param string $purpose
37
+     */
35 38
     private function getFormType($object, $purpose = null)
36 39
     {
37 40
         $currentPurpose = $purpose ? $purpose.'_' : '';
@@ -56,6 +59,10 @@  discard block
 block discarded – undo
56 59
         return $type;
57 60
     }
58 61
 
62
+    /**
63
+     * @param string $alias
64
+     * @param string $class
65
+     */
59 66
     private function loadFormType($alias, $class)
60 67
     {
61 68
         $type = $this->getAlias($class, $alias);
@@ -67,6 +74,9 @@  discard block
 block discarded – undo
67 74
         return $type;
68 75
     }
69 76
 
77
+    /**
78
+     * @return string
79
+     */
70 80
     private function getAlias($class, $default)
71 81
     {
72 82
         if (!class_exists($class)) {
Please login to merge, or discard this patch.
Routing/Loader/ConventionalLoader.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -441,6 +441,9 @@
 block discarded – undo
441 441
         );
442 442
     }
443 443
 
444
+    /**
445
+     * @return string
446
+     */
444 447
     private function getPatternPrefix($class, $mapping)
445 448
     {
446 449
         if (is_string($mapping)) {
Please login to merge, or discard this patch.