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

Upgrade Rector and fix new issues #1961

Merged
merged 3 commits into from May 14, 2024
Merged

Upgrade Rector and fix new issues #1961

merged 3 commits into from May 14, 2024

Conversation

maks-rafalko
Copy link
Member

No description provided.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Could you please add tests to make sure this change works as expected?

@@ -46,10 +45,6 @@
*/
final class CoveredTraceProvider implements TraceProvider
{
/**
* @param PhpUnitXmlCoverageTraceProvider|TraceProvider $primaryTraceProvider
* @param BufferedSourceFileFilter|FileFilter $bufferedFilter
Copy link
Member

Choose a reason for hiding this comment

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

This is unfortunate because without this doc comment one can no longer jump into the implementation with a single click.

Copy link
Member Author

Choose a reason for hiding this comment

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

ok, reverted. Reported rectorphp/rector#8633

let's see if this is a bug or if there are any arguments supporting this behavior

@maks-rafalko maks-rafalko requested a review from sanmai May 13, 2024 16:12
@maks-rafalko
Copy link
Member Author

Ok, this is a bug from Rector, I will merge with the exclusion and later we will remove the code added in this PR.

However, please read the issue, these phpdocs will be removed with another set in Rector - deadCode: https://getrector.com/demo/3c272224-96a4-4e16-8414-6d01bff60d65

@maks-rafalko maks-rafalko enabled auto-merge (squash) May 14, 2024 08:22
@maks-rafalko maks-rafalko merged commit df56e28 into master May 14, 2024
55 checks passed
@maks-rafalko maks-rafalko deleted the feature/new-rector branch May 14, 2024 08:22
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.

None yet

2 participants