I know it's metadata and datetime object, which expose circular references. Problem is related to PHPUnit which (while checking objects equality) makes a diff from print_r output. It triggers "allowed memory exhausted..." error and makes tests useless (broken). If it's not easily fixable, I'll try to file a feature request for PHPUnit which could use serialized object to compare instead of print_r.
I know it's metadata and datetime object, which expose circular references. Problem is related to PHPUnit which (while checking objects equality) makes a diff from print_r output. It triggers "allowed memory exhausted..." error and makes tests useless (broken). If it's not easily fixable, I'll try to file a feature request for PHPUnit which could use serialized object to compare instead of print_r.