You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While reviewing #1079, which adds a new configuration option (ignore_non_auto_fixable_on_exit) to config-explain, I noticed that phpcbf --help does not include information about the following options, and I believe it should: --config-show, --config-set, and --config-delete (also config-explain which is not a option, but is used to display additional information about setting configuration options). These configuration options appear to work with both phpcs and phpcbf, but are only shown in the phpcs --help output.
To reproduce
Steps to reproduce the behavior:
Run phpcbf --help
Confirm that the options mentioned above are not included.
Expected behavior
Since those options do work with phpcbf, I expected them to be included in the help screen. Happy to create a PR to fix it if it is confirmed that this is not an intentional behavior for a reason that I'm missing.
Versions (please complete the following information)
Operating System
Ubuntu
PHP version
8.3
PHP_CodeSniffer version
master
Standard
N/A
Install type
git clone
Additional context
The code that introduced the current version of the help screen was added in #447.
Please confirm
I have searched the issue list and am not opening a duplicate issue.
Describe the bug
While reviewing #1079, which adds a new configuration option (
ignore_non_auto_fixable_on_exit
) toconfig-explain
, I noticed thatphpcbf --help
does not include information about the following options, and I believe it should:--config-show
,--config-set
, and--config-delete
(alsoconfig-explain
which is not a option, but is used to display additional information about setting configuration options). These configuration options appear to work with bothphpcs
andphpcbf
, but are only shown in thephpcs --help
output.To reproduce
Steps to reproduce the behavior:
phpcbf --help
Expected behavior
Since those options do work with
phpcbf
, I expected them to be included in the help screen. Happy to create a PR to fix it if it is confirmed that this is not an intentional behavior for a reason that I'm missing.Versions (please complete the following information)
Additional context
The code that introduced the current version of the help screen was added in #447.
Please confirm
master
branch of PHP_CodeSniffer.The text was updated successfully, but these errors were encountered: