0

Working with PhpStorm 2021, I use squizlabs/php_codesniffer 3.7 and want to change back phpcs warning background color.

phpcs has level ="warning"—I suppose that is some common option for all warnings, but where can I edit background color?

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
mstdmstd
  • 2,195
  • 17
  • 63
  • 140

1 Answers1

2

https://www.jetbrains.com/help/phpstorm/configuring-colors-and-fonts.html#customize-color-scheme

  • Settings/Preferences on macOS | Editor | Color Scheme | General
  • Errors and Warnings | Warning (or whatever error level you want to change)

enter image description here


You may also check out the PHP_Codesniffer inspection settings -- you should be able to change what actual style to use there etc.: Settings/Preferences | Editor | Inspections | PHP | Quality tools | PHP_CodeSniffer validation

enter image description here

P.S. All screenshots are made in the latest stable PhpStorm 2022.2.3

LazyOne
  • 158,824
  • 45
  • 388
  • 391