Closed dac514 closed 6 years ago
Got this while running the command: PHP 5.3.10-1ubuntu3.16 with Suhosin-Patch (cli)
PHP Warning: Unterminated comment starting line 28 in /home/vagrant/.n98-magerun/modules/mpmd/src/Mpmd/Util/Compare.php on line 114 PHP Stack trace: PHP 1. {main}() /usr/local/bin/n98-magerun.phar:0 PHP 2. N98\Magento\Application->run() /usr/local/bin/n98-magerun.phar:8 PHP 3. Symfony\Component\Console\Application->run() phar:///usr/local/bin/n98-magerun.phar/src/N98/Magento/Application.php:583 PHP 4. N98\Magento\Application->doRun() phar:///usr/local/bin/n98-magerun.phar/vendor/symfony/console/Symfony/Component/Console/Application.php:126 PHP 5. Symfony\Component\Console\Application->doRun() phar:///usr/local/bin/n98-magerun.phar/src/N98/Magento/Application.php:523 PHP 6. Symfony\Component\Console\Application->doRunCommand() phar:///usr/local/bin/n98-magerun.phar/vendor/symfony/console/Symfony/Component/Console/Application.php:195 PHP 7. N98\Magento\Command\AbstractMagentoCommand->run() phar:///usr/local/bin/n98-magerun.phar/vendor/symfony/console/Symfony/Component/Console/Application.php:882 PHP 8. Symfony\Component\Console\Command\Command->run() phar:///usr/local/bin/n98-magerun.phar/src/N98/Magento/Command/AbstractMagentoCommand.php:427 PHP 9. Mpmd\Magento\CoreHacksCommand->execute() phar:///usr/local/bin/n98-magerun.phar/vendor/symfony/console/Symfony/Component/Console/Command/Command.php:253 PHP 10. Mpmd\Util\Compare->compareDirectories() /home/vagrant/.n98-magerun/modules/mpmd/src/Mpmd/Magento/CoreHacksCommand.php:78 PHP 11. Mpmd\Util\Compare->compareDirectories() /home/vagrant/.n98-magerun/modules/mpmd/src/Mpmd/Util/Compare.php:46 PHP 12. Mpmd\Util\Compare->compareDirectories() /home/vagrant/.n98-magerun/modules/mpmd/src/Mpmd/Util/Compare.php:46 PHP 13. Mpmd\Util\Compare->compareDirectories() /home/vagrant/.n98-magerun/modules/mpmd/src/Mpmd/Util/Compare.php:46 PHP 14. Mpmd\Util\Compare->compareDirectories() /home/vagrant/.n98-magerun/modules/mpmd/src/Mpmd/Util/Compare.php:46 PHP 15. Mpmd\Util\Compare->compareFiles() /home/vagrant/.n98-magerun/modules/mpmd/src/Mpmd/Util/Compare.php:55 PHP 16. Mpmd\Util\Compare->getFileContentWithoutComments() /home/vagrant/.n98-magerun/modules/mpmd/src/Mpmd/Util/Compare.php:84 PHP 17. token_get_all() /home/vagrant/.n98-magerun/modules/mpmd/src/Mpmd/Util/Compare.php:114
most probably you have a bug in your source code (a multiline comment which is never closed). Without an example source file which is triggering this issue there is not much we can do here.
Got this while running the command: PHP 5.3.10-1ubuntu3.16 with Suhosin-Patch (cli)