/**
  * @param Tx_Smoothmigration_Domain_Model_Issue $issue
  *
  * @return string
  */
 public function getSolution(Tx_Smoothmigration_Domain_Model_Issue $issue)
 {
     $information = $issue->getAdditionalInformation();
     $originalClass = $information['ORIGINAL_CLASS'];
     $newClass = $information['IMPLEMENTATION_CLASS'];
     if (is_file($newClass)) {
         $pattern = '/^\\s?class\\s+([A-Za-z0-9_\\\\]+)\\s+extends\\s+([A-Za-z0-9_\\\\]+)/';
         foreach (new SplFileObject($newClass) as $lineContent) {
             $matches = array();
             if (preg_match($pattern, $lineContent, $matches)) {
                 $newClass = $matches[1];
                 $originalClass = $matches[2];
                 break;
             }
         }
     }
     return $this->ll('result.typo3-core-code-xclasses.solution', array($issue->getLocation()->getPhysicalLocation()->getFilePath() . ($issue->getLocation()->getPhysicalLocation()->getLineNumber() > -1 ? ' line ' . $issue->getLocation()->getPhysicalLocation()->getLineNumber() : ''), $originalClass, $newClass));
 }
 /**
  * @param Tx_Smoothmigration_Domain_Model_Issue $issue
  *
  * @return string
  */
 public function getSolution(Tx_Smoothmigration_Domain_Model_Issue $issue)
 {
     return $this->ll('result.typo3-core-code-namespace.solution', array($issue->getLocation()->getMatchedString(), $issue->getLocation()->getFilePath(), $issue->getLocation()->getLineNumber()));
 }
 /**
  * @param Tx_Smoothmigration_Domain_Model_Issue $issue
  *
  * @return string
  */
 public function getSolution(Tx_Smoothmigration_Domain_Model_Issue $issue)
 {
     return $this->ll('result.typo3-core-code-missingaddpluginparameter.solution', array($issue->getLocation()->getExtension(), $issue->getLocation()->getMinimumVersion(), $issue->getLocation()->getMaximumVersion()));
 }
 /**
  * @param Tx_Smoothmigration_Domain_Model_Issue $issue
  *
  * @return string
  */
 public function getSolution(Tx_Smoothmigration_Domain_Model_Issue $issue)
 {
     return $this->ll('result.typo3-extension-code-obsolete.solution', array($issue->getLocation()->getExtension()));
 }
 /**
  * @param Tx_Smoothmigration_Domain_Model_Issue $issue
  *
  * @return string
  */
 public function getSolution(Tx_Smoothmigration_Domain_Model_Issue $issue)
 {
     return $this->ll('result.typo3-extension-code-incompatiblewithlts.solution', array($issue->getLocation()->getExtension(), $issue->getLocation()->getMinimumVersion(), $issue->getLocation()->getMaximumVersion()));
 }