PHP files background grayed out after 2023.1

Hi,
after upgrade to 2023.1 all PHP source code have gray background. All other types are as before.

See here

YAML file for example

0

Hi there,

AFAIK that's a color for PHP Code background (so that you can easier spot the PHP tags <?php ... ?> in your HTML templates).

Check what you have at "Settings (Preferences on macOS) | Editor | Color Scheme | PHP | PHP Code | Background" and adjust as needed.

P.S. The IDE should really omit using this style for "1 tag for the whole file" (PHP only code) files.

0

By default, IDE hides the PHP background for files with one <?php section only. This behaviour can be configured under the "Settings/Preferences | Editor | General | Appearance":

0

请先登录再写评论。