Wrong syntax highlighting for PHP file in PHPStorm November 17, 2022 by Tarik Go to Settings|File types and ensure that this particular file name is NOT assigned to non-PHP file type, i.e. Plain Text.