Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update rector rules #308

Merged
merged 27 commits into from
Oct 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
73073bc
Update rector rules
Tigrov Oct 14, 2023
2d931f0
Apply Rector changes (CI)
Tigrov Oct 14, 2023
b40f9d9
Revert "Apply Rector changes (CI)"
Tigrov Oct 14, 2023
df9fa00
run: composer update --with yiisoft/db:dev-master
Tigrov Oct 14, 2023
a0714f0
Apply fixes from StyleCI
StyleCIBot Oct 14, 2023
a62e508
Apply Rector changes (CI)
Tigrov Oct 14, 2023
826b70a
run: composer update --with yiisoft/db:dev-master
Tigrov Oct 14, 2023
9073c79
Merge remote-tracking branch 'origin/fix_rector' into fix_rector
Tigrov Oct 14, 2023
45323f8
Revert "Apply Rector changes (CI)"
Tigrov Oct 14, 2023
abe98ea
Apply Rector changes (CI)
Tigrov Oct 14, 2023
35935eb
Revert "Apply Rector changes (CI)"
Tigrov Oct 14, 2023
ccf9e2a
Revert "run: composer update --with yiisoft/db:dev-master"
Tigrov Oct 14, 2023
14c56a0
Revert "run: composer update --with yiisoft/db:dev-master"
Tigrov Oct 14, 2023
d3063f3
run: composer update --with yiisoft/db:dev-master
Tigrov Oct 14, 2023
f100f91
Apply Rector changes (CI)
Tigrov Oct 14, 2023
9c32879
composer require yiisoft/db:dev-master
Tigrov Oct 14, 2023
15b8baa
Merge remote-tracking branch 'origin/fix_rector' into fix_rector
Tigrov Oct 14, 2023
0297392
Revert "Apply Rector changes (CI)"
Tigrov Oct 14, 2023
f8b1a65
Apply Rector changes (CI)
Tigrov Oct 14, 2023
af0876f
Revert "Apply Rector changes (CI)"
Tigrov Oct 14, 2023
bc63740
composer require yiisoft/db:dev-master
Tigrov Oct 14, 2023
9e6370e
Apply Rector changes (CI)
Tigrov Oct 14, 2023
ac3ffdb
Revert "Apply Rector changes (CI)"
Tigrov Oct 15, 2023
abe8e46
composer require --dev yiisoft/db:dev-master
Tigrov Oct 15, 2023
03b6c24
Apply Rector changes (CI)
Tigrov Oct 15, 2023
60ba90a
Revert "Apply Rector changes (CI)"
Tigrov Oct 15, 2023
466b287
Disable ./tests directory
Tigrov Oct 15, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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();
}
}