문제

I am using phpstorm. If a class is not imported properly via its use statement, I get a rather low-contrast indication, brown on gray background.

As this is a serious error I want to change that specific color into something more drastic. How to change that color?

A picture speaks more than words::

Low contrast example of missing use statement

I am talking about the backgroud of getCount-method and the AssetRepository class usage.

도움이 되었습니까?

해결책

You can change color here: Settings | Editor | Colors & Fonts | General | Warning (this is IDE-wide setting and will affect ALL projects)

Alternatively -- change severity from "Warning" to "Error" (or introduce your own with your own colors) in Settings | Inspections | PHP | Undefined | Undefined method (this is project-level setting so it could be different from project to project).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top