[x] Have you added a changelog entry to the CHANGELOG.md file's [Unreleased] section?
Changes proposed in this Pull Request:
As suggested by @dhrrgn in #1, this PR adds a "Default" option to phpCodeSniffer.standard. This will cause no --standard to be passed so that PHPCS can use its own default.
Closes #1.
How to test the changes in this Pull Request:
Open a project that has a configuration file.
Set phpCodeSniffer.standard as "Custom" and phpCodeSniffer.standardCustom as the configuration file's path.
Intentionally create a problem for reference.
Set phpCodeSniffer.standard as "Default" and erase phpCodeSniffer.standardCustom.
Note that PHPCS is using the same standard still and the problem created in step 3 is still present.
All Submissions:
Changes proposed in this Pull Request:
As suggested by @dhrrgn in #1, this PR adds a "Default" option to
phpCodeSniffer.standard
. This will cause no--standard
to be passed so that PHPCS can use its own default.Closes #1.
How to test the changes in this Pull Request:
phpCodeSniffer.standard
as"Custom"
andphpCodeSniffer.standardCustom
as the configuration file's path.phpCodeSniffer.standard
as"Default"
and erasephpCodeSniffer.standardCustom
.