Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
555 commits
Select commit Hold shift + click to select a range
2c3fe72
[TASK] Extract value parsing functional tests (part 1) (#1084)
oliverklee Mar 5, 2025
c5348e9
[TASK] Drop special support for vendor prefixes (#1083)
oliverklee Mar 5, 2025
1ffafd9
[CLEANUP] Avoid Hungarian notation for `size` (#1085)
oliverklee Mar 5, 2025
1d2d5f3
[CLEANUP] Avoid Hungarian notation for `unit` and `sizeUnits` (#1088)
oliverklee Mar 5, 2025
a548ded
[CLEANUP] Avoid Hungarian notation for `isColorComponent` (#1090)
oliverklee Mar 5, 2025
0ae4c9a
[CLEANUP] Avoid Hungarian notation in `Size::render()` (#1092)
oliverklee Mar 6, 2025
0fce02b
[CLEANUP] Avoid Hungarian notation for `url` (#1093)
oliverklee Mar 6, 2025
afdb023
[CLEANUP] Avoid Hungarian notation for `tokenLength` (#1089)
oliverklee Mar 6, 2025
386d510
[CLEANUP] Avoid Hungarian notation for `character` (#1094)
oliverklee Mar 6, 2025
b24c4f8
[CLEANUP] Avoid Hungarian notation for `sizeUnit` (#1095)
oliverklee Mar 6, 2025
f1f3fba
[CLEANUP] Avoid Hungarian notation for `useUrl` (#1096)
oliverklee Mar 6, 2025
a8f26be
[CLEANUP] Avoid Hungarian notation in `OutputFormatter` (#1097)
oliverklee Mar 6, 2025
b4d691c
[CLEANUP] Avoid Hungarian notation in `OutputFormat` (part 1) (#1098)
oliverklee Mar 6, 2025
9f7bbbe
[CLEANUP] Improve some `OutputFormat` property and getter names (#1099)
oliverklee Mar 6, 2025
a074ff5
[CLEANUP] Avoid Hungarian notation in the tests (#1101)
oliverklee Mar 6, 2025
bf6bd0c
[CLEANUP] Avoid Hungarian notation in `SpecificityCalculator` (#1102)
oliverklee Mar 6, 2025
4f45adb
[CLEANUP] Avoid Hungarian notation in `CSSBlockList` (#1104)
oliverklee Mar 6, 2025
07b4db0
[CLEANUP] Avoid Hungarian notation in `DeclarationBlock` (#1105)
oliverklee Mar 7, 2025
9e087c5
[CLEANUP] Use the explicit `OutputFormat` setters in the tests (#1106)
oliverklee Mar 7, 2025
b7367c8
[TASK] Remove `OutputFormat::get()` (#1108)
oliverklee Mar 7, 2025
fff77eb
[CLEANUP] Avoid Hungarian notation in comments (#1109)
oliverklee Mar 7, 2025
a031106
[TASK ] Remove `OutputFormat::set()` (#1110)
oliverklee Mar 7, 2025
67eb105
[CLEANUP] Avoid Hungarian notation in `OutputFormat` (part 2) (#1100)
oliverklee Mar 7, 2025
150007c
[CLEANUP] Avoid Hungarian notation in `Size` (#1111)
oliverklee Mar 7, 2025
c227620
[CLEANUP] Avoid Hungarian notation for `numberOfLines` (#1112)
oliverklee Mar 8, 2025
8dcfa91
[CLEANUP] Avoid Hungarian notation for `matches` (#1113)
oliverklee Mar 8, 2025
7d45a7f
[CLEANUP] Avoid Hungarian notation in `OutputFormat` (part 3) (#1114)
oliverklee Mar 8, 2025
1229b3b
[CLEANUP] Avoid Hungarian notation in `OutputFormat` (part 4) (#1115)
oliverklee Mar 8, 2025
b226bb4
[CLEANUP] Avoid Hungarian notation for `input` (#1116)
oliverklee Mar 8, 2025
c8501c8
[CLEANUP] Avoid Hungarian notation in `OutputFormat` (part 5) (#1117)
oliverklee Mar 8, 2025
4435934
[CLEANUP] Avoid Hungarian notation in `OutputFormat` (part 6) (#1118)
oliverklee Mar 8, 2025
9998f18
[CLEANUP] Avoid Hungarian notation for `expression` (#1119)
oliverklee Mar 8, 2025
008d2fb
[CLEANUP] Avoid Hungarian notation for `peek` (#1120)
oliverklee Mar 8, 2025
5907d25
[CLEANUP] Avoid Hungarian notation in `OutputFormat` (part 7) (#1121)
oliverklee Mar 8, 2025
337f861
[CLEANUP] Avoid Hungarian notation for `maximumLength` (#1122)
oliverklee Mar 8, 2025
9eb6c43
[CLEANUP] Avoid Hungarian notation for `comment` (#1123)
oliverklee Mar 8, 2025
262ac24
[CLEANUP] Avoid Hungarian notation for `stopCharacters` (#1124)
oliverklee Mar 8, 2025
1de81af
[CLEANUP] Avoid Hungarian notation in `OutputFormat` (part 8) (#1125)
oliverklee Mar 8, 2025
cd51281
[CLEANUP] Avoid Hungarian notation in `OutputFormat` (part 9) (#1126)
oliverklee Mar 9, 2025
b43388a
[CLEANUP] Improve some variable names in `ParserState` (#1129)
oliverklee Mar 9, 2025
a8709e4
[CLEANUP] Fix some type annotations in `ParserState` (#1130)
oliverklee Mar 9, 2025
6801d26
[BUGFIX] Fix a typo in `indentationLevel` (#1132)
oliverklee Mar 9, 2025
9d2fd8e
[TASK] Mark `OutputFormat` as not extendable (#1131)
oliverklee Mar 10, 2025
ef732a5
[TASK] Make `OutputFormat` `final` (#1128)
oliverklee Mar 10, 2025
6607f94
[CLEANUP] Drop empty `OutputFormat` constructor (#1127)
oliverklee Mar 10, 2025
5493982
[TASK] Use native type declarations for `$lineNumber` (#1134)
oliverklee Mar 11, 2025
19ecca8
[TASK] Add some rendering tests for `Document` (#1138)
oliverklee Mar 11, 2025
632379d
[TASK] Add some more type declarations (#1139)
oliverklee Mar 11, 2025
db8cad1
[TASK] Use native type declarations in `Document` (#1137)
oliverklee Mar 11, 2025
ff247ef
[TASK] Use native type declarations in `ParserState` (#1136)
oliverklee Mar 11, 2025
681fef6
[TASK] Use native type declarations in `Parser` (#1140)
oliverklee Mar 11, 2025
6e9d010
[TASK] Use native type declarations in `Anchor` (#1141)
oliverklee Mar 11, 2025
261eb1b
[CLEANUP] Make a type annotation more specific (#1143)
oliverklee Mar 11, 2025
66718c1
[CLEANUP] Drop an unused internal constant (#1144)
oliverklee Mar 11, 2025
46da4b2
[TASK] Initialize `KeyFrame` properties (#1146)
JakeQZ Mar 12, 2025
6d934af
[TASK] Add native type declarations for `atRuleName()` (#1145)
oliverklee Mar 12, 2025
a389a84
[CLEANUP] Avoid magic method forwarding in `AtRuleBlockList` (#1148)
oliverklee Mar 12, 2025
4e54a8e
[CLEANUP] Avoid magic method forwarding in `ValueList` (#1149)
oliverklee Mar 12, 2025
13f1ff5
[CLEANUP] Avoid magic method forwarding in `Rule` (#1150)
oliverklee Mar 12, 2025
898d5cd
[TASK] Drop `atRuleArgs()` from the `AtRule` interface (#1142)
oliverklee Mar 12, 2025
92927fe
[CLEANUP] Avoid magic method forwarding in `CSSList` (#1151)
oliverklee Mar 12, 2025
08612de
[CLEANUP] Avoid magic method forwarding in `Color` (#1152)
oliverklee Mar 12, 2025
230fd2a
[CLEANUP] Avoid magic method forwarding in `AtRuleSet` (#1153)
oliverklee Mar 12, 2025
7144fde
[CLEANUP] Avoid magic method forwarding in `Document` (#1155)
oliverklee Mar 12, 2025
159f7be
[CLEANUP] Avoid magic method forwarding in `Import` (#1156)
oliverklee Mar 12, 2025
0cfbce3
[CLEANUP] Avoid magic method forwarding in `CalcRuleValueList` (#1157)
oliverklee Mar 12, 2025
b0238f0
[DOCS] Avoid Hungarian notation in the README (#1154)
oliverklee Mar 12, 2025
831f3d9
[CLEANUP] Avoid magic method forwarding in `KeyFrame` (#1158)
oliverklee Mar 12, 2025
fdd1a65
[CLEANUP] Avoid magic method forwarding in `RuleSet` (#1159)
oliverklee Mar 12, 2025
8d66357
[CLEANUP] Avoid magic method forwarding in `Charset` (#1160)
oliverklee Mar 12, 2025
34ebb96
[CLEANUP] Avoid magic method forwarding in `DeclarationBlock` (#1161)
oliverklee Mar 12, 2025
a05cb3b
[TASK] Add native type declarations in `Size` (#1162)
oliverklee Mar 13, 2025
7e688fc
[TASK] Add more unit tests for `Size` (#1165)
oliverklee Mar 13, 2025
6a09851
[TASK] Add some basic unit tests for `URL` (#1164)
oliverklee Mar 13, 2025
c226c04
[TASK] Add native type declarations in `URL` (#1163)
oliverklee Mar 13, 2025
d7c6181
[TASK] Add native return type for `render*` methods (#1166)
oliverklee Mar 13, 2025
38de556
[TASK] Drop magic method forwarding in `OutputFormat` (#898)
oliverklee Mar 13, 2025
b561b72
[CLEANUP] Fix method name casing in a call (#1167)
oliverklee Mar 13, 2025
e0e0dd3
[BUGFIX] Include comments for all rules in declaration block (#1169)
JakeQZ Mar 16, 2025
b3c1936
[CLEANUP] Clean up `ParserState` a bit (#1173)
oliverklee Mar 16, 2025
4889353
[TASK] Add native type declarations for `Import` (#1172)
oliverklee Mar 16, 2025
4d965b3
[BUGFIX] Fix the return type of `Selector::isValid()` (#1174)
oliverklee Mar 16, 2025
dc3b9cb
[CLEANUP] Make `Commentable` type annotations more specific (#1171)
oliverklee Mar 16, 2025
4312c56
[TASK] Add native type declarations for `Charset` (#1178)
oliverklee Mar 16, 2025
bdebc0b
[TASK] Add native type declarations for `CSSString` (#1179)
oliverklee Mar 16, 2025
f9609c4
[TASK] Avoid the deprecated `__toString()` in tests (#1180)
oliverklee Mar 16, 2025
c9d37e7
[TASK] Remove `__toString()` (#1046)
oliverklee Mar 17, 2025
fcaea55
[TASK] Add native type declarations for `CSSList` (#1181)
oliverklee Mar 17, 2025
1226a2f
[CLEANUP] Fix type annotation of `::getSelectors()` (#1184)
oliverklee Mar 17, 2025
a583a2e
[TASK] Add native type declarations for `CSSBlockList` (#1183)
oliverklee Mar 17, 2025
f371c22
[TASK] Add native type declarations for `RuleSet` (#1186)
oliverklee Mar 17, 2025
ff1af18
[TASK] Add native type declarations for `CSSNamespace` (#1187)
oliverklee Mar 18, 2025
e89a90c
[TASK] Reduce and finetune the scope of `@covers` annotations (#1188)
oliverklee Mar 18, 2025
2db8991
[TASK] Add native type declarations for `Rule` (#1190)
oliverklee Mar 18, 2025
8f82bf3
[TASK] Add native type declarations for `AtRuleSet` (#1192)
oliverklee Mar 18, 2025
7e80f08
[TASK] Add native type declarations for `DeclarationBlock` (#1193)
oliverklee Mar 18, 2025
45cd62f
[TASK] Add native type declarations for `ValueList` (#1196)
oliverklee Mar 19, 2025
3572062
[TASK] Add native type declarations for `CSSFunction` (#1197)
oliverklee Mar 19, 2025
a0b9a78
[CLEANUP] And some more annotations for non-empty strings (#1199)
oliverklee Mar 19, 2025
b29b16d
[CLEANUP] Make annotations for `OutputFormat` more specific (#1200)
oliverklee Mar 19, 2025
2849686
[TASK] Drop the unused `ParserState::strpos()` method (#1202)
oliverklee Mar 19, 2025
9e315e1
[TASK] Add native type declarations for `RuleValueList` (#1203)
oliverklee Mar 19, 2025
43b8afa
[CLEANUP] Improve type annotations in `LineName` (#1198)
oliverklee Mar 19, 2025
6393660
[TASK] Add native type declarations for `Color` (#1204)
oliverklee Mar 20, 2025
acfe85e
[CLEANUP] Return `null` from `DeclarationBlock::parse()` on failure (…
JakeQZ Mar 24, 2025
734c72e
[TASK] Add (and use) a `CSSListItem` type (#1212)
JakeQZ Mar 25, 2025
ece5633
[TASK] Configure the target PHP version for PHPStan (#1216)
oliverklee Mar 25, 2025
ee07bde
[TASK] Add trait providing standard implementation of `Commentable` (…
JakeQZ Mar 25, 2025
8104f52
[TASK] Use `CommentContainer` trait to implement `Commentable` (#1217)
JakeQZ Mar 26, 2025
11214f0
[TASK] Prevent Dependabot updating "rawr/cross-data-providers" (#1219)
JakeQZ Mar 26, 2025
993d6b5
[TASK] Add rebasing guidelines to `CONTRIBUTING.md` (#1220)
JakeQZ Mar 27, 2025
12afe20
[TASK] Integrate changelog entries from 8.8 release (#1222)
JakeQZ Mar 29, 2025
8ea11a4
[TASK] Add to UML diagram that `Selector` implements `Renderable` (#1…
oliverklee Mar 29, 2025
5b17141
[TASK] Add `Positionable` interface and implementing trait (#1221)
JakeQZ Mar 30, 2025
db60032
[TASK] Update class diagram to include `CSSListItem` (#1226)
JakeQZ Mar 31, 2025
e2d9582
[CLEANUP] Autoformat the code and drop unused imports (#1228)
oliverklee Mar 31, 2025
a675d12
[CLEANUP] Fix typos in test method names (#1229)
oliverklee Mar 31, 2025
36ed5cd
[TASK] Migrate to `rawr/phpunit-data-provider` (#1227)
oliverklee Mar 31, 2025
9b52615
[TASK] Implement `Positionable` (#1225)
JakeQZ Apr 1, 2025
6f3e955
[TASK] Deprecate `getLineNo()` etc. in v8.9.0 (#1233)
JakeQZ Apr 7, 2025
4e107ac
[TASK] Update CHANGELOG for #1233 (#1235)
JakeQZ Apr 7, 2025
3ab40c6
[BUGFIX] Correct `AtRuleBlockListTest::implementsAtRule()` (#1238)
JakeQZ Apr 9, 2025
b74cf2e
[TASK] Add and implement `CSSElement` interface (#1231)
JakeQZ Apr 9, 2025
f036005
[TASK] Add `assertInstanceOf` tests for `CSSListItem` (#1237)
JakeQZ Apr 9, 2025
0c94d6e
[CLEANUP] Remove `CSSBlockList::allDeclarationBlocks()` (#1239)
JakeQZ Apr 9, 2025
d9137fd
[TASK] Move `getAllValues()` to `CSSBlockList` (#1240)
JakeQZ Apr 10, 2025
0119435
[TASK] Deconflate `getAllValues()` parameters (#1241)
JakeQZ Apr 11, 2025
4429cc2
[TASK] Remove original `getAllValues()` API (#1243)
JakeQZ Apr 12, 2025
03ed64a
[TASK] Refactor `getAllValues()` (#1244)
JakeQZ Apr 13, 2025
a9874a9
[CLEANUP] `allSelectors()` -> `getAllSelectors()` (#1245)
JakeQZ Apr 14, 2025
9dbc6a6
[CLEANUP] Avoid negated non-Boolean in `RuleSet` (#1246)
JakeQZ Apr 14, 2025
3465f13
[TASK] Deprecate passing `Rule` to `RuleSet::getRules()` (#1248)
JakeQZ May 2, 2025
f6b5cd3
[Dependabot] Update phpunit/phpunit requirement from 8.5.41 to 8.5.42…
dependabot[bot] May 2, 2025
807a11b
[TASK] Add separate methods for `RuleSet::removeRule()`, with depreca…
JakeQZ May 4, 2025
c3905a7
[CLEANUP] Use `RuleSet::removeMatchingRules()` in tests (#1254)
JakeQZ May 6, 2025
9706931
[TASK] Drop allowing `Rule` to be passed to `RuleSet::getRules()` (#1…
JakeQZ May 6, 2025
bddb086
[TASK] Allow only `Rule` to be passed to `RuleSet::removeRule()` (#1255)
JakeQZ May 6, 2025
9e18840
[CLEANUP] Check for `Positionable` in `lineNumbersParsing()` test (#1…
JakeQZ May 10, 2025
8587712
[TASK] Add interface `RuleContainer` for `RuleSet` (#1256)
JakeQZ May 10, 2025
9ed1a4c
[TASK] Have `setPosition()` implement fluent interface (#1259)
JakeQZ May 22, 2025
042515c
[BUGFIX] Don't return objects from data providers (#1260)
JakeQZ May 23, 2025
9bc6622
[TASK] Add tests for `RuleSet::addRule()` without sibling argument (#…
JakeQZ May 23, 2025
6c565cf
[BUGFIX] Ensure column number set after `RuleSet::addRule()` (#1263)
JakeQZ May 27, 2025
be60456
[BUGFIX] Ensure valid position for first `Rule` added to `RuleSet` (#…
JakeQZ May 28, 2025
4012ec5
[BUGFIX] Set line number for `AddRule()` with only column number (#1265)
JakeQZ Jun 3, 2025
a2239e0
[TASK] Add tests for `addRule()` with a sibling (#1266)
JakeQZ Jun 3, 2025
a51fc82
[BUGFIX] Ensure non-negative column number in `RuleSet` (#1268)
JakeQZ Jun 3, 2025
afdca11
[CLEANUP] Extract method `RuleSet::comparePositionable` (#1272)
JakeQZ Jun 4, 2025
fdbb925
[BUGFIX] `AddRule` before sibling with different property name (#1270)
JakeQZ Jun 5, 2025
d13d953
[TASK] Add unit tests for `RuleSet::removeRule` (#1273)
JakeQZ Jun 10, 2025
601b706
[CLEANUP] Separate some test methods in `RuleSetTest` (#1274)
JakeQZ Jun 11, 2025
9841e9f
[DOCS] Switch to the new CoC email address (#1275)
oliverklee Jun 12, 2025
fec1489
[TASK] Add unit tests for `RuleSet::setRules` (#1276)
JakeQZ Jun 13, 2025
2433e6f
[TASK] Add unit tests for `RuleSet::getRules` (#1277)
JakeQZ Jun 13, 2025
2bbb89d
[TASK] Add tests for `RuleSet::getRules` with `$searchPattern` (#1278)
JakeQZ Jun 14, 2025
4f1fcf3
[TASK] Add unit tests for `RuleSet::getRulesAssoc` (#1279)
JakeQZ Jun 19, 2025
6a0c56d
[CLEANUP] Split data provider for search pattern (#1281)
JakeQZ Jun 19, 2025
b961840
[TASK] Add tests for `RuleSet::getRulesAssoc` with `$searchPattern` (…
JakeQZ Jun 21, 2025
b0ce7af
[CLEANUP] Streamline tests for `getRules` with matching pattern (#1282)
JakeQZ Jun 23, 2025
43a3735
[TASK] Update `RuleSet::addRule` to use `getLineNumber` (#1284)
JakeQZ Jun 24, 2025
4086767
[TASK] Update `RuleSet::comparePositionable` to use new methods (#1283)
JakeQZ Jun 24, 2025
2353f57
[TASK] Add tests for `getLineNumber` (#1286)
JakeQZ Jun 24, 2025
1dec641
[TASK] Use `getLineNumber` in `ParserTest` (#1285)
JakeQZ Jun 24, 2025
710dab9
[TASK] Remove `getColNo()` (#1287)
JakeQZ Jun 24, 2025
f9685bb
[TASK] Set line number to `null` by default (#1288)
JakeQZ Jun 26, 2025
6a6e319
[TASK] Remove `getLineNo()` (#1258)
JakeQZ Jun 26, 2025
1b6a957
[BUGFIX] Exclude absent line number from exception message (#1290)
JakeQZ Jun 26, 2025
ec1f6dd
[TASK] Add `RuleContainerTest` trait, use in `RuleSetTest` (#1291)
JakeQZ Jun 27, 2025
11e634c
[BUGFIX] Allow comma in selectors (#1293)
JakeQZ Jun 28, 2025
8e45197
[CLEANUP] Tidy up `DeclarationBlock::parse()` (#1294)
JakeQZ Jun 28, 2025
1dde3cb
[TASK] Add `assertInstanceOf` tests for `DeclarationBlock` (#1295)
JakeQZ Jun 29, 2025
1d8b855
[BUGFIX] Correct an exception message (#1296)
JakeQZ Jun 29, 2025
766238d
[CLEANUP] Avoid spaces before colons in the Mermaid code (#1300)
oliverklee Jun 30, 2025
1814dd7
[CLEANUP] Order class names in the class diagram alphabetically (#1299)
oliverklee Jun 30, 2025
67d3d39
[DOCS] Fix class list in class diagram (#1301)
oliverklee Jul 4, 2025
8260bba
[DOCS] Remove cardinalities from the class diagram (#1303)
oliverklee Jul 4, 2025
b95811f
[DOCS] Make the class diagram markers generator-friendly (#1302)
oliverklee Jul 4, 2025
63b22be
[DOCS] Change some arrow types in the class diagram (#1304)
oliverklee Jul 4, 2025
674cfa0
[DOCS] Label dependencies in the class diagram as such (#1305)
oliverklee Jul 4, 2025
e69e8ca
[DOCS] Temporarily drop some markers from the class diagram (#1307)
oliverklee Jul 7, 2025
f035185
[DOCS] Reorder some lines in the class diagram (part 1) (#1306)
oliverklee Jul 7, 2025
ab9fa7f
[DOCS] Reorder some lines in the class diagram (part 2) (#1308)
oliverklee Jul 7, 2025
d8f7d4a
[DOCS] Reorder some lines in the class diagram (part 3) (#1309)
oliverklee Jul 7, 2025
12567dc
[DOCS] Reorder some lines in the class diagram (part 4) (#1310)
oliverklee Jul 7, 2025
6a784a4
[DOCS] Reorder some lines in the class diagram (part 5) (#1311)
oliverklee Jul 7, 2025
d270c2c
[DOCS] Reorder some lines in the class diagram (part 6) (#1312)
oliverklee Jul 7, 2025
d250c86
[DOCS] Reorder some lines in the class diagram (part 7) (#1313)
oliverklee Jul 7, 2025
f6f529d
[DOCS] Reorder some lines in the class diagram (part 8) (#1314)
oliverklee Jul 7, 2025
348b395
[DOCS] Reorder some lines in the class diagram (part 9) (#1315)
oliverklee Jul 7, 2025
a155d04
[DOCS] Reorder some lines in the class diagram (part 10) (#1316)
oliverklee Jul 7, 2025
45ae185
[DOCS] Reorder some lines in the class diagram (part 11) (#1317)
oliverklee Jul 7, 2025
18152fb
[DOCS] Reorder some lines in the class diagram (part 12) (#1318)
oliverklee Jul 7, 2025
6dec68e
[DOCS] Reorder some lines in the class diagram (part 13) (#1319)
oliverklee Jul 7, 2025
7bfae2b
[CLEANUP] Use static variable for stop characters (#1321)
JakeQZ Jul 9, 2025
595a47b
[TASK] Add unit tests for selector parsing (#1322)
JakeQZ Jul 9, 2025
931c406
[BUGFIX] Allow comma in quoted string in selector (#1323)
JakeQZ Jul 10, 2025
d856c3a
[BUGFIX] Allow comma-separated arguments in selectors (#1292)
JakeQZ Jul 10, 2025
6a7d412
[TASK] Update the development tools (#786)
oliverklee Jul 11, 2025
9aef254
[DOCS] Integrate the 8.9.0 changelog into main changelog (#1329)
oliverklee Jul 11, 2025
b6b8ecf
[TASK] Raise PHPStan to level 4 (#1201)
oliverklee Jul 11, 2025
d0b3e9c
[TASK] Use strict equality (#1331)
JakeQZ Jul 14, 2025
7f80a2c
[TASK] Make Boolean tests explicit (#1332)
JakeQZ Jul 14, 2025
e5e24f7
[CLEANUP] Remove superfluous Rector rule (#1333)
JakeQZ Jul 14, 2025
e57a7ba
[TASK] Add tests for `removeDeclarationBlockBySelector()` (#1335)
JakeQZ Jul 15, 2025
6039270
[CLEANUP] Avoid use of short-ternary operator (#1336)
JakeQZ Jul 16, 2025
9cc6f73
[CLEANUP] Remove impossible conditional (#1337)
JakeQZ Jul 16, 2025
cad75d7
[BUGFIX] Correct DocBlock for `ParserState::consumeUntil()` (#1338)
JakeQZ Jul 17, 2025
8c4a77e
[BUGFIX] Provide the authentication token for PHIVE on CI (#1340)
oliverklee Jul 18, 2025
af6d8c0
[TASK] Make `RuleSet` concrete (#1341)
JakeQZ Jul 21, 2025
3d72bbc
[CLEANUP] Update `RuleSet` DocBlock (#1343)
JakeQZ Jul 21, 2025
aed922c
[CLEANUP] Reorder `use`s in `DeclarationBlockTest` (#1344)
JakeQZ Jul 21, 2025
459dd28
[BUGFIX] Remove trailing semicolon with compact format (#1345)
JakeQZ Jul 21, 2025
bb3d342
[CLEANUP] Use `getAllDeclarationBlocks` in `colorParsing` test (#1346)
JakeQZ Jul 21, 2025
ac31718
[TASK] Add tests for `RuleSet` constructor (#1348)
JakeQZ Jul 24, 2025
c5bce4c
[BUGFIX] Correct an `assert` added in #1348 (#1349)
JakeQZ Jul 24, 2025
41c9edf
[TASK] Add tests for `DeclarationBlock` constructor (#1350)
JakeQZ Jul 24, 2025
b2028eb
[TASK] Test `RuleSet` constructor with `null` explicitly passed (#1351)
JakeQZ Jul 24, 2025
3b6055f
[BUGFIX] Update class diagram to show `RuleSet` as concrete (#1352)
JakeQZ Jul 25, 2025
c1e0ef7
[TASK] Use delegation for `DeclarationBlock` -> `RuleSet` (#1194)
JakeQZ Jul 25, 2025
7413819
[TASK] Update the development tools (#1334)
oliverklee Jul 26, 2025
75fdfb5
[TASK] Prepare release of version 9.0.0 (#1328)
oliverklee Jul 26, 2025
54574e3
[DOCS] Correct `}` to `)` in changelog (#1354)
JakeQZ Jul 27, 2025
c32ebc6
[TASK] Raise PHPStan to level 5 (#1356)
oliverklee Jul 28, 2025
33db9f7
[CLEANUP] Ignore warnings for explicitly invalid values in tests (#1358)
oliverklee Jul 29, 2025
99fcc08
[Dependabot] Update phpunit/phpunit requirement from 8.5.42 to 8.5.43…
dependabot[bot] Aug 11, 2025
31c925f
[Dependabot] Bump actions/checkout from 4 to 5 (#1361)
dependabot[bot] Aug 12, 2025
b4b5272
[Dependabot] Update phpunit/phpunit requirement from 8.5.43 to 8.5.44…
dependabot[bot] Aug 21, 2025
5c23dc7
[TASK] Raise PHPStan to level 6 (#1364)
oliverklee Aug 21, 2025
25877ed
[TASK] Add `thecodingmachine/safe` (#1453) (#1366)
oliverklee Aug 21, 2025
64f524d
[BUGFIX] Use the safe `file_get_contents` in `quickdump.php` (#1367)
oliverklee Aug 21, 2025
276dd01
[BUGFIX] Use the safe regexp functions in `CSSList` (#1368)
oliverklee Aug 22, 2025
1e3c2a0
[CLEANUP] Avoid Hungarian notation in `quickdump.php` (#1369)
oliverklee Aug 22, 2025
995442b
[BUGFIX] Use the safe regexp functions in `ParserState` (#1370)
oliverklee Aug 23, 2025
8263604
[BUGFIX] Improve selector validation performance (#1372)
JakeQZ Aug 25, 2025
a72e71e
[BUGFIX] Use the safe regexp functions in `Selector` (#1371)
oliverklee Aug 25, 2025
dbddfc3
[BUGFIX] Use safe `file_get_contents` in `LenientParsingTest` (#1373)
oliverklee Aug 25, 2025
6bdbc43
[Dependabot] Update phpunit/phpunit requirement from 8.5.44 to 8.5.45…
dependabot[bot] Sep 11, 2025
2212ada
[TASK] Update the development tools (#1353)
oliverklee Sep 12, 2025
3b723d8
[FEATURE] Add support for PHP 8.5 (#1355)
oliverklee Sep 12, 2025
a727341
[TASK] Prepare release of version 9.1.0 (#1376)
oliverklee Sep 13, 2025
1b363fd
[Dependabot] Update phpunit/phpunit requirement from 8.5.45 to 8.5.46…
dependabot[bot] Sep 14, 2025
629d380
[BUGFIX] Use safe file functions in `ParserTest` (#1378)
oliverklee Sep 14, 2025
c1929d4
[BUGFIX] Use safe preg functions in `Value` (#1379)
oliverklee Sep 15, 2025
9ad776b
[BUGFIX] Use safe preg functions in `Size` (#1380)
oliverklee Sep 16, 2025
6bfa357
[BUGFIX] Use safe preg functions in `CSSString` (#1382)
oliverklee Sep 19, 2025
3bc7e7f
[BUGFIX] Use safe preg functions in `Rule` (#1383)
oliverklee Sep 19, 2025
e788f3e
[BUGFIX] Use safe preg functions in `SpecificityCalculator` (#1384)
oliverklee Sep 19, 2025
9516df1
[TASK] Add PHPStan rules for Safe-PHP (#1385)
oliverklee Sep 19, 2025
aa54150
[Dependabot] Update phpunit/phpunit requirement from 8.5.46 to 8.5.47…
dependabot[bot] Sep 23, 2025
92432ab
[Dependabot] Update phpunit/phpunit requirement from 8.5.47 to 8.5.48…
dependabot[bot] Sep 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
/.gitignore export-ignore
/.phive/ export-ignore
/CODE_OF_CONDUCT.md export-ignore
/CONTRIBUTING.md export-ignore
/bin/ export-ignore
/config/ export-ignore
/docs/ export-ignore
/phpunit.xml export-ignore
/tests/ export-ignore
12 changes: 0 additions & 12 deletions .github/CONTRIBUTING.md

This file was deleted.

13 changes: 13 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,24 @@ updates:
directory: "/"
schedule:
interval: "daily"
commit-message:
prefix: "[Dependabot] "
milestone: 10

- package-ecosystem: "composer"
directory: "/"
schedule:
interval: "daily"
allow:
- dependency-type: "development"
ignore:
- dependency-name: "phpstan/*"
- dependency-name: "phpunit/phpunit"
versions: [ ">= 9.0.0" ]
- dependency-name: "rector/rector"
- dependency-name: "thecodingmachine/safe"
- dependency-name: "thecodingmachine/phpstan-safe-rule"
versioning-strategy: "increase"
commit-message:
prefix: "[Dependabot] "
milestone: 10
23 changes: 13 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
php-version: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3' ]
php-version: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5' ]

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Install PHP
uses: shivammathur/setup-php@v2
Expand Down Expand Up @@ -59,11 +59,11 @@ jobs:
strategy:
fail-fast: false
matrix:
php-version: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3' ]
php-version: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5' ]

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Install PHP
uses: shivammathur/setup-php@v2
Expand Down Expand Up @@ -103,15 +103,16 @@ jobs:
fail-fast: false
matrix:
command:
- fixer
- stan
- rector
- composer:normalize
- php:fixer
- php:stan
- php:rector
php-version:
- '8.3'

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Install PHP
uses: shivammathur/setup-php@v2
Expand All @@ -138,8 +139,10 @@ jobs:
composer show;

- name: Install development tools
env:
GITHUB_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
phive --no-progress install --trust-gpg-keys BBAB5DF0A0D6672989CF1869E82B2FB314E9906E
phive --no-progress install --trust-gpg-keys 0FDE18AE1D09E19F60F6B1CBC00543248C87FB13,BBAB5DF0A0D6672989CF1869E82B2FB314E9906E

- name: Run Command
run: composer ci:php:${{ matrix.command }}
run: composer ci:${{ matrix.command }}
23 changes: 15 additions & 8 deletions .github/workflows/codecoverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,14 @@ jobs:
runs-on: ubuntu-22.04

strategy:
fail-fast: false
matrix:
php-version: [ '7.4' ]
php-version:
- '7.4'

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Install PHP
uses: shivammathur/setup-php@v2
Expand All @@ -30,6 +32,9 @@ jobs:
tools: composer:v2
coverage: xdebug

- name: Show the Composer version
run: composer --version

- name: Show the Composer configuration
run: composer config --global --list

Expand All @@ -47,11 +52,13 @@ jobs:
composer show;

- name: Run Tests
run: ./vendor/bin/phpunit --coverage-clover build/coverage/xml
run: composer ci:tests:coverage

- name: Show generated coverage files
run: ls -lah

- name: Upload coverage results to Codacy
- name: Upload coverage results to Coveralls
uses: coverallsapp/github-action@v2
env:
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
if: "${{ env.CODACY_PROJECT_TOKEN != '' }}"
run: |
./vendor/bin/codacycoverage clover build/coverage/xml
github-token: ${{ secrets.GITHUB_TOKEN }}
file: coverage.xml
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
/.php_cs.cache
/.phpunit.result.cache
/composer.lock
/coverage.xml
/phpstan.neon
/vendor/
!/.phive/phars.xml
3 changes: 2 additions & 1 deletion .phive/phars.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<phive xmlns="https://phar.io/phive">
<phar name="php-cs-fixer" version="^3.59.3" installed="3.59.3" location="./.phive/php-cs-fixer" copy="false"/>
<phar name="composer-normalize" version="^2.44.0" installed="2.48.2" location="./.phive/composer-normalize" copy="false"/>
<phar name="php-cs-fixer" version="^3.59.3" installed="3.87.2" location="./.phive/php-cs-fixer" copy="false"/>
</phive>
Loading