--TEST-- Bug #55524 Traits should not be able to extend a class --FILE-- --EXPECTF-- Fatal error: A trait (Foo) cannot extend a class. Traits can only be composed from other traits with the 'use' keyword. Error in %s on line %d