In PhpStorm the latest version (2018), so it was in version 2017 in the project, I have a file called User_model.php
and PhpStorm does not recognize it as a PHP file, it recognizes it as a plain text file.
But it was not always so; I only recently noticed.
I realized that the problem is in the name of the file (User_model.php
). Because as soon as I change the file names (for example, Users_model.php
), the file is immediately recognized as a PHP file.
Is it (User_model.php
) some reserved name and it cannot be used?
I didn't mark file as "Mark as Plain Text".
This problem is present in all projects in my PhpStorm.