-
Notifications
You must be signed in to change notification settings - Fork 149
[BUGFIX] Parse @font-face src property as comma-delimited list #790
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
Fixes #789. Also adds an initial `TestCase` for `Rule/Rule`.
oliverklee
left a comment
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.
Looks generally very good!
I've added some comments regarding readability.
I've made some changes and replied to those comments. |
tests/Unit/Rule/RuleTest.php
Outdated
|
|
||
| declare(strict_types=1); | ||
|
|
||
| namespace Sabberworm\CSS\Tests\Value; |
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.
| namespace Sabberworm\CSS\Tests\Value; | |
| namespace Sabberworm\CSS\Tests\Unit\Value; |
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.
It lost my comment.
The namespace should also have been Rule not Value - mistake arising from copying and pasting from another file as a template.
tests/Unit/Rule/RuleTest.php
Outdated
| final class RuleTest extends TestCase | ||
| { | ||
| /** | ||
| * @return array<string, array{0: string, 1: list<class-string>}> |
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.
| * @return array<string, array{0: string, 1: list<class-string>}> | |
| * @return array<string, array{0: string, 1: list<class-string>}> |
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.
Corrected.
Fixes #789.
Also adds an initial
TestCaseforRule/Rule.