Skip to content

Conversation

@TomasVotruba
Copy link
Member

No description provided.

@TomasVotruba TomasVotruba force-pushed the tv-return-method-type branch 3 times, most recently from 385469f to 1cc7895 Compare September 1, 2025 14:55
@TomasVotruba TomasVotruba enabled auto-merge (squash) September 1, 2025 14:55
@TomasVotruba
Copy link
Member Author

Rector is failing because of different config locations. I'll add dummy set list to have them in relative paths

@samsonasik
Copy link
Member

The config is fine, just 'rector-src/vendoris not exists inrector-phpunit, use is_dir(DIR . '/../../vendor)` check should work, I will create PR for it.

@TomasVotruba
Copy link
Member Author

@samsonasik No need to check magic paths, better use this way rectorphp/rector-symfony#837

Co-authored-by: Abdul Malik Ikhsan <samsonasik@gmail.com>
Comment on lines +100 to +102
if (! $this->haveAllReturnsExpr($classMethod)) {
continue;
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this can be removed.

Suggested change
if (! $this->haveAllReturnsExpr($classMethod)) {
continue;
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see #529

@TomasVotruba TomasVotruba merged commit 2a7e3ec into main Sep 1, 2025
6 checks passed
@TomasVotruba TomasVotruba deleted the tv-return-method-type branch September 1, 2025 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants