Representation results sniffer code

Hello!

I have included the php code sniffer in PhpStorm 6.0.2.
The results are shown in the code sniffer moment as a warning.


codesniffer.jpg

Can I change the color of the presentation?

Sincerely yours

Stephan Krauss

4 comments

I'm confused. Other than the ability to change them as in your screen shot?

0

Hello!

Sorry for my bad English.
I want to check the scripts with the code sniffer.
The results of the inspection are displayed in the editor window with a color.
Errors are indicated by the red color.
Can I set a custom color for the result of the sniffer code.


codesniffer.jpg

Sincerely yours

Stephan

0

Hi there,

So ... what is the problem?

  1. The "Severity" -- click on "..." button and create NEW severity entry (for example: "CODE SNIFFER"); define your own colors there
  2. Make sure that this new entry will be selected when leaving "Severities Editor" screen
  3. Next time CodeSniffer will run (e.g. after adding a space character, for example) the markers will have new custom color.


screen01.png

0

Please sign in to leave a comment.