@@ -10,30 +10,24 @@ class OutputFormat
10
10
* Value format: `"` means double-quote, `'` means single-quote
11
11
*
12
12
* @var string
13
- *
14
- * @internal since 8.8.0, will be made private in 9.0.0
15
13
*/
16
- public $ stringQuotingType = '" ' ;
14
+ private $ stringQuotingType = '" ' ;
17
15
18
16
/**
19
17
* Output RGB colors in hash notation if possible
20
18
*
21
19
* @var bool
22
- *
23
- * @internal since 8.8.0, will be made private in 9.0.0
24
20
*/
25
- public $ bRGBHashNotation = true ;
21
+ private $ bRGBHashNotation = true ;
26
22
27
23
/**
28
24
* Declaration format
29
25
*
30
26
* Semicolon after the last rule of a declaration block can be omitted. To do that, set this false.
31
27
*
32
28
* @var bool
33
- *
34
- * @internal since 8.8.0, will be made private in 9.0.0
35
29
*/
36
- public $ bSemicolonAfterLastRule = true ;
30
+ private $ bSemicolonAfterLastRule = true ;
37
31
38
32
/**
39
33
* Spacing
@@ -43,177 +37,133 @@ class OutputFormat
43
37
* (e.g. `$outputFormat->set('Space*Rules', "\n");`)
44
38
*
45
39
* @var string
46
- *
47
- * @internal since 8.8.0, will be made private in 9.0.0
48
40
*/
49
- public $ sSpaceAfterRuleName = ' ' ;
41
+ private $ sSpaceAfterRuleName = ' ' ;
50
42
51
43
/**
52
44
* @var string
53
- *
54
- * @internal since 8.8.0, will be made private in 9.0.0
55
45
*/
56
- public $ sSpaceBeforeRules = '' ;
46
+ private $ sSpaceBeforeRules = '' ;
57
47
58
48
/**
59
49
* @var string
60
- *
61
- * @internal since 8.8.0, will be made private in 9.0.0
62
50
*/
63
- public $ sSpaceAfterRules = '' ;
51
+ private $ sSpaceAfterRules = '' ;
64
52
65
53
/**
66
54
* @var string
67
- *
68
- * @internal since 8.8.0, will be made private in 9.0.0
69
55
*/
70
- public $ sSpaceBetweenRules = '' ;
56
+ private $ sSpaceBetweenRules = '' ;
71
57
72
58
/**
73
59
* @var string
74
- *
75
- * @internal since 8.8.0, will be made private in 9.0.0
76
60
*/
77
- public $ sSpaceBeforeBlocks = '' ;
61
+ private $ sSpaceBeforeBlocks = '' ;
78
62
79
63
/**
80
64
* @var string
81
- *
82
- * @internal since 8.8.0, will be made private in 9.0.0
83
65
*/
84
- public $ sSpaceAfterBlocks = '' ;
66
+ private $ sSpaceAfterBlocks = '' ;
85
67
86
68
/**
87
69
* @var string
88
- *
89
- * @internal since 8.8.0, will be made private in 9.0.0
90
70
*/
91
- public $ sSpaceBetweenBlocks = "\n" ;
71
+ private $ sSpaceBetweenBlocks = "\n" ;
92
72
93
73
/**
94
74
* Content injected in and around at-rule blocks.
95
75
*
96
76
* @var string
97
- *
98
- * @internal since 8.8.0, will be made private in 9.0.0
99
77
*/
100
- public $ sBeforeAtRuleBlock = '' ;
78
+ private $ sBeforeAtRuleBlock = '' ;
101
79
102
80
/**
103
81
* @var string
104
- *
105
- * @internal since 8.8.0, will be made private in 9.0.0
106
82
*/
107
- public $ sAfterAtRuleBlock = '' ;
83
+ private $ sAfterAtRuleBlock = '' ;
108
84
109
85
/**
110
86
* This is what’s printed before and after the comma if a declaration block contains multiple selectors.
111
87
*
112
88
* @var string
113
- *
114
- * @internal since 8.8.0, will be made private in 9.0.0
115
89
*/
116
- public $ sSpaceBeforeSelectorSeparator = '' ;
90
+ private $ sSpaceBeforeSelectorSeparator = '' ;
117
91
118
92
/**
119
93
* @var string
120
- *
121
- * @internal since 8.8.0, will be made private in 9.0.0
122
94
*/
123
- public $ sSpaceAfterSelectorSeparator = ' ' ;
95
+ private $ sSpaceAfterSelectorSeparator = ' ' ;
124
96
125
97
/**
126
98
* This is what’s inserted before the separator in value lists, by default.
127
99
*
128
100
* @var string
129
- *
130
- * @internal since 8.8.0, will be made private in 9.0.0
131
101
*/
132
- public $ sSpaceBeforeListArgumentSeparator = '' ;
102
+ private $ sSpaceBeforeListArgumentSeparator = '' ;
133
103
134
104
/**
135
105
* Keys are separators (e.g. `,`). Values are the space sequence to insert, or an empty string.
136
106
*
137
107
* @var array<non-empty-string, string>
138
- *
139
- * @internal since 8.8.0, will be made private in 9.0.0
140
108
*/
141
- public $ aSpaceBeforeListArgumentSeparators = [];
109
+ private $ aSpaceBeforeListArgumentSeparators = [];
142
110
143
111
/**
144
112
* This is what’s inserted after the separator in value lists, by default.
145
113
*
146
114
* @var string
147
- *
148
- * @internal since 8.8.0, will be made private in 9.0.0
149
115
*/
150
- public $ sSpaceAfterListArgumentSeparator = '' ;
116
+ private $ sSpaceAfterListArgumentSeparator = '' ;
151
117
152
118
/**
153
119
* Keys are separators (e.g. `,`). Values are the space sequence to insert, or an empty string.
154
120
*
155
121
* @var array<non-empty-string, string>
156
- *
157
- * @internal since 8.8.0, will be made private in 9.0.0
158
122
*/
159
- public $ aSpaceAfterListArgumentSeparators = [];
123
+ private $ aSpaceAfterListArgumentSeparators = [];
160
124
161
125
/**
162
126
* @var string
163
- *
164
- * @internal since 8.8.0, will be made private in 9.0.0
165
127
*/
166
- public $ sSpaceBeforeOpeningBrace = ' ' ;
128
+ private $ sSpaceBeforeOpeningBrace = ' ' ;
167
129
168
130
/**
169
131
* Content injected in and around declaration blocks.
170
132
*
171
133
* @var string
172
- *
173
- * @internal since 8.8.0, will be made private in 9.0.0
174
134
*/
175
- public $ sBeforeDeclarationBlock = '' ;
135
+ private $ sBeforeDeclarationBlock = '' ;
176
136
177
137
/**
178
138
* @var string
179
- *
180
- * @internal since 8.8.0, will be made private in 9.0.0
181
139
*/
182
- public $ sAfterDeclarationBlockSelectors = '' ;
140
+ private $ sAfterDeclarationBlockSelectors = '' ;
183
141
184
142
/**
185
143
* @var string
186
- *
187
- * @internal since 8.8.0, will be made private in 9.0.0
188
144
*/
189
- public $ sAfterDeclarationBlock = '' ;
145
+ private $ sAfterDeclarationBlock = '' ;
190
146
191
147
/**
192
148
* Indentation character(s) per level. Only applicable if newlines are used in any of the spacing settings.
193
149
*
194
150
* @var string
195
- *
196
- * @internal since 8.8.0, will be made private in 9.0.0
197
151
*/
198
- public $ sIndentation = "\t" ;
152
+ private $ sIndentation = "\t" ;
199
153
200
154
/**
201
155
* Output exceptions.
202
156
*
203
157
* @var bool
204
- *
205
- * @internal since 8.8.0, will be made private in 9.0.0
206
158
*/
207
- public $ bIgnoreExceptions = false ;
159
+ private $ bIgnoreExceptions = false ;
208
160
209
161
/**
210
162
* Render comments for lists and RuleSets
211
163
*
212
164
* @var bool
213
- *
214
- * @internal since 8.8.0, will be made private in 9.0.0
215
165
*/
216
- public $ bRenderComments = false ;
166
+ private $ bRenderComments = false ;
217
167
218
168
/**
219
169
* @var OutputFormatter|null
0 commit comments