Completed
Push — wip-lisem ( 739aac...7fe414 )
by
unknown
02:41
created
src/Generator/ControllerGenerator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
     private $file;
32 32
 
33 33
     /**
34
-     * @param array|string $skeletonDirectory
34
+     * @param string $skeletonDirectory
35 35
      */
36 36
     public function __construct($skeletonDirectory)
37 37
     {
Please login to merge, or discard this patch.
src/Command/PatcherApplyCommand.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -102,6 +102,9 @@
 block discarded – undo
102 102
         }
103 103
     }
104 104
 
105
+    /**
106
+     * @param string $targetFile
107
+     */
105 108
     private function getCommand($targetFile, $patchFile)
106 109
     {
107 110
         return sprintf(
Please login to merge, or discard this patch.
src/Controller/CRUDController.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -291,6 +291,9 @@
 block discarded – undo
291 291
     {
292 292
     }
293 293
 
294
+    /**
295
+     * @param \Symfony\Component\Form\FormView $formView
296
+     */
294 297
     protected function defineFormTheme($formView, $formTheme)
295 298
     {
296 299
         $twig = $this->get('twig');
Please login to merge, or discard this patch.
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -296,8 +296,7 @@
 block discarded – undo
296 296
         $twig = $this->get('twig');
297 297
 
298 298
         $renderer = ($twig->hasExtension('Symfony\Bridge\Twig\Form\TwigRenderer')) ?
299
-                  $twig->getRuntime('Symfony\Bridge\Twig\Form\TwigRenderer') :
300
-                  $twig->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer;
299
+                  $twig->getRuntime('Symfony\Bridge\Twig\Form\TwigRenderer') : $twig->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer;
301 300
         $renderer->setTheme($formView, $formTheme);
302 301
     }
303 302
 }
Please login to merge, or discard this patch.
src/Admin/Traits/Base.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -67,10 +67,10 @@
 block discarded – undo
67 67
 
68 68
         if ($this->isGranted('DELETE')) {
69 69
             $actions['delete'] = array(
70
-               'label'              => 'action_delete',
71
-               'translation_domain' => 'SonataAdminBundle',
72
-               'ask_confirmation'   => true,
73
-           );
70
+                'label'              => 'action_delete',
71
+                'translation_domain' => 'SonataAdminBundle',
72
+                'ask_confirmation'   => true,
73
+            );
74 74
         }
75 75
 
76 76
         return $this->handleBatchActions($actions);
Please login to merge, or discard this patch.
src/Profiler/AdminCollector.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,14 +41,14 @@
 block discarded – undo
41 41
         foreach ($collectedData as $k => $dataCollection) {
42 42
             $data = $dataCollection->getData();
43 43
 
44
-            if (preg_replace('/\#[0-9]*\W/','',$k) === 'Classes managed by mapper') {
44
+            if (preg_replace('/\#[0-9]*\W/', '', $k) === 'Classes managed by mapper') {
45 45
                 $this->addToProfiler($k, 'Number of classes managed', [
46 46
                     'display'         => DataCollection::DESTINATION_TOOLBAR, // 'toolbar', 'profiler', 'both'
47 47
                     'class'           => count($data),
48 48
                 ]);
49 49
             }
50 50
 
51
-            if (preg_replace('/\#[0-9]*\W/','',$k) === 'Hook') {
51
+            if (preg_replace('/\#[0-9]*\W/', '', $k) === 'Hook') {
52 52
                 $hooks++;
53 53
             }
54 54
 
Please login to merge, or discard this patch.