Skip to content

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Aug 16, 2025

Description

PHPCS PR #1193 makes a small change in how empty string array keys are handled in PHPCS 3.x (as numeric keys) and when this will be merged up into 4.x, an additional change will be made to respect empty string array keys.

This commit documents this change in the Dev upgrade guide for 4.0.

Related issues/external references

Documents PHPCSStandards/PHP_CodeSniffer#1193 for PHPCS 4.x

PHPCS PR 1193 makes a small change in how empty string array keys are handled in PHPCS 3.x (as numeric keys) and when this will be merged up into 4.x, an additional change will be made to respect empty string array keys.

This commit documents this change in the Dev upgrade guide for 4.0.
Copy link

=== This is an auto-generated comment ===

Thank you for your PR.
A dry-run has been executed on your PR, executing all markdown pre-processing for the wiki files.

Please review the resulting final markdown files via the created artifact.
This is especially important when adding new pages or updating auto-generated output blocks.

N.B.: the above link will automatically be updated when this PR is updated.

@rodrigoprimo rodrigoprimo self-requested a review August 18, 2025 13:31
@jrfnl jrfnl merged commit 071aebe into main Aug 18, 2025
20 checks passed
@jrfnl jrfnl deleted the wiki/phpcs-4.0/dev-upgrade-guide-phpcs-1193 branch August 18, 2025 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants