Skip to content

Commit

Permalink
Update rector rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Tigrov committed Oct 14, 2023
1 parent 1f5fa3f commit 73073bc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
use Rector\Config\RectorConfig;
use Rector\Php74\Rector\Closure\ClosureToArrowFunctionRector;
use Rector\Set\ValueObject\LevelSetList;
use Yiisoft\Db\Mysql\Tests\QueryTest;

return static function (RectorConfig $rectorConfig): void {
$rectorConfig->paths([
Expand All @@ -23,5 +24,6 @@

$rectorConfig->skip([
ClosureToArrowFunctionRector::class,
QueryTest::class,
]);
};
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 73073bc

Please sign in to comment.