Skip to content

Conversation

@adamziel
Copy link
Collaborator

The last few commits in #9 broke the unit tests. This PR gets them to work again and adds a phpunit.xml.dist file for convenience:

php ./vendor/bin/phpunit -c ./phpunit.xml.dist                                       1 ↵
PHPUnit 9.6.3 by Sebastian Bergmann and contributors.

.....................................S.................S..I...... 65 / 75 ( 86%)
..........                                                        75 / 75 (100%)

Time: 00:00.533, Memory: 10.00 MB

*/
class WP_SQLite_Translator extends PDO {

class WP_SQLite_Translator {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change solves some deprecation errors thrown by PHP.

@adamziel adamziel mentioned this pull request Feb 25, 2023
@aristath aristath merged commit 22d4481 into main Feb 28, 2023
@aristath aristath deleted the sqlite-translator/use-transactions branch February 28, 2023 12:05
@batonac batonac mentioned this pull request Jul 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants