• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

MyIntervals / PHP-CSS-Parser / 22108650183

17 Feb 2026 05:26PM UTC coverage: 72.114% (-0.03%) from 72.147%
22108650183

push

github

web-flow
[TASK] Rename `RuleContainer` to `DeclarationList` (#1530)

It contains property declarations not rules, and describing it as a 'list'
rather than a 'container' seems more apt, as the declarations are ordered.

Changes to use the new interface name in the source code and tests will be
submitted as follow-up PRs.

0 of 1 new or added line in 1 file covered. (0.0%)

1549 of 2148 relevant lines covered (72.11%)

33.6 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/RuleSet/RuleContainer.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace Sabberworm\CSS\RuleSet;
6

7
use function Safe\class_alias;
8

9
/**
10
 * @deprecated in v9.2, will be removed in v10.0.  Use `DeclarationList` instead, which is a direct replacement.
11
 */
NEW
12
class_alias(DeclarationList::class, RuleContainer::class);
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc