[wp-trac] [WordPress Trac] #50482: Uncaught Exception: Serialization of 'Closure' is not allowed when run PHPUnit in plugin development
WordPress Trac
noreply at wordpress.org
Sun Jun 28 16:01:40 UTC 2020
#50482: Uncaught Exception: Serialization of 'Closure' is not allowed when run
PHPUnit in plugin development
------------------------------+----------------------
Reporter: yshinoda | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Build/Test Tools | Version: trunk
Severity: normal | Resolution: invalid
Keywords: | Focuses:
------------------------------+----------------------
Comment (by yshinoda):
Hi,
I had not understood mechanism why error message is presented,
Thanks to you for explaining so I got understand it.
After remove anonymous function from test code, PHPUnit worked fine.
By the way, I report here again since I'm curious that only test with
trunk of WordPress failed:
https://travis-ci.org/github/yukihiko-
shinoda/staticpress2019/builds/702342495
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50482#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list