Completed
Push — master ( 0de7db...d3a1aa )
by Andrea
24:21 queued 03:31
created
src/Fi/CoreBundle/DependencyInjection/GrigliaColonneUtils.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -4,6 +4,9 @@
 block discarded – undo
4 4
 
5 5
 class GrigliaColonneUtils
6 6
 {
7
+    /**
8
+     * @param integer $indice
9
+     */
7 10
     public static function getColonne(&$nomicolonne, &$modellocolonne, &$indice, $paricevuti)
8 11
     {
9 12
         $doctrine = GrigliaParametriUtils::getDoctrineByEm($paricevuti);
Please login to merge, or discard this patch.
src/Fi/CoreBundle/DependencyInjection/GrigliaRegoleUtils.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Fi\CoreBundle\DependencyInjection;
4 4
 
5
-use Fi\CoreBundle\Controller\GestionepermessiController;
6 5
 use Fi\CoreBundle\Controller\FiUtilita;
7 6
 
8 7
 class GrigliaRegoleUtils
Please login to merge, or discard this patch.
src/Fi/CoreBundle/DependencyInjection/PercentualiStringhe.php 1 patch
Doc Comments   +10 added lines, -5 removed lines patch added patch discarded remove patch
@@ -6,8 +6,6 @@  discard block
 block discarded – undo
6 6
 {
7 7
     /**
8 8
      * @param array  $parametri
9
-     * @param string $parametri["elemento"] l'elemento da confrontare
10
-     * @param array  $parameti["elenco"]    l'elenco degli elementi con cui effettuare il confronto
11 9
      *
12 10
      * @return array
13 11
      */
@@ -41,9 +39,6 @@  discard block
 block discarded – undo
41 39
      * (con un parametro di tolleranza) allora la percentuale si alza.
42 40
      *
43 41
      * @param array  $parametri
44
-     * @param string $parametri["stringaa"]   prima stringa da confrontare
45
-     * @param string $parametri["stringab"]   seconda stringa da confrontare
46
-     * @param int    $parametri["tolleranza"] numero di posizioni prima e dopo in cui cercare
47 42
      *
48 43
      * @return int
49 44
      */
@@ -76,16 +71,26 @@  discard block
 block discarded – undo
76 71
         return $perc;
77 72
     }
78 73
 
74
+    /**
75
+     * @param integer $i
76
+     * @param integer $strlensa
77
+     */
79 78
     private function getCarattereAPercentualeConfrontoStringhe($i, $stringaa, $strlensa)
80 79
     {
81 80
         return $strlensa >= $i ? substr($stringaa, $i, 1) : false;
82 81
     }
83 82
 
83
+    /**
84
+     * @param integer $i
85
+     */
84 86
     private function getOffsetPercentualeConfrontoStringhe($i, $tolleranzauno)
85 87
     {
86 88
         return (($i - $tolleranzauno) >= 0) ? ($i - $tolleranzauno) : 0;
87 89
     }
88 90
 
91
+    /**
92
+     * @param integer $i
93
+     */
89 94
     private function partecento($i, $posizioneinb, $tolleranzauno, $partecento)
90 95
     {
91 96
         if (!($posizioneinb === false)) {
Please login to merge, or discard this patch.
src/Fi/CoreBundle/Entity/Ffprincipale.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
     /**
82 82
      * Remove ffsecondarias.
83 83
      *
84
-     * @param \Fi\CoreBundle\Entity\Ffsecondaria $ffsecondarias
84
+     * @param \Fi\CoreBundle\Entity\Ffsecondaria $Ffsecondarias
85 85
      */
86 86
     public function removeFfsecondaria(\Fi\CoreBundle\Entity\Ffsecondaria $Ffsecondarias)
87 87
     {
Please login to merge, or discard this patch.
src/Fi/CoreBundle/Entity/StoricomodificheRepository.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -48,6 +48,9 @@
 block discarded – undo
48 48
         $em->clear();
49 49
     }
50 50
 
51
+    /**
52
+     * @return string
53
+     */
51 54
     private function getValoreprecedenteImpostare($change)
52 55
     {
53 56
         if (is_object($change)) {
Please login to merge, or discard this patch.
src/Fi/PannelloAmministrazioneBundle/Command/ChecksrcCommand.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -63,6 +63,9 @@
 block discarded – undo
63 63
         /* phpmd */
64 64
     }
65 65
 
66
+    /**
67
+     * @param string $cmd
68
+     */
66 69
     private function runcmd($cmd)
67 70
     {
68 71
         $process = new Process($cmd);
Please login to merge, or discard this patch.
src/Fi/PannelloAmministrazioneBundle/Command/GenerateymlentitiesCommand.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -83,6 +83,9 @@
 block discarded – undo
83 83
         return 0;
84 84
     }
85 85
 
86
+    /**
87
+     * @param string $wbFile
88
+     */
86 89
     private function getExportJsonCommand($bundlePath, $wbFile)
87 90
     {
88 91
         $exportJson = $this->genhelper->getExportJsonFile();
Please login to merge, or discard this patch.
Controller/PannelloAmministrazioneController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -91,6 +91,9 @@
 block discarded – undo
91 91
         return $this->render('PannelloAmministrazioneBundle:PannelloAmministrazione:index.html.twig', $twigparms);
92 92
     }
93 93
 
94
+    /**
95
+     * @param string $path
96
+     */
94 97
     private function fixSlash($path)
95 98
     {
96 99
         return str_replace('\\', '\\\\', $path);
Please login to merge, or discard this patch.
src/Fi/PannelloAmministrazioneBundle/DependencyInjection/Commands.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -15,6 +15,9 @@  discard block
 block discarded – undo
15 15
     private $apppaths;
16 16
     private $pammutils;
17 17
 
18
+    /**
19
+     * @param \Symfony\Component\DependencyInjection\ContainerInterface $container
20
+     */
18 21
     public function __construct($container)
19 22
     {
20 23
         $this->container = $container;
@@ -215,6 +218,9 @@  discard block
 block discarded – undo
215 218
         return $retmsg;
216 219
     }
217 220
 
221
+    /**
222
+     * @param string $path
223
+     */
218 224
     private function cleanTemplatePath($path)
219 225
     {
220 226
         $fs = new Filesystem();
@@ -240,6 +246,9 @@  discard block
 block discarded – undo
240 246
         return $cmdoutput;
241 247
     }
242 248
 
249
+    /**
250
+     * @param string $env
251
+     */
243 252
     public function clearcacheEnv($env)
244 253
     {
245 254
         $ret = $this->pammutils->clearcache($env);
Please login to merge, or discard this patch.