package ru.adelf.idea.dotenv;

import com.intellij.openapi.fileTypes.*;
import org.jetbrains.annotations.NotNull;

public class DotEnvFileTypeFactory extends FileTypeFactory {
    @Override
    public void createFileTypes(@NotNull FileTypeConsumer fileTypeConsumer) {
        fileTypeConsumer.consume(DotEnvFileType.INSTANCE, "env");
    }
}

@@ -323,14 +323,41 @@
 CE, 
-%22
+new ExactFileNameMatcher(%22.
 env%22)
+)
 ;%0A  

Fix PhpStorm .env files recognition