You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,20 @@ All notable changes to this project will be documented in this file.
4
4
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
7
+
## [2.1.0] - 2026-05-08
8
+
9
+
### Added
10
+
11
+
-**Unbalanced HTML tags check** in `BaseRules` (`src/Compliance/Rules/BaseRules.php`) — Detects unbalanced HTML tags (`<div>`, `<ul>`, `<ol>`, `<li>`, `<figure>`, `<figcaption>`, `<section>`, `<article>`, `<header>`, `<footer>`, `<nav>`, `<aside>`, `<main>`, `<p>`) in pattern files. Reports violations with opening/closing tag counts to help authors identify mismatches. Addresses issue #2 where missing `</div>` tags caused DOM nesting issues but went undetected by both pt-cli and `wp pattern validate`.
12
+
-**PHPUnit test suite** (`tests/`) — First test suite for the project with comprehensive tests for the unbalanced HTML tags rule:
13
+
-`tests/bootstrap.php` — Test bootstrap file
14
+
-`tests/Compliance/Rules/BaseRulesTest.php` — Tests for BaseRules including unbalanced HTML tags detection
15
+
16
+
### Changed
17
+
18
+
-`.gitignore` — Added `.phpunit.cache/` directory
19
+
-`README.md` — Added "Balanced HTML tags" rule to the Base rules table
0 commit comments