Skip to content

Add missing @phpstan- prefixed tags #2177

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
Jan 12, 2023
Merged

Add missing @phpstan- prefixed tags #2177

merged 1 commit into from
Jan 12, 2023

Conversation

zonuexe
Copy link
Contributor

@zonuexe zonuexe commented Jan 12, 2023

@@ -23,11 +23,11 @@ class InvalidPHPStanDocTagRule implements Rule
'@phpstan-param',
'@phpstan-param-out',
'@phpstan-var',
'@phpstan-template',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

duplicated

@@ -33,6 +33,7 @@ public function testRule(): void
14,
],
]);
$this->analyse([__DIR__ . '/data/bug-8697.php'], []);
Copy link
Member

Choose a reason for hiding this comment

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

Please test it in a separate method. So that we always see all the failures.

@ondrejmirtes
Copy link
Member

And FYI if you want this to be released much sooner, please base it on top of 1.9.x :)

@zonuexe zonuexe changed the base branch from 1.10.x to 1.9.x January 12, 2023 13:51
@ondrejmirtes ondrejmirtes merged commit 446ead7 into phpstan:1.9.x Jan 12, 2023
@ondrejmirtes
Copy link
Member

Thank you.

@zonuexe zonuexe deleted the fix/phpstan-prefixed-phpdoc branch January 12, 2023 13:54
@ondrejmirtes
Copy link
Member

How sooner? This sooner :D https://github.com/phpstan/phpstan/releases/tag/1.9.11

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.

Some implemented tags are warned as Unknown
2 participants