Skip to content

Commit

Permalink
Update rector rules (#308)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tigrov authored Oct 16, 2023
1 parent 1f5fa3f commit d48ca3a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
7 changes: 6 additions & 1 deletion rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions tests/QueryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ public function testWithQuery()
) {
self::markTestSkipped('CTE not supported in MySQL versions below 8.0.0');
}

parent::testWithQuery();
}

public function testWithQueryRecursive()
Expand All @@ -104,5 +106,7 @@ public function testWithQueryRecursive()
) {
self::markTestSkipped('CTE not supported in MySQL versions below 8.0.0');
}

parent::testWithQueryRecursive();
}
}

0 comments on commit d48ca3a

Please sign in to comment.