File tree 2 files changed +10
-0
lines changed
2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ This project adheres to [Semantic Versioning](https://semver.org/).
15
15
16
16
### Deprecated
17
17
18
+ - Deprecate ` ParserState::comsumeWhitespace() ` in favor of ` ParserState::comsumeWhitespaceWithComments() ` (#670 )
19
+
18
20
### Removed
19
21
20
22
### Fixed
Original file line number Diff line number Diff line change @@ -232,6 +232,14 @@ public function parseCharacter($bIsForIdentifier)
232
232
*
233
233
* @throws UnexpectedEOFException
234
234
* @throws UnexpectedTokenException
235
+ *
236
+ * @deprecated From version 9.0.0 onwards this method will be undergo a breaking
237
+ * change. This method will no longer consume comments, only whitespace.
238
+ * Use `ParserState::comsumeWhitespaceWithComments` as a replacement if you
239
+ * need the former behaviour of consuming whitespace and comments.
240
+ *
241
+ * @see `ParserState::comsumeWhitespaceWithComments` for a version that also
242
+ * returns comments.
235
243
*/
236
244
public function comsumeWhitespace ()
237
245
{
You can’t perform that action at this time.
0 commit comments