Skip to content

Instantly share code, notes, and snippets.

@JoelMarcey
Created January 31, 2014 22:13
Show Gist options
  • Save JoelMarcey/8744338 to your computer and use it in GitHub Desktop.
Save JoelMarcey/8744338 to your computer and use it in GitHub Desktop.
HHVM
----
hhvm ../../../../../vendor/bin/phpunit
HipHop Fatal error: $this is null in /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Generator.php on line 223
Zend
----
55 ../../../../../vendor/bin/phpunit
PHP Strict standards: Non-static method PHPUnit_Framework_MockObject_Generator::getMock() should not be called statically in /data/users/joelm/fbcode-opt/hphp/test/frameworks/framework_downloads/magento2/dev/tests/unit/testsuite/Magento/Cache/Frontend/Adapter/ZendTest.php on line 82
PHP Stack trace:
PHP 1. {main}() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/phpunit:0
PHP 2. PHPUnit_TextUI_Command::main() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/phpunit:55
PHP 3. PHPUnit_TextUI_Command->run() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/TextUI/Command.php:132
PHP 4. PHPUnit_TextUI_Command->handleArguments() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/TextUI/Command.php:141
PHP 5. PHPUnit_Util_Configuration->getTestSuiteConfiguration() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/TextUI/Command.php:651
PHP 6. PHPUnit_Util_Configuration->getTestSuite() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/Util/Configuration.php:831
PHP 7. PHPUnit_Framework_TestSuite->addTestFiles() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/Util/Configuration.php:917
PHP 8. PHPUnit_Framework_TestSuite->addTestFile() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/Framework/TestSuite.php:445
PHP 9. PHPUnit_Framework_TestSuite->addTestSuite() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/Framework/TestSuite.php:420
PHP 10. PHPUnit_Framework_TestSuite->__construct() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/Framework/TestSuite.php:354
PHP 11. PHPUnit_Framework_TestSuite->addTestMethod() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/Framework/TestSuite.php:238
PHP 12. PHPUnit_Framework_TestSuite::createTest() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/Framework/TestSuite.php:856
PHP 13. PHPUnit_Util_Test::getProvidedData() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/Framework/TestSuite.php:506
PHP 14. ReflectionMethod->invoke() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/Util/Test.php:369
PHP 15. Magento\Cache\Frontend\Adapter\ZendTest::proxyMethodDataProvider() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/Util/Test.php:369
Strict standards: Non-static method PHPUnit_Framework_MockObject_Generator::getMock() should not be called statically in /data/users/joelm/fbcode-opt/hphp/test/frameworks/framework_downloads/magento2/dev/tests/unit/testsuite/Magento/Cache/Frontend/Adapter/ZendTest.php on line 82
Call Stack:
0.0002 229552 1. {main}() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/phpunit:0
0.0044 595416 2. PHPUnit_TextUI_Command::main() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/phpunit:55
0.0044 596032 3. PHPUnit_TextUI_Command->run() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/TextUI/Command.php:132
0.0044 598512 4. PHPUnit_TextUI_Command->handleArguments() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/TextUI/Command.php:141
0.0112 1190200 5. PHPUnit_Util_Configuration->getTestSuiteConfiguration() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/TextUI/Command.php:651
0.0112 1191464 6. PHPUnit_Util_Configuration->getTestSuite() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/Util/Configuration.php:831
0.2568 1710096 7. PHPUnit_Framework_TestSuite->addTestFiles() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/Util/Configuration.php:917
1.8446 26304032 8. PHPUnit_Framework_TestSuite->addTestFile() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/Framework/TestSuite.php:445
1.8458 26490912 9. PHPUnit_Framework_TestSuite->addTestSuite() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/Framework/TestSuite.php:420
1.8458 26491176 10. PHPUnit_Framework_TestSuite->__construct() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/Framework/TestSuite.php:354
1.8461 26590128 11. PHPUnit_Framework_TestSuite->addTestMethod() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/Framework/TestSuite.php:238
1.8461 26590208 12. PHPUnit_Framework_TestSuite::createTest() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/Framework/TestSuite.php:856
1.8462 26594712 13. PHPUnit_Util_Test::getProvidedData() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/Framework/TestSuite.php:506
1.8462 26597032 14. ReflectionMethod->invoke() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/Util/Test.php:369
1.8462 26597232 15. Magento\Cache\Frontend\Adapter\ZendTest::proxyMethodDataProvider() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/Util/Test.php:369
PHP Fatal error: Using $this when not in object context in /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Generator.php on line 223
PHP Stack trace:
PHP 1. {main}() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/phpunit:0
PHP 2. PHPUnit_TextUI_Command::main() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/phpunit:55
PHP 3. PHPUnit_TextUI_Command->run() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/TextUI/Command.php:132
PHP 4. PHPUnit_TextUI_Command->handleArguments() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/TextUI/Command.php:141
PHP 5. PHPUnit_Util_Configuration->getTestSuiteConfiguration() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/TextUI/Command.php:651
PHP 6. PHPUnit_Util_Configuration->getTestSuite() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/Util/Configuration.php:831
PHP 7. PHPUnit_Framework_TestSuite->addTestFiles() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/Util/Configuration.php:917
PHP 8. PHPUnit_Framework_TestSuite->addTestFile() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/Framework/TestSuite.php:445
PHP 9. PHPUnit_Framework_TestSuite->addTestSuite() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/Framework/TestSuite.php:420
PHP 10. PHPUnit_Framework_TestSuite->__construct() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/Framework/TestSuite.php:354
PHP 11. PHPUnit_Framework_TestSuite->addTestMethod() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/Framework/TestSuite.php:238
PHP 12. PHPUnit_Framework_TestSuite::createTest() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/Framework/TestSuite.php:856
PHP 13. PHPUnit_Util_Test::getProvidedData() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/Framework/TestSuite.php:506
PHP 14. ReflectionMethod->invoke() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/Util/Test.php:369
PHP 15. Magento\Cache\Frontend\Adapter\ZendTest::proxyMethodDataProvider() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/Util/Test.php:369
PHP 16. PHPUnit_Framework_MockObject_Generator::getMock() /data/users/joelm/fbcode-opt/hphp/test/frameworks/framework_downloads/magento2/dev/tests/unit/testsuite/Magento/Cache/Frontend/Adapter/ZendTest.php:82
Fatal error: Using $this when not in object context in /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Generator.php on line 223
Call Stack:
0.0002 229552 1. {main}() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/phpunit:0
0.0044 595416 2. PHPUnit_TextUI_Command::main() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/phpunit:55
0.0044 596032 3. PHPUnit_TextUI_Command->run() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/TextUI/Command.php:132
0.0044 598512 4. PHPUnit_TextUI_Command->handleArguments() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/TextUI/Command.php:141
0.0112 1190200 5. PHPUnit_Util_Configuration->getTestSuiteConfiguration() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/TextUI/Command.php:651
0.0112 1191464 6. PHPUnit_Util_Configuration->getTestSuite() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/Util/Configuration.php:831
0.2568 1710096 7. PHPUnit_Framework_TestSuite->addTestFiles() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/Util/Configuration.php:917
1.8446 26304032 8. PHPUnit_Framework_TestSuite->addTestFile() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/Framework/TestSuite.php:445
1.8458 26490912 9. PHPUnit_Framework_TestSuite->addTestSuite() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/Framework/TestSuite.php:420
1.8458 26491176 10. PHPUnit_Framework_TestSuite->__construct() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/Framework/TestSuite.php:354
1.8461 26590128 11. PHPUnit_Framework_TestSuite->addTestMethod() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/Framework/TestSuite.php:238
1.8461 26590208 12. PHPUnit_Framework_TestSuite::createTest() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/Framework/TestSuite.php:856
1.8462 26594712 13. PHPUnit_Util_Test::getProvidedData() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/Framework/TestSuite.php:506
1.8462 26597032 14. ReflectionMethod->invoke() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/Util/Test.php:369
1.8462 26597232 15. Magento\Cache\Frontend\Adapter\ZendTest::proxyMethodDataProvider() /data/users/joelm/fbcode-opt/hphp/test/frameworks/vendor/phpunit/phpunit/src/Util/Test.php:369
1.8467 26613704 16. PHPUnit_Framework_MockObject_Generator::getMock() /data/users/joelm/fbcode-opt/hphp/test/frameworks/framework_downloads/magento2/dev/tests/unit/testsuite/Magento/Cache/Frontend/Adapter/ZendTest.php:82
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment