Sto cercando di eseguire i test in PHPUnit e ottenere questo errore.Classe __PHP_Incomplete_Class non ha unserializer
Fatal error: Uncaught exception 'ErrorException' with message 'Class __PHP_Incomplete_Class has no unserializer' in /opt/lampp/lib/php/PHPUnit/Util/PHP.php:237
PHP - 5.4.7
PHPUnit - 3.7.21
impostazione PHPUnit:
processIsolation = "true"
Grazie in anticipo.
Hai provato a cercare su Google? https://www.google.co.uk/search?q=Class+__PHP_Incomplete_Class+has+no+unserializer Sembra essere un problema specifico per PHPUnit e symfony2 – Pudge601
http://stackoverflow.com/a/14514753/921154 potrebbe essere parenti. Quando si lavora con un framework che mette una connessione PDO nel suo ambito globale, la soluzione è stata quella di aggiungere tale variabile alla lista backupglobalblacklist: http://phpunit.de/manual/3.7/en/fixtures.html#idp7165424 – qrazi