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
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>
Copy file name to clipboardExpand all lines: .github/workflows/document-config-params.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,6 +64,26 @@ Also skip these internal parameters that users should not configure directly:
64
64
-`parametersNotInvalidatingCache` (internal)
65
65
-`env` (internal environment variable mapping)
66
66
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
+
67
87
### Step 3: Determine which parameters are undocumented
68
88
69
89
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