Possible to ignore warnings?

PHP Tools [?] extends Visual Studio with set of advanced features to work more efficiently with PHP code.

Possible to ignore warnings?

Postby uwe » December 7th, 2016, 9:34 am

Having a piece of code where PHP Tools greenly-underlines an assignment and states:

"Cannot implicitely convert 'integer' to 'OrderState'".


While this warning is correctly shown, I still have edge-cases where I want to ignore it.

I.e. I do not want the green underline to be shown.

Coming from C++/C# and ReSharper, I know to add special comments or pragmas right before the statement in question to tell ReSharper to not show the green underline/warning.

My question:

Is such a similar mechanism also possible in PHP Tools?
uwe
 
Posts: 21
Joined: October 10th, 2016, 8:39 am

Re: Possible to ignore warnings?

Postby Miloslav Beno » December 19th, 2016, 12:58 pm

Hello,

Thanks for the feature suggestion. Currently we do not have this feature, but we quite like it and it's possible to implement.

I'd like to ask more devs who would appreciate such a feature to let us know here.

Thanks!
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1252
Joined: January 7th, 2012, 8:36 pm


Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 54 guests

cron

User Control Panel

Login

Who is online

In total there are 54 users online :: 0 registered, 0 hidden and 54 guests (based on users active over the past 5 minutes)
Most users ever online was 297 on March 29th, 2024, 7:06 am

Users browsing this forum: No registered users and 54 guests