Skip to content

Commit 94d546b

Browse files
committed
chore: add system/Test/ControllerResponse.php to skip list
It caused an error. Warning: Undefined array key 1852 in /home/runner/work/CodeIgniter4/CodeIgniter4/vendor/rector/rector/vendor/nikic/php-parser/lib/PhpParser/Internal/TokenStream.php on line 209 Error: ] Could not process "/home/runner/work/CodeIgniter4/CodeIgniter4/system/Test/ControllerResp onse.php" file, due to: "System error: "PhpParser\Internal\TokenStream::getIndentationBefore(): Return value must be of type int, null returned" Run Rector with "--debug" option and post the report here: https://github.com/rectorphp/rector/issues/new". On line: 209 Error: Process completed with exit code 1.
1 parent d669efa commit 94d546b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rector.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@
7373
// is there a file you need to skip?
7474
$rectorConfig->skip([
7575
__DIR__ . '/system/Debug/Toolbar/Views/toolbar.tpl.php',
76+
__DIR__ . '/system/Test/ControllerResponse.php',
7677
__DIR__ . '/system/ThirdParty',
7778
__DIR__ . '/tests/system/Config/fixtures',
7879
__DIR__ . '/tests/system/Filters/fixtures',

0 commit comments

Comments
 (0)