[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 Jun 29 06:17:35 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:
Component:  Build/Test Tools  |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:                    |     Focuses:
------------------------------+-----------------------
Changes (by yshinoda):

 * status:  closed => reopened
 * resolution:  invalid =>


Comment:

 I mistaked how to check PHPUnit result in last post,
 I got same error even though I removed all of anonymous function that was
 included in my code.

 This reproduces only when test with trunk version of WordPress.
 https://travis-ci.org/github/yukihiko-
 shinoda/staticpress2019/builds/702971274

 Using dependencies is perfectly same.
 Fail:
 https://travis-ci.org/github/yukihiko-
 shinoda/staticpress2019/jobs/702971277
 Success:
 https://travis-ci.org/github/yukihiko-
 shinoda/staticpress2019/jobs/702971276

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50482#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list