Skip to content

Commit 873cbc2

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 4b36a1c commit 873cbc2

1 file changed

Lines changed: 1 addition & 13 deletions

File tree

AGENTS.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +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.
39-
4031
## Commands
4132
The codebase is written in PHP and Composer is used to manage the project.
4233
The following commands are useful for development and testing:
@@ -54,10 +45,7 @@ composer run test # Run unit tests
5445
composer run test tests/SomeTest.php # Run specific unit test file
5546
composer run test -- --filter testName # Run specific unit test class/method
5647

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
48+
# SQLite Database Integration plugin E2E tests
6149
composer run test-e2e # Run E2E tests (Playwright via WP env)
6250

6351
# WordPress tests

0 commit comments

Comments
 (0)