From f3e88cc877793f5e046cb139f7c807468fd8eef8 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Sun, 13 Jul 2025 22:08:45 +0200 Subject: [PATCH] Wiki/Advanced-Usage: update example output from `--config-show` As the PHPCS installation used in GH Actions won't have a `CodeSniffer.conf` file yet, this cannot be automated. Aside from that, automating this would yield inconsistent results when contributors would run the command output replacement script locally. Replacing it now with a manually crafted, updated output example. --- wiki/Advanced-Usage.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/wiki/Advanced-Usage.md b/wiki/Advanced-Usage.md index 6e74d10..0769892 100644 --- a/wiki/Advanced-Usage.md +++ b/wiki/Advanced-Usage.md @@ -341,11 +341,12 @@ To view the currently set configuration options, use the `--config-show` command ```bash $ phpcs --config-show -Array -( - [default_standard] => PEAR - [zend_ca_path] => /path/to/ZendCodeAnalyzer -) + +Using config file: path/to/PHP_CodeSniffer/CodeSniffer.conf + +colors: 1 +default_standard: PEAR +report_width: 150 ```

back to top