Phpinspectionsea: Double tool-tip shown

Created on 10 Mar 2017  Â·  19Comments  Â·  Source: kalessil/phpinspectionsea

spectacle j29977

  • can't find another inspection active for the same issue
  • disabling it in EA will give no tooltip at all
3rd party

All 19 comments

Thank toy for reporting @drAlberT!

Most probably you have both inspections enabled:

  • Too many parameters in function declaration (from JetBrains);
  • Too many parameters is a callable (from us);

One of them needs to be deactivated.

Background: in a while, PhpStorm added some new inspections duplicated by Php Inspections (EA Extended) now.

PS: closing the issue, please reopen if my suggestion didn't help.

@kalessil Is not possible to detect current PS version then disable it automatically? It's need if you are using the EA in differents compatible versions of PS (else, you will can update anymore for older versions). Then mark it as deprecated and drop support after 1 year, for instance (except if you implementation is better than PS).

@rentalhost this specific inspection is an exception: it enabled by default and declares threshold 3 instead of 5 in the PSs' default one. Means we have to keep this one.

Other duplicates has been dropped already.

Sorry, but it is not the case. As said there is no other related inspection enabled .. moreover disabling the one by EA make ANY tooltip disappear

Reopening then =) Which PhpStorm/Idea version do you use?

Last stable, I have auto updates enabled

Sorry I can't be much specific cause I'm attending a conference and not
being at the PC .. if you need more specific info I'll give you tomorrow :)

On Thursday, March 16, 2017, Vladimir Reznichenko notifications@github.com
wrote:

Reopening then =) Which PhpStorm/Idea version do you use?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kalessil/phpinspectionsea/issues/181#issuecomment-287001597,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABYDjI-n56auYE6tpiLp3jDwMLqg-hliks5rmQBUgaJpZM4MZWvm
.

--
Emiliano Gabrielli

I confirm the bug .. the version of PS is 2016.3.1 .. I'm upgrading now to 2016.3.3 .. will close the issue if fixed otherwise will leave opened
screenshot_20170316_204049

I confirm it is on 2016.3.3 too .. BUT even in the following configuration!
screenshot_20170317_133830

There is something in the core?

That's weird, what will happen if you try suppressing the warnings (which noinspection tags will be added)?

You mean in the code? .. no it shouldn't .. Never used such tags

Update: disabled every custom plugin, EA too ... the issue is still there!

I mean this:
image

looking for the entire project (grep -irn) for 'noinspection' gives no result .. that should assure I am not using them? On the countrary how can I find such a tag I'm not aware of? Thanks

Sorry .. I misunderstood your request .. wait :)

/** @noinspection PhpTooManyParametersInspection */

Then it needs to be reported to JetBrains as PhpTooManyParametersInspection is from them, can you do so, please?

OK, thanks for your time :)

No problems, glad to help )

Just for reference: https://youtrack.jetbrains.com/issue/WI-35481

Anybody experiencing it and googling right here can find this useful I hope

Good idea though

Was this page helpful?
0 / 5 - 0 ratings