Skip to content

BCFile::findStartOfStatement(): sync tests with upstream#661

Merged
jrfnl merged 1 commit into
developfrom
feature/findstartofstatementtest-sync-with-upstream
May 30, 2025
Merged

BCFile::findStartOfStatement(): sync tests with upstream#661
jrfnl merged 1 commit into
developfrom
feature/findstartofstatementtest-sync-with-upstream

Conversation

@jrfnl

@jrfnl jrfnl commented May 30, 2025

Copy link
Copy Markdown
Member

Update the test files to align with PHPCS 3.12.1, which added support for goto as a (switch) case terminating statement.

No changes needed in the BCFile class, as by now, the PHPCSUtils minimum PHPCS version is already at 3.13.0 (this test change is being synced a bit late... oops).

Ref: PHPCSStandards/PHP_CodeSniffer# 916

Update the test files to align with PHPCS 3.12.1, which added support for `goto` as a (switch) `case` terminating statement.

No changes needed in the `BCFile` class, as by now, the PHPCSUtils minimum PHPCS version is already at `3.13.0` (this test change is being synced a bit late... oops).

Ref: PHPCSStandards/PHP_CodeSniffer 916
@jrfnl jrfnl added this to the 1.1.0 milestone May 30, 2025
@jrfnl jrfnl merged commit 1664fae into develop May 30, 2025
57 of 59 checks passed
@jrfnl jrfnl deleted the feature/findstartofstatementtest-sync-with-upstream branch May 30, 2025 05:48
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.

1 participant