Skip to content

fix(deps): update Composer deps to resolve Dependabot #77#121

Merged
sectsect merged 4 commits into
masterfrom
update-dependencies
Feb 16, 2026
Merged

fix(deps): update Composer deps to resolve Dependabot #77#121
sectsect merged 4 commits into
masterfrom
update-dependencies

Conversation

@sectsect

@sectsect sectsect commented Feb 15, 2026

Copy link
Copy Markdown
Owner

fix(deps): update Composer deps to resolve Dependabot #77


Note

Low Risk
Low risk: changes are limited to Composer dev-dependency lockfile updates and defensive handling of invalid tag IDs; runtime behavior only changes for malformed stored/tag inputs (now skipped instead of fatal).

Overview
Pins Composer’s config.platform.php to 8.1.0 (also reflected as a lockfile platform override) and updates several dev dependencies used for static analysis/testing/coding standards (notably phpstan, phpunit, wpcs, wordpress-stubs, and php-parser).

Hardens tag rendering/syncing in includes/index.php by wrapping wp_tag_order_cast_mixed_to_int() calls in try/catch and skipping invalid tag IDs, preventing InvalidArgumentException from breaking the metabox UI or AJAX sync output.

Written by Cursor Bugbot for commit c3508aa. This will update automatically on new commits. Configure here.

- Bump PHPStan, PHPUnit, WPCS, and related packages
- Use wp_tag_order_cast_mixed_to_int in ajax_wto_sync_tags

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

This PR is being reviewed by Cursor Bugbot

Details

You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

Comment thread composer.lock Outdated
Comment thread includes/index.php Outdated
@sectsect sectsect merged commit 7972858 into master Feb 16, 2026
10 checks passed
@sectsect sectsect deleted the update-dependencies branch February 16, 2026 02:47
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.

1 participant