Skip to content

Commit e3926fc

Browse files
committed
Apply the PDO lint exemption through the plugin symlink
The plugin exposes MySQL on SQLite through a symlink. Apply the existing driver exemption there as well, since this code implements the database layer and cannot use wpdb.
1 parent b5dc0cc commit e3926fc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎phpcs.xml.dist‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262

6363
<rule ref="WordPress.DB.RestrictedClasses.mysql__PDO">
6464
<exclude-pattern>/packages/mysql-on-sqlite/src/sqlite/*\.php</exclude-pattern>
65+
<exclude-pattern>/packages/plugin-sqlite-database-integration/wp-includes/database/sqlite/*\.php</exclude-pattern>
6566
<exclude-pattern>/tests/*</exclude-pattern>
6667
</rule>
6768

0 commit comments

Comments
 (0)