Skip to content

Commit 0ff257d

Browse files
committed
Update AGENTS.md to reflect legacy driver removal
Remove the "New and old driver" section and update the commands section to remove legacy driver test commands.
1 parent 21826d5 commit 0ff257d

1 file changed

Lines changed: 1 addition & 12 deletions

File tree

AGENTS.md

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,6 @@ The codebase is pure PHP with zero dependencies. It supports PHP 7.2 through 8.5
2828
MySQL syntax from version 5.7 onward, and requires SQLite 3.37.0 or newer
2929
(with legacy mode down to 3.27.0).
3030

31-
### New and old driver
32-
At the moment, the project includes two MySQL-on-SQLite driver implementations:
33-
1. A new, AST-based MySQL-on-SQLite driver (`class-wp-pdo-mysql-on-sqlite.php`).
34-
2. A legacy, token-based MySQL-to-SQLite translator (`class-wp-sqlite-translator.php`).
35-
36-
This state is temporary. The new driver will fully replace the legacy one. New features
37-
must always be implemented in the new driver. The legacy driver can receive small fixes.
38-
The new driver is under a `WP_SQLITE_AST_DRIVER` feature flag, but it is widely used.
3931

4032
## Commands
4133
The codebase is written in PHP and Composer is used to manage the project.
@@ -54,10 +46,7 @@ composer run test # Run unit tests
5446
composer run test tests/SomeTest.php # Run specific unit test file
5547
composer run test -- --filter testName # Run specific unit test class/method
5648

57-
# SQLite Database Integration plugin tests
58-
composer run test # Run unit tests
59-
composer run test tests/SomeTest.php # Run specific unit test file
60-
composer run test -- --filter testName # Run specific unit test class/method
49+
# SQLite Database Integration plugin E2E tests
6150
composer run test-e2e # Run E2E tests (Playwright via WP env)
6251

6352
# WordPress tests

0 commit comments

Comments
 (0)