@@ -124,6 +124,11 @@ class Analyze
124124 */
125125 private $ lang ;
126126
127+ /**
128+ * @var string
129+ */
130+ private $ symfonyVersion ;
131+
127132
128133 /**
129134 * Get id
@@ -374,10 +379,10 @@ public function getExecTime()
374379 public function getReadableExecTime ()
375380 {
376381 if ($ this ->execTime > 120 ) {
377- return round ($ this ->execTime / 60 , 0 , PHP_ROUND_HALF_DOWN ). ' min ' . ($ this ->execTime % 60 ). ' sec ' ;
382+ return round ($ this ->execTime / 60 , 0 , PHP_ROUND_HALF_DOWN ) . ' min ' . ($ this ->execTime % 60 ) . ' sec ' ;
378383 }
379384
380- return $ this ->execTime . ' sec ' ;
385+ return $ this ->execTime . ' sec ' ;
381386 }
382387
383388 /**
@@ -388,7 +393,7 @@ public function getReadableExecTime()
388393 */
389394 public function setNbBundles ($ nbBundles )
390395 {
391- $ this ->nbBundles = (int ) $ nbBundles ;
396+ $ this ->nbBundles = (int )$ nbBundles ;
392397
393398 return $ this ;
394399 }
@@ -411,7 +416,7 @@ public function getNbBundles()
411416 */
412417 public function setNbDir ($ nbDir )
413418 {
414- $ this ->nbDir = (int ) $ nbDir ;
419+ $ this ->nbDir = (int )$ nbDir ;
415420
416421 return $ this ;
417422 }
@@ -434,7 +439,7 @@ public function getNbDir()
434439 */
435440 public function setNbFile ($ nbFile )
436441 {
437- $ this ->nbFile = (int ) $ nbFile ;
442+ $ this ->nbFile = (int )$ nbFile ;
438443
439444 return $ this ;
440445 }
@@ -457,7 +462,7 @@ public function getNbFile()
457462 */
458463 public function setNbPhpFile ($ nbPhpFile )
459464 {
460- $ this ->nbPhpFile = (int ) $ nbPhpFile ;
465+ $ this ->nbPhpFile = (int )$ nbPhpFile ;
461466
462467 return $ this ;
463468 }
@@ -480,7 +485,7 @@ public function getNbPhpFile()
480485 */
481486 public function setNbCSSFile ($ nbCSSFile )
482487 {
483- $ this ->nbCSSFile = (int ) $ nbCSSFile ;
488+ $ this ->nbCSSFile = (int )$ nbCSSFile ;
484489
485490 return $ this ;
486491 }
@@ -503,7 +508,7 @@ public function getNbCSSFile()
503508 */
504509 public function setNbCSSLib ($ nbCSSLib )
505510 {
506- $ this ->nbCSSLib = (int ) $ nbCSSLib ;
511+ $ this ->nbCSSLib = (int )$ nbCSSLib ;
507512
508513 return $ this ;
509514 }
@@ -526,7 +531,7 @@ public function getNbCSSLib()
526531 */
527532 public function setNbJSFile ($ nbJSFile )
528533 {
529- $ this ->nbJSFile = (int ) $ nbJSFile ;
534+ $ this ->nbJSFile = (int )$ nbJSFile ;
530535
531536 return $ this ;
532537 }
@@ -549,7 +554,7 @@ public function getNbJSFile()
549554 */
550555 public function setNbJSLib ($ nbJSLib )
551556 {
552- $ this ->nbJSLib = (int ) $ nbJSLib ;
557+ $ this ->nbJSLib = (int )$ nbJSLib ;
553558
554559 return $ this ;
555560 }
@@ -572,7 +577,7 @@ public function getNbJSLib()
572577 */
573578 public function setNbTwig ($ nbTwig )
574579 {
575- $ this ->nbTwig = (int ) $ nbTwig ;
580+ $ this ->nbTwig = (int )$ nbTwig ;
576581
577582 return $ this ;
578583 }
@@ -595,7 +600,7 @@ public function getNbTwig()
595600 */
596601 public function setNbNamespace ($ nbNamespace )
597602 {
598- $ this ->nbNamespace = (int ) $ nbNamespace ;
603+ $ this ->nbNamespace = (int )$ nbNamespace ;
599604
600605 return $ this ;
601606 }
@@ -618,7 +623,7 @@ public function getNbNamespace()
618623 */
619624 public function setNbClasses ($ nbClasses )
620625 {
621- $ this ->nbClasses = (int ) $ nbClasses ;
626+ $ this ->nbClasses = (int )$ nbClasses ;
622627
623628 return $ this ;
624629 }
@@ -641,7 +646,7 @@ public function getNbClasses()
641646 */
642647 public function setNbMethod ($ nbMethod )
643648 {
644- $ this ->nbMethod = (int ) $ nbMethod ;
649+ $ this ->nbMethod = (int )$ nbMethod ;
645650
646651 return $ this ;
647652 }
@@ -690,12 +695,30 @@ public function jsonSerialize()
690695
691696 /**
692697 * Set an Analyse object from an array
693- * @param type $data
698+ * @param array $data
694699 */
695700 public function setFromArray ($ data )
696701 {
697702 foreach ($ data as $ key => $ value ) {
698703 $ this ->{$ key } = $ value ;
699704 }
700705 }
706+
707+ /**
708+ * @return string
709+ */
710+ public function getSymfonyVersion ()
711+ {
712+ return $ this ->symfonyVersion ;
713+ }
714+
715+ /**
716+ * @param string $symfonyVersion
717+ * @return Analyze
718+ */
719+ public function setSymfonyVersion ($ symfonyVersion )
720+ {
721+ $ this ->symfonyVersion = $ symfonyVersion ;
722+ return $ this ;
723+ }
701724}
0 commit comments