[wp-trac] [WordPress Trac] #56219: Importer plugin's PHPUnit tests fail on PHP 8.1

WordPress Trac noreply at wordpress.org
Thu Jul 14 13:36:55 UTC 2022


#56219: Importer plugin's PHPUnit tests fail on PHP 8.1
-------------------------------------+------------------------------
 Reporter:  antonvlasenko            |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Plugins                  |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+------------------------------

Comment (by antonvlasenko):

 One small remark:
 I had to use PHPUnit, which is shipped with Core during testing.
 PHPUnit that is included with the importer plugin doesn't support PHP 8.1.
 E.g., when you are in the importer plugin's folder, you have to run the
 test suite like that:
 `php ./../../../../vendor/bin/phpunit -c phpunit.xml.dist`

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


More information about the wp-trac mailing list