Skip to content

Conversation

@guanguans
Copy link
Contributor

fix(command): Allow multiple skip-file options in CheckCommentedCodeCommand

…ommand

- Update the skip-file option to accept multiple values by setting VALUE_IS_ARRAY
- Enable users to specify several file paths to skip during commented code checks
- Improve flexibility and usability of the command
- Necessary to support scenarios where more than one file needs exclusion
Copilot AI review requested due to automatic review settings January 6, 2026 11:32
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR enables the check-commented-code command to accept multiple --skip-file options by adding the VALUE_IS_ARRAY flag to the option definition. This allows users to skip multiple files when checking for commented code.

Key Changes

  • Modified the skip-file option to support array values by adding InputOption::VALUE_IS_ARRAY flag

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@TomasVotruba
Copy link
Member

Looks good, thank you 👍

@TomasVotruba TomasVotruba enabled auto-merge (squash) January 6, 2026 12:14
@TomasVotruba TomasVotruba disabled auto-merge January 6, 2026 12:59
@TomasVotruba TomasVotruba merged commit 8fe1664 into rectorphp:main Jan 6, 2026
13 of 14 checks passed
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.

2 participants