Closed ernilambar closed 6 months ago
PR updated as per the review comments.
@mukeshpanchal27 After last commit, Behat test (PHP 8.0 WP Latest) is failing. Any idea?
Does it pass locally for you? There might be some error/notice happening
Does it pass locally for you? There might be some error/notice happening
I could not make it run Behat tests locally. Some database error occurs and tests fails even before starting. So I usually check those in GitHub Actions.
@mukeshpanchal27 After last commit, Behat test (PHP 8.0 WP Latest) is failing. Any idea?
The nikic/php-parser get updated from 4.18.0 to 5.0.0 in past few hours that may be issue as they update things related to PHP versions. cc. @swissspidy
@mukeshpanchal27 After last commit, Behat test (PHP 8.0 WP Latest) is failing. Any idea?
The nikic/php-parser get updated from 4.18.0 to 5.0.0 in past few hours that may be issue as they update things related to PHP versions. cc. @swissspidy
This project dos not use PHP-Parser, nor do any of the dependencies.
I could not make it run Behat tests locally. Some database error occurs and tests fails even before starting. So I usually check those in GitHub Actions.
Have you tried running composer prepare-behat-tests
first to set up the database? Or run WP_CLI_TEST_DBTYPE=sqlite composer behat
to test without MySQL.
From what I can see in the logs, this failure started already at https://github.com/WordPress/plugin-check/actions/runs/7443210203 (though it worked fine on the PR branch itself)
So it's not isolated to this PR.
Unfortunately I'm unable to reproduce this locally right now, so let's deal with this in a separate PR to debug in more detail. No blocker for this PR.
Have you tried running
composer prepare-behat-tests
first to set up the database? Or runWP_CLI_TEST_DBTYPE=sqlite composer behat
to test without MySQL.
I've tested it locally, and it seems to be working fine for me as well. Not entirely sure why the issue persists. I've opened a dedicated issue to track and investigate that. Thank you!
Fixes https://github.com/WordPress/plugin-check/issues/364