Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #56219, comment 5


Ignore:
Timestamp:
07/14/2022 08:43:17 PM (3 years ago)
Author:
jrf
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #56219, comment 5

    initial v1  
    22
    331. The changes you are suggesting are for an external dependency. That dependency has already released a version compatible with PHP 8.1 (and 8.2 for that matter). WP just hasn't upgraded yet. See: https://core.trac.wordpress.org/ticket/54504
    4 2. The only reason the Importer plugin has a PHPUnit restriction is because it is needed to support older WP versions. With the WP 5.9 or higher, all necessary PHPUnit versions are supported. You should NOT run with `--ignore-platform-reqs`. Instead you should run `composer remove --dev phpunit/phpunit` (this will not actually remove phpunit, but will remove the version restriction). See: https://github.com/WordPress/wordpress-importer/blob/c0e188a85c57fadde914e397bd4b0a9c104e5f17/.github/workflows/test.yml#L108-L146 for the full details and explanation.
     42. The only reason the Importer plugin has a PHPUnit restriction is because it is needed to support older WP versions. With WP 5.9 or higher, all necessary PHPUnit versions are supported. You should NOT run with `--ignore-platform-reqs`. Instead you should run `composer remove --dev phpunit/phpunit` (this will not actually remove phpunit, but will remove the version restriction). See: https://github.com/WordPress/wordpress-importer/blob/c0e188a85c57fadde914e397bd4b0a9c104e5f17/.github/workflows/test.yml#L108-L146 for the full details and explanation.
    55
    66I suggest closing this ticket as a duplicate of #54504.