Abdul Malik Ikhsan

Results 372 comments of Abdul Malik Ikhsan

That's seems expected, the `Bar` was non-namespaced, so keep as non-namespaced during migration of namespace to avoid invalid assumption, eg: using `stdClass` changed to `\Test\stdClass`. You may need to use...

I tried that, the `\Test\Bar` is not exists yet in autoload during migration, so it will be an assumption for `Bar` is in inner namespace or existing migrated class, eg,...

I think the solution is to add configurable , eg `$migrateInnerClassReference` which default to false so it can be enabled when needed.

I am trying create PR https://github.com/rectorphp/rector-src/pull/2480 for it.

is increasing timeout seconds help? ```php $rectorConfig->parallel(240); ``` or is disable parallel make it working? ```php $rectorConfig->disableParallel(); ```

@rafaelbernard awesome! That's will be worth mentioning it in the documentation, could you try create PR for documenting how to troubleshoot it? You can create PR to https://github.com/rectorphp/rector-src/tree/main/build/target-repository/docs Thank you.

That's seems not rector issue, but your `vendor/phpunit`. Looking at latest phpunit, it seems already return `int`: https://github.com/sebastianbergmann/phpunit/blob/0cab10bdc4e44dbc65b0061230519f7255a61454/src/Framework/TestCase.php#L375 You may need to use latest phpunit. If the issue persist, please...

I guess you're on windows, it probably due to line ending issue ref https://github.com/nikic/PHP-Parser/issues/599

I can't reproduce in macOS, so I guess you're on Linux, right? If the issue is line ending, it probably needs converting first..., this stackoverflow probably can do this https://askubuntu.com/questions/803162/how-to-change-windows-line-ending-to-unix-version

@acrobat this maybe similar issue with issue that you resolve on PR - https://github.com/rectorphp/rector-src/pull/2699 Could you verify it and possible provide a patch for it? Thank you.