File tree Expand file tree Collapse file tree 2 files changed +3
-14
lines changed Expand file tree Collapse file tree 2 files changed +3
-14
lines changed Original file line number Diff line number Diff line change @@ -42,18 +42,6 @@ parameters:
42
42
count : 1
43
43
path : ../src/CSSList/Document.php
44
44
45
- -
46
- message : ' #^Call to an undefined method Sabberworm\\CSS\\OutputFormat\:\:comments\(\)\.$#'
47
- identifier : method.notFound
48
- count : 1
49
- path : ../src/CSSList/KeyFrame.php
50
-
51
- -
52
- message : ' #^Call to an undefined method Sabberworm\\CSS\\OutputFormat\:\:spaceBeforeOpeningBrace\(\)\.$#'
53
- identifier : method.notFound
54
- count : 1
55
- path : ../src/CSSList/KeyFrame.php
56
-
57
45
-
58
46
message : ' #^Loose comparison via "\=\=" is not allowed\.$#'
59
47
identifier : equal.notAllowed
Original file line number Diff line number Diff line change @@ -61,8 +61,9 @@ public function __toString(): string
61
61
62
62
public function render (OutputFormat $ outputFormat ): string
63
63
{
64
- $ result = $ outputFormat ->comments ($ this );
65
- $ result .= "@ {$ this ->vendorKeyFrame } {$ this ->animationName }{$ outputFormat ->spaceBeforeOpeningBrace ()}{ " ;
64
+ $ formatter = $ outputFormat ->getFormatter ();
65
+ $ result = $ formatter ->comments ($ this );
66
+ $ result .= "@ {$ this ->vendorKeyFrame } {$ this ->animationName }{$ formatter ->spaceBeforeOpeningBrace ()}{ " ;
66
67
$ result .= $ this ->renderListContents ($ outputFormat );
67
68
$ result .= '} ' ;
68
69
return $ result ;
You can’t perform that action at this time.
0 commit comments