-
Notifications
You must be signed in to change notification settings - Fork 144
[CLEANUP] Avoid Hungarian notation in OutputFormat
(part 1)
#1098
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made some suggestions for clearer names for the Boolean properties (to clarify that they are Booleans). However, this would mean that they are no longer consistent with the getters and setters. And given that these don't correspond to any formal CSS data type, I don't think it's worth the effort renaming them - unlike in the case of Size.number
.
@@ -18,7 +18,7 @@ class OutputFormat | |||
* | |||
* @var bool | |||
*/ | |||
private $bRGBHashNotation = true; | |||
private $rgbHashNotation = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
private $rgbHashNotation = true; | |
private $useRgbHashNotation = true; |
@@ -27,7 +27,7 @@ class OutputFormat | |||
* | |||
* @var bool | |||
*/ | |||
private $bSemicolonAfterLastRule = true; | |||
private $semicolonAfterLastRule = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
private $semicolonAfterLastRule = true; | |
private $renderSemicolonAfterLastRule = true; |
As suggested in #1098. The setters are not changed a those are part of the public API.
As suggested in #1098. The setters are not changed as those are part of the public API.
Part of #756