-
Notifications
You must be signed in to change notification settings - Fork 149
Closed
Milestone
Description
The goal is to get rid of redundant code and to reduce functions that have return parameters (which are both hard to understand as well as hard analyze with PHPStan).
- move
getAllDeclarationBlocksfromDocumentto the parent classCSSBlockList - refactor
getAllDeclarationBlocks - replace usages of
CSSBlockList::allDeclarationBlockswith calls to::getAllDeclarationBlocksand dropallDeclarationBlocks - move
getAllRuleSetsfromDocumentto the parent classCSSBlockList - refactor
getAllRuleSets - replace usages of
CSSBlockList::allRuleSetswith calls to::getAllRuleSetsand dropallRuleSets - move
getAllValuesfromDocumentto the parent classCSSBlockList - refactor
getAllValues - replace usages of
CSSBlockList::allValueswith calls to::getAllValuesand dropallValues - rename
CSSBlockList::allSelectorsto::getAllSelectorsand change its interface to return the result
JakeQZ
Metadata
Metadata
Assignees
Labels
No labels