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

Should orphaned psalm tags should be discovered by the -- findUnusedCode option? #3562

Closed
githoober opened this issue Jun 11, 2020 · 3 comments

Comments

@githoober
Copy link

githoober commented Jun 11, 2020

https://psalm.dev/r/bf0713b780

I cannot find anything that would allow me to see these orphaned tags. In my project, surprisingly, they were found by PHPStan checks.

@psalm-github-bot
Copy link

psalm-github-bot bot commented Jun 11, 2020

I found these snippets:

https://psalm.dev/r/bf0713b780
<?php

/**
 * @psalm-param string $type
 *
 * @return array<string>
 */
function test() : array
{
    return  ['test'];
}
Psalm output (using commit 07c7c30):

No issues!

@AndrolGenhald
Copy link
Collaborator

Duplicate of #3166.

@AndrolGenhald AndrolGenhald closed this as not planned Won't fix, can't repro, duplicate, stale Jun 26, 2022
@weirdan
Copy link
Collaborator

weirdan commented Feb 16, 2023

Fixed in #9314

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants