Skip to content

Instantly share code, notes, and snippets.

@danwdart
Created May 16, 2012 08:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danwdart/2708742 to your computer and use it in GitHub Desktop.
Save danwdart/2708742 to your computer and use it in GitHub Desktop.
PHPRedis Mocking Log
PHP Parse error: syntax error, unexpected T_ECHO, expecting T_STRING in /Volumes/SourceCode/canddi/canddi/target/phpinc/Mockery/Generator.php(90) : eval()'d code on line 31
PHP Stack trace:PHP 1. {main}() /Volumes/SourceCode/canddi/canddi/target/phpinc/PHPUnit/TextUI/Maven.php:0
PHP 2. PHPUnit_TextUI_TestRunner->doRun() /Volumes/SourceCode/canddi/canddi/target/phpinc/PHPUnit/TextUI/Maven.php:61
PHP 3. PHPUnit_Framework_TestSuite->run() /Volumes/SourceCode/canddi/canddi/target/phpinc/PHPUnit/TextUI/TestRunner.php:324
PHP 4. PHPUnit_Framework_TestSuite->runTest() /Volumes/SourceCode/canddi/canddi/target/phpinc/PHPUnit/Framework/TestSuite.php:658
PHP 5. PHPUnit_Framework_TestCase->run() /Volumes/SourceCode/canddi/canddi/target/phpinc/PHPUnit/Framework/TestSuite.php:677
PHP 6. PHPUnit_Framework_TestResult->run() /Volumes/SourceCode/canddi/canddi/target/phpinc/PHPUnit/Framework/TestCase.php:375
PHP 7. PHPUnit_Framework_TestCase->runBare() /Volumes/SourceCode/canddi/canddi/target/phpinc/PHPUnit/Framework/TestResult.php:609
PHP 8. PHPUnit_Framework_TestCase->runTest() /Volumes/SourceCode/canddi/canddi/target/phpinc/PHPUnit/Framework/TestCase.php:404
PHP 9. ReflectionMethod->invoke() /Volumes/SourceCode/canddi/canddi/target/phpinc/PHPUnit/Framework/TestCase.php:489
PHP 10. Canddi_Cache_Backend_PhpRedisTest->testConstructGetsRedis() /Volumes/SourceCode/canddi/canddi/src/test/php/Canddi/Cache/Backend/PhpRedisTest.php:0
PHP 11. Mockery::mock() /Volumes/SourceCode/canddi/canddi/src/test/php/Canddi/Cache/Backend/PhpRedisTest.php:6
PHP 12. call_user_func_array() /Volumes/SourceCode/canddi/canddi/target/phpinc/Mockery.php:50
PHP 13. Mockery\Container->mock() /Volumes/SourceCode/canddi/canddi/target/phpinc/Mockery.php:0
PHP 14. Mockery\Generator::createClassMock() /Volumes/SourceCode/canddi/canddi/target/phpinc/Mockery/Container.php:148
Parse error: syntax error, unexpected T_ECHO, expecting T_STRING in /Volumes/SourceCode/canddi/canddi/target/phpinc/Mockery/Generator.php(90) : eval()'d code on line 31
PHP Fatal error: Class 'Mockery_4fb361d4d31df' not found in /Volumes/SourceCode/canddi/canddi/target/phpinc/Mockery/Container.php on line 336
PHP Stack trace:
PHP 1. {main}() /Volumes/SourceCode/canddi/canddi/target/phpinc/PHPUnit/TextUI/Maven.php:0
PHP 2. PHPUnit_TextUI_TestRunner->doRun() /Volumes/SourceCode/canddi/canddi/target/phpinc/PHPUnit/TextUI/Maven.php:61
PHP 3. PHPUnit_Framework_TestSuite->run() /Volumes/SourceCode/canddi/canddi/target/phpinc/PHPUnit/TextUI/TestRunner.php:324
PHP 4. PHPUnit_Framework_TestSuite->runTest() /Volumes/SourceCode/canddi/canddi/target/phpinc/PHPUnit/Framework/TestSuite.php:658
PHP 5. PHPUnit_Framework_TestCase->run() /Volumes/SourceCode/canddi/canddi/target/phpinc/PHPUnit/Framework/TestSuite.php:677
PHP 6. PHPUnit_Framework_TestResult->run() /Volumes/SourceCode/canddi/canddi/target/phpinc/PHPUnit/Framework/TestCase.php:375
PHP 7. PHPUnit_Framework_TestCase->runBare() /Volumes/SourceCode/canddi/canddi/target/phpinc/PHPUnit/Framework/TestResult.php:609
PHP 8. PHPUnit_Framework_TestCase->runTest() /Volumes/SourceCode/canddi/canddi/target/phpinc/PHPUnit/Framework/TestCase.php:404
PHP 9. ReflectionMethod->invoke() /Volumes/SourceCode/canddi/canddi/target/phpinc/PHPUnit/Framework/TestCase.php:489
PHP 10. Canddi_Cache_Backend_PhpRedisTest->testConstructGetsRedis() /Volumes/SourceCode/canddi/canddi/src/test/php/Canddi/Cache/Backend/PhpRedisTest.php:0
PHP 11. Mockery::mock() /Volumes/SourceCode/canddi/canddi/src/test/php/Canddi/Cache/Backend/PhpRedisTest.php:6
PHP 12. call_user_func_array() /Volumes/SourceCode/canddi/canddi/target/phpinc/Mockery.php:50
PHP 13. Mockery\Container->mock() /Volumes/SourceCode/canddi/canddi/target/phpinc/Mockery.php:0
PHP 14. Mockery\Container->_getInstance() /Volumes/SourceCode/canddi/canddi/target/phpinc/Mockery/Container.php:149
Fatal error: Class 'Mockery_4fb361d4d31df' not found in /Volumes/SourceCode/canddi/canddi/target/phpinc/Mockery/Container.php on line 336 in
File:
/Volumes/SourceCode/canddi/canddi/src/test/php/Canddi/Cache/Backend/PhpRedisTest.php
Command:
php -d auto_prepend_file=/Volumes/SourceCode/canddi/canddi/registerautoload.php -d include_path=":/Volumes/SourceCode/canddi/canddi/src/main/php:/Volumes/SourceCode/canddi/canddi//src/test/php:/Volumes/SourceCode/canddi/canddi/target/phpinc:/Volumes/SourceCode/canddi/canddi/src/test/php/Canddi/Cache/Backend:/Volumes/SourceCode/canddi/canddi/target/test-classes:/Volumes/SourceCode/canddi/canddi/target/classes:" "/Volumes/SourceCode/canddi/canddi/target/phpinc/PHPUnit/TextUI/Maven.php" "/Volumes/SourceCode/canddi/canddi/src/test/php/Canddi/Cache/Backend/PhpRedisTest.php" "/Volumes/SourceCode/canddi/canddi/target/surefire-reports/PhpRedisTest.xml"+
PHP Parse error: syntax error, unexpected T_ECHO, expecting T_STRING in /Volumes/SourceCode/canddi/canddi/target/phpinc/Mockery/Generator.php(90) : eval()'d code on line 31PHP Stack trace:PHP 1. {main}() /Volumes/SourceCode/canddi/canddi/target/phpinc/PHPUnit/TextUI/Maven.php:0PHP 2. PHPUnit_TextUI_TestRunner->doRun() /Volumes/SourceCode/canddi/canddi/target/phpinc/PHPUnit/TextUI/Maven.php:61PHP 3. PHPUnit_Framework_TestSuite->run() /Volumes/SourceCode/canddi/canddi/target/phpinc/PHPUnit/TextUI/TestRunner.php:324PHP 4. PHPUnit_Framework_TestSuite->runTest() /Volumes/SourceCode/canddi/canddi/target/phpinc/PHPUnit/Framework/TestSuite.php:658PHP 5. PHPUnit_Framework_TestCase->run() /Volumes/SourceCode/canddi/canddi/target/phpinc/PHPUnit/Framework/TestSuite.php:677PHP 6. PHPUnit_Framework_TestResult->run() /Volumes/SourceCode/canddi/canddi/target/phpinc/PHPUnit/Framework/TestCase.php:375PHP 7. PHPUnit_Framework_TestCase->runBare() /Volumes/SourceCode/canddi/canddi/target/phpinc/PHPUnit/Framework/TestResult.php:609PHP 8. PHPUnit_Framework_TestCase->runTest() /Volumes/SourceCode/canddi/canddi/target/phpinc/PHPUnit/Framework/TestCase.php:404PHP 9. ReflectionMethod->invoke() /Volumes/SourceCode/canddi/canddi/target/phpinc/PHPUnit/Framework/TestCase.php:489PHP 10. Canddi_Dao_PhpRedis_Module_Cookie_SummaryTest->testSavePreferenceYes() /Volumes/SourceCode/canddi/canddi/src/test/php/Canddi/Dao/PhpRedis/Module/Cookie/SummaryTest.php:0PHP 11. Mockery::mock() /Volumes/SourceCode/canddi/canddi/src/test/php/Canddi/Dao/PhpRedis/Module/Cookie/SummaryTest.php:27PHP 12. call_user_func_array() /Volumes/SourceCode/canddi/canddi/target/phpinc/Mockery.php:50PHP 13. Mockery\Container->mock() /Volumes/SourceCode/canddi/canddi/target/phpinc/Mockery.php:0PHP 14. Mockery\Generator::createClassMock() /Volumes/SourceCode/canddi/canddi/target/phpinc/Mockery/Container.php:148Parse error: syntax error, unexpected T_ECHO, expecting T_STRING in /Volumes/SourceCode/canddi/canddi/target/phpinc/Mockery/Generator.php(90) : eval()'d code on line 31PHP Fatal error: Class 'Mockery_4fb361e12f54f' not found in /Volumes/SourceCode/canddi/canddi/target/phpinc/Mockery/Container.php on line 336PHP Stack trace:PHP 1. {main}() /Volumes/SourceCode/canddi/canddi/target/phpinc/PHPUnit/TextUI/Maven.php:0PHP 2. PHPUnit_TextUI_TestRunner->doRun() /Volumes/SourceCode/canddi/canddi/target/phpinc/PHPUnit/TextUI/Maven.php:61PHP 3. PHPUnit_Framework_TestSuite->run() /Volumes/SourceCode/canddi/canddi/target/phpinc/PHPUnit/TextUI/TestRunner.php:324PHP 4. PHPUnit_Framework_TestSuite->runTest() /Volumes/SourceCode/canddi/canddi/target/phpinc/PHPUnit/Framework/TestSuite.php:658PHP 5. PHPUnit_Framework_TestCase->run() /Volumes/SourceCode/canddi/canddi/target/phpinc/PHPUnit/Framework/TestSuite.php:677PHP 6. PHPUnit_Framework_TestResult->run() /Volumes/SourceCode/canddi/canddi/target/phpinc/PHPUnit/Framework/TestCase.php:375PHP 7. PHPUnit_Framework_TestCase->runBare() /Volumes/SourceCode/canddi/canddi/target/phpinc/PHPUnit/Framework/TestResult.php:609PHP 8. PHPUnit_Framework_TestCase->runTest() /Volumes/SourceCode/canddi/canddi/target/phpinc/PHPUnit/Framework/TestCase.php:404PHP 9. ReflectionMethod->invoke() /Volumes/SourceCode/canddi/canddi/target/phpinc/PHPUnit/Framework/TestCase.php:489PHP 10. Canddi_Dao_PhpRedis_Module_Cookie_SummaryTest->testSavePreferenceYes() /Volumes/SourceCode/canddi/canddi/src/test/php/Canddi/Dao/PhpRedis/Module/Cookie/SummaryTest.php:0PHP 11. Mockery::mock() /Volumes/SourceCode/canddi/canddi/src/test/php/Canddi/Dao/PhpRedis/Module/Cookie/SummaryTest.php:27PHP 12. call_user_func_array() /Volumes/SourceCode/canddi/canddi/target/phpinc/Mockery.php:50PHP 13. Mockery\Container->mock() /Volumes/SourceCode/canddi/canddi/target/phpinc/Mockery.php:0PHP 14. Mockery\Container->_getInstance() /Volumes/SourceCode/canddi/canddi/target/phpinc/Mockery/Container.php:149Fatal error: Class 'Mockery_4fb361e12f54f' not found in /Volumes/SourceCode/canddi/canddi/target/phpinc/Mockery/Container.php on line 336 in
File:
/Volumes/SourceCode/canddi/canddi/src/test/php/Canddi/Dao/PhpRedis/Module/Cookie/SummaryTest.php
Command:
php -d auto_prepend_file=/Volumes/SourceCode/canddi/canddi/registerautoload.php -d include_path=":/Volumes/SourceCode/canddi/canddi/src/main/php:/Volumes/SourceCode/canddi/canddi//src/test/php:/Volumes/SourceCode/canddi/canddi/target/phpinc:/Volumes/SourceCode/canddi/canddi/src/test/php/Canddi/Dao/PhpRedis/Module/Cookie:/Volumes/SourceCode/canddi/canddi/target/test-classes:/Volumes/SourceCode/canddi/canddi/target/classes:" "/Volumes/SourceCode/canddi/canddi/target/phpinc/PHPUnit/TextUI/Maven.php" "/Volumes/SourceCode/canddi/canddi/src/test/php/Canddi/Dao/PhpRedis/Module/Cookie/SummaryTest.php" "/Volumes/SourceCode/canddi/canddi/target/surefire-reports/SummaryTest.xml"+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment