Completed
Push — master ( 0eab77...b2f729 )
by Paul
05:35
created
Bundle/WidgetBundle/Form/WidgetStyleType.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
                 'required' => false,
61 61
                 'mapped'   => false,
62 62
             ])
63
-            ->addEventListener(FormEvents::PRE_SET_DATA, function (FormEvent $event) {
63
+            ->addEventListener(FormEvents::PRE_SET_DATA, function(FormEvent $event) {
64 64
                 /*
65 65
                  * Generate form fields for each part of form
66 66
                  * Example, generate Static content, XS and SM as color forms
@@ -118,13 +118,13 @@  discard block
 block discarded – undo
118 118
                         'data-refreshOnChange' => 'true',
119 119
                     ],
120 120
                 ])
121
-                ->get('containerBackgroundType'.$key)->addEventListener(FormEvents::PRE_SUBMIT, function (FormEvent $event) use ($key) {
121
+                ->get('containerBackgroundType'.$key)->addEventListener(FormEvents::PRE_SUBMIT, function(FormEvent $event) use ($key) {
122 122
                     self::generateBackgroundFields($event->getForm()->getParent(), $key, $event->getData());
123 123
                 });
124 124
         }
125 125
 
126 126
         // add theme field
127
-        $builder->addEventListener(FormEvents::PRE_SET_DATA, function (FormEvent $event) {
127
+        $builder->addEventListener(FormEvents::PRE_SET_DATA, function(FormEvent $event) {
128 128
             $data = $event->getData();
129 129
             $form = $event->getForm();
130 130
             //guess the bundle name
Please login to merge, or discard this patch.
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -242,6 +242,7 @@
 block discarded – undo
242 242
      * Get the bundle name from an Entity namespace.
243 243
      *
244 244
      * @param string $entityNamespace
245
+     * @param \Symfony\Component\HttpKernel\Bundle\BundleInterface[] $bundles
245 246
      *
246 247
      * @return string
247 248
      *
Please login to merge, or discard this patch.
Tests/Features/Context/FeatureContext.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
      */
24 24
     public function iWaitSeconds($nbr)
25 25
     {
26
-        $this->getSession()->wait($nbr * 1000);
26
+        $this->getSession()->wait($nbr*1000);
27 27
     }
28 28
 
29 29
     public function getSymfonyProfile()
Please login to merge, or discard this 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 Behat\Behat\Context\Context;
6 6
 use Behat\Behat\Context\SnippetAcceptingContext;
7
-use Behat\Mink\Element\Element;
8 7
 use Behat\Mink\Exception\UnsupportedDriverActionException;
9 8
 use Behat\Symfony2Extension\Context\KernelAwareContext;
10 9
 use Behat\Symfony2Extension\Context\KernelDictionary;
Please login to merge, or discard this patch.
Bundle/ViewReferenceBundle/Builder/Chain/ViewReferenceTransformerChain.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@
 block discarded – undo
19 19
     /**
20 20
      * add a view Manager.
21 21
      *
22
-     * @param DataTransformerInterface $viewManager
23 22
      * @param string                   $viewNamespace
24 23
      */
25 24
     public function addTransformer(DataTransformerInterface $transformer, $viewNamespace, $outputFormat)
Please login to merge, or discard this patch.
Bundle/ViewReferenceBundle/Builder/ViewReferenceBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     /**
25 25
      * compute the viewReference relative to a View + entity.
26 26
      *
27
-     * @param WebViewInterface $view
27
+     * @param View $view
28 28
      *
29 29
      * @return ViewReference
30 30
      */
Please login to merge, or discard this patch.
Bundle/ViewReferenceBundle/Transformer/XmlToViewReferenceTransformer.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@
 block discarded – undo
19 19
      * SimpleXMLElement to ViewReference
20 20
      * {@inheritdoc}
21 21
      *
22
-     * @param \SimpleXMLElement $xml
23 22
      *
24 23
      * @return ViewReference
25 24
      */
Please login to merge, or discard this patch.
Bundle/CoreBundle/Route/RouteLoader.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
         return $collection;
30 30
     }
31 31
 
32
-    protected function addVictoireRouting(RouteCollection &$collection)
32
+    protected function addVictoireRouting(RouteCollection & $collection)
33 33
     {
34 34
         $resources = [
35 35
             '@VictoireAnalyticsBundle/Controller/',
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
         }
50 50
     }
51 51
 
52
-    protected function addWidgetsRouting(RouteCollection &$collection)
52
+    protected function addWidgetsRouting(RouteCollection & $collection)
53 53
     {
54 54
         foreach ($this->widgets as $widgetParams) {
55 55
             $controllerResource = '@VictoireWidget'.$widgetParams['name'].'Bundle/Controller/';
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
         }
61 61
     }
62 62
 
63
-    protected function addShowBusinessPageByIdAction(RouteCollection &$collection)
63
+    protected function addShowBusinessPageByIdAction(RouteCollection & $collection)
64 64
     {
65 65
         $pattern = '/victoire-dcms-public/show-business-page-by-id/{entityId}/{type}';
66 66
         $defaults = [
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
         $collection->add($routeName, $route);
75 75
     }
76 76
 
77
-    protected function addShowPageByIdRoute(RouteCollection &$collection)
77
+    protected function addShowPageByIdRoute(RouteCollection & $collection)
78 78
     {
79 79
         $pattern = '/victoire-dcms-public/show-page-by-id/{viewId}/{entityId}';
80 80
         $defaults = [
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
         $collection->add($routeName, $route);
93 93
     }
94 94
 
95
-    protected function addShowPageRoute(RouteCollection &$collection)
95
+    protected function addShowPageRoute(RouteCollection & $collection)
96 96
     {
97 97
         // prepare a new route
98 98
         $pattern = '/{url}';
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
         $collection->add('victoire_core_page_show', $route);
109 109
     }
110 110
 
111
-    protected function addShowHomePageRoute(RouteCollection &$collection)
111
+    protected function addShowHomePageRoute(RouteCollection & $collection)
112 112
     {
113 113
         // prepare a new route
114 114
         $pattern = '/';
Please login to merge, or discard this patch.
Bundle/PageBundle/Twig/Extension/PageExtension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
     /**
49 49
      * register twig functions.
50 50
      *
51
-     * @return array The list of extensions
51
+     * @return \Twig_SimpleFunction[] The list of extensions
52 52
      */
53 53
     public function getFunctions()
54 54
     {
Please login to merge, or discard this patch.
Bundle/WidgetMapBundle/Entity/WidgetMap.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -112,6 +112,9 @@
 block discarded – undo
112 112
         return $this->id;
113 113
     }
114 114
 
115
+    /**
116
+     * @param null|integer $id
117
+     */
115 118
     public function setId($id)
116 119
     {
117 120
         $this->id = $id;
Please login to merge, or discard this patch.
Bundle/WidgetBundle/Form/WidgetOptionsContainer.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,6 @@
 block discarded – undo
37 37
     }
38 38
 
39 39
     /**
40
-     * @param array $options
41 40
      */
42 41
     public function add($key, $value)
43 42
     {
Please login to merge, or discard this patch.