Skip to content

Commit 9263d77

Browse files
committed
Update docs to reflect legacy driver removal
- Remove the "New and old driver" section from AGENTS.md - Remove stale plugin test commands from README.md (the root-level "composer run test" was removed along with the legacy driver) - Remove PHPMyAdmin attribution from readme.txt (the PHPMyAdmin/sql-parser code was only used by the deleted legacy lexer)
1 parent 1bc31c3 commit 9263d77

3 files changed

Lines changed: 2 additions & 19 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

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,7 @@ composer run test # Run unit tests
4343
composer run test tests/SomeTest.php # Run specific unit test file
4444
composer run test -- --filter testName # Run specific unit test class/method
4545

46-
# SQLite Database Integration plugin tests
47-
composer run test # Run unit tests
48-
composer run test tests/SomeTest.php # Run specific unit test file
49-
composer run test -- --filter testName # Run specific unit test class/method
46+
# SQLite Database Integration plugin E2E tests
5047
composer run test-e2e # Run E2E tests (Playwright via WP env)
5148

5249
# WordPress tests

packages/plugin-sqlite-database-integration/readme.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ SQLite integration plugin by the WordPress Team.
1515

1616
The SQLite plugin is a community, feature plugin. The intent is to allow testing an SQLite integration with WordPress and gather feedback, with the goal of eventually landing it in WordPress core.
1717

18-
This feature plugin includes code from the PHPMyAdmin project (specifically parts of the PHPMyAdmin/sql-parser library), licensed under the GPL v2 or later. More info on the PHPMyAdmin/sql-parser library can be found on [GitHub](https://github.com/phpmyadmin/sql-parser).
19-
2018
== Frequently Asked Questions ==
2119

2220
= What is the purpose of this plugin? =

0 commit comments

Comments
 (0)