Skip to content

Commit 2a5eaba

Browse files
ondrejmirtesclaude
andcommitted
Skip level-only parameters in config docs workflow
These parameters exist purely to be toggled by rule levels and are not configured by users directly. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 080bafa commit 2a5eaba

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/document-config-params.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,26 @@ Also skip these internal parameters that users should not configure directly:
6464
- `parametersNotInvalidatingCache` (internal)
6565
- `env` (internal environment variable mapping)
6666

67+
Also skip these level-only parameters — they exist purely to be toggled by rule levels in `conf/config.level*.neon` and are not configured by users directly:
68+
- `checkThisOnly` (level 2)
69+
- `checkMaybeUndefinedVariables` (level 1)
70+
- `checkExtraArguments` (level 1)
71+
- `reportMagicMethods` (level 1)
72+
- `reportMagicProperties` (level 1)
73+
- `checkClassCaseSensitivity` (level 2)
74+
- `checkPhpDocMissingReturn` (level 2)
75+
- `checkPhpDocMethodSignatures` (level 3)
76+
- `checkAdvancedIsset` (level 4)
77+
- `checkFunctionArgumentTypes` (level 5)
78+
- `checkArgumentsPassedByReference` (level 5)
79+
- `checkMissingVarTagTypehint` (level 6)
80+
- `checkMissingTypehints` (level 6)
81+
- `checkUnionTypes` (level 7)
82+
- `reportMaybes` (level 7)
83+
- `checkNullables` (level 8)
84+
- `checkExplicitMixed` (level 9)
85+
- `checkImplicitMixed` (level 10)
86+
6787
### Step 3: Determine which parameters are undocumented
6888

6989
Check which parameter names from the schema do NOT appear as documented parameters in `config-reference.md`. A parameter counts as "documented" if it appears as a heading (`###`), in a config key listing, or is explained in a section body.

0 commit comments

Comments
 (0)