Skip to content

Commit 636eeeb

Browse files
committed
fix(ci): remove rector from ci, until all migration be completed
1 parent 77c240d commit 636eeeb

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

app/utils/Text.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public static function slugify(string $text): string {
4040
* @param string $section_file_path [description]
4141
* @return string
4242
*/
43-
public static function generateAndConvertHeaderListFromHtml(string $markdown_html, array &$heading_data = [], $heading_tag = 'h1', string $section_file_path): string {
43+
public static function generateAndConvertHeaderListFromHtml(string $markdown_html, array &$heading_data = [], $heading_tag = 'h1', string $section_file_path = ''): string {
4444
$markdown_html = preg_replace_callback('/(\<' . $heading_tag . '(.*?))\>(.*)(<\/' . $heading_tag . '>)/i', function ($matches) use (&$heading_data, $section_file_path) {
4545
if (! stripos($matches[0], 'id=')) {
4646
$title = strip_tags($matches[3]);

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@
4545
"ci": [
4646
"composer check-platform-reqs --no-ansi",
4747
"phpunit --colors=never --no-progress",
48-
"phpstan --no-progress --no-ansi",
49-
"rector --dry-run --no-progress-bar --no-ansi"
48+
"phpstan --no-progress --no-ansi"
5049
],
5150
"serve": [
5251
"Composer\\Config::disableProcessTimeout",

rector.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@
1111
])
1212
->withSkipPath(__DIR__ . '/vendor')
1313
->withSkipPath(__DIR__ . '/app/cache')
14-
->withSkipPath(__DIR__ . '/config/config.php')
14+
->withSkipPath(__DIR__ . '/app/config/config.php')
1515
->withSkipPath(__DIR__ . '/app/views')
1616
->withPhpSets(php82: true)
17-
->withPhpLevel(0)
1817
->withDeadCodeLevel(0)
1918
->withCodeQualityLevel(0)
2019
->withCodingStyleLevel(0)

0 commit comments

Comments
 (0)