From d48ca3a6ad83abf6ed97e146185c76c5ce2e55ab Mon Sep 17 00:00:00 2001 From: Sergei Tigrov Date: Mon, 16 Oct 2023 17:34:14 +0700 Subject: [PATCH] Update rector rules (#308) --- rector.php | 7 ++++++- tests/QueryTest.php | 4 ++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/rector.php b/rector.php index f55daaed..6d9558aa 100644 --- a/rector.php +++ b/rector.php @@ -10,7 +10,12 @@ return static function (RectorConfig $rectorConfig): void { $rectorConfig->paths([ __DIR__ . '/src', - __DIR__ . '/tests', + /** + * Disabled ./tests directory due to PR #307 + * + * @link https://github.com/yiisoft/db-mysql/commit/a434897691304378edfd787ecee8ad80338aa200 + */ + // __DIR__ . '/tests', ]); // register a single rule diff --git a/tests/QueryTest.php b/tests/QueryTest.php index c8e56f8b..83645f2a 100644 --- a/tests/QueryTest.php +++ b/tests/QueryTest.php @@ -92,6 +92,8 @@ public function testWithQuery() ) { self::markTestSkipped('CTE not supported in MySQL versions below 8.0.0'); } + + parent::testWithQuery(); } public function testWithQueryRecursive() @@ -104,5 +106,7 @@ public function testWithQueryRecursive() ) { self::markTestSkipped('CTE not supported in MySQL versions below 8.0.0'); } + + parent::testWithQueryRecursive(); } }