Commit 2d53ba8
committed
WAIT - VIPCS 4.0 | WIP | Various sniffs: fix property visibility
`public` properties in sniffs can be changed from within a PHPCS XML ruleset file.
A number of properties in VIPCS sniffs should never have been `public` to begin with and for most, the format of the property value (multi-level array) cannot be set from within a custom ruleset anyway.
This commit changes the visibility for these properties from `public` to `private`.
Related to issue 234
Note: the `TaxonomyMetaInOptionsSniff::$option_functions` property is not included in this commit as it is deprecated and will be removed.1 parent d9eb263 commit 2d53ba8
File tree
3 files changed
+4
-4
lines changed- WordPressVIPMinimum/Sniffs
- Functions
- Performance
- Variables
3 files changed
+4
-4
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
0 commit comments