Skip to content

#838 update composer dev dependencies#863

Open
PANawkar wants to merge 1 commit intoWordPress:masterfrom
PANawkar:fix-838-deps
Open

#838 update composer dev dependencies#863
PANawkar wants to merge 1 commit intoWordPress:masterfrom
PANawkar:fix-838-deps

Conversation

@PANawkar
Copy link
Copy Markdown

@PANawkar PANawkar commented Mar 30, 2026

#838
Implemented:
dealerdirect/phpcodesniffer-composer-installer ^1.2
PHPUnit refresh constrained to ^8.5.x
yoast/phpunit-polyfills ^4.0
Updated composer.lock

Set config.platform.php to 7.2.24 to ensure compatibility with wp-env PHPUnit runs on PHP 7.2.

Deferred Updates
The following upgrades are deferred:
spatie/phpunit-watcher ^1.24
szepeviktor/phpstan-wordpress ^2
phpstan/phpstan ^2

These require PHP 8.1+ / Symfony 6, which introduces PHP 8-only syntax into vendor/ and breaks the current single-vendor, multi-PHP CI matrix.

@github-actions
Copy link
Copy Markdown

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

Unlinked Accounts

The following contributors have not linked their GitHub and WordPress.org accounts: @pratik.nawkar@xecurify.com.

Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Unlinked contributors: pratik.nawkar@xecurify.com.


To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

"dealerdirect/phpcodesniffer-composer-installer": "^1.2",
"phpcompatibility/phpcompatibility-wp": "3.0.0-alpha2",
"phpunit/phpunit": "^8.5|^9.6",
"phpunit/phpunit": "^8.5",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you check if you are able to generate test coverage report with this configuration on PHP 8+? I faced some difficulties in my recent PR #856

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants