Skip to content

skip all but vars #69

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

Merged
merged 1 commit into from
May 13, 2025
Merged

skip all but vars #69

merged 1 commit into from
May 13, 2025

Conversation

TomasVotruba
Copy link
Member

No description provided.

@TomasVotruba TomasVotruba enabled auto-merge (squash) May 13, 2025 13:07
@TomasVotruba TomasVotruba merged commit 5734157 into main May 13, 2025
6 checks passed
@TomasVotruba TomasVotruba deleted the tv-skip-params branch May 13, 2025 13:07
@@ -73,6 +73,10 @@ public function fix(SplFileInfo $fileInfo, Tokens $tokens): void

$docblockLines = explode("\n", $originalDocContent);
foreach ($docblockLines as $key => $docblockLine) {
if (! str_contains($docblockLine, '@var')) {
Copy link
Contributor

Choose a reason for hiding this comment

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

might also be worth supporting phpstan-var and psalm-var

Copy link
Member Author

Choose a reason for hiding this comment

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

That would be welcomed 👍

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.

2 participants