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

WordPress Trac noreply at wordpress.org
Fri Jul 15 10:12:09 UTC 2022


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

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


Comment:

 @jrf
 Sorry, I didn't know it's an external dependency.
 Of course, let's close this ticket in favor of
 https://core.trac.wordpress.org/ticket/54504 (especially if it can bring
 PHP namespaces to WordPress).

 >  You should NOT run with `--ignore-platform-reqs`. Instead you should
 run `composer remove --dev phpunit/phpunit`
 `--ignore-platform-reqs` worked for me and I didn't feel the need to
 modify `composer.json`, but thanks for the hint.

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


More information about the wp-trac mailing list