[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
Mon Aug 17 14:11:36 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: reopened
Priority: normal | Milestone: Awaiting Review
Component: Build/Test Tools | Version: 5.5
Severity: critical | Resolution:
Keywords: | Focuses:
------------------------------+------------------------------
Changes (by yshinoda):
* severity: normal => critical
Comment:
3 days ago, the almost test excluding with trunk was green:
https://travis-ci.org/github/yukihiko-
shinoda/staticpress2019/builds/702971274
Today, finally the almost test excluding legacy version have been red:
https://travis-ci.org/github/yukihiko-
shinoda/staticpress2019/builds/718609866
How should I guarantee safety to users?
@runInSeparateProcess is an important function.
Would you at least raise the supported version of PHPUnit from 5.* ?
https://make.wordpress.org/cli/handbook/misc/plugin-unit-tests/#running-
tests-locally
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50482#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list