From d3d1bad9cd8d0f80383d8fc787052d5d832e284a Mon Sep 17 00:00:00 2001 From: Ayce <32338891+Ayce45@users.noreply.github.com> Date: Tue, 17 May 2022 16:37:48 +0200 Subject: [PATCH] Added code php language (#2983) ayce45 * Create code_php.json * Create code_php_1k.json * Update code_php_1k.json * Update _groups.json * Update code_php.json --- frontend/static/languages/_groups.json | 3 +- frontend/static/languages/_list.json | 1 + frontend/static/languages/code_php.json | 208 ++++++++++++++++++++++++ 3 files changed, 211 insertions(+), 1 deletion(-) create mode 100644 frontend/static/languages/code_php.json diff --git a/frontend/static/languages/_groups.json b/frontend/static/languages/_groups.json index 7d40d31c6..e67d5f74c 100644 --- a/frontend/static/languages/_groups.json +++ b/frontend/static/languages/_groups.json @@ -329,7 +329,8 @@ "code_luau", "code_matlab", "code_sql", - "code_perl" + "code_perl", + "code_php" ] }, { diff --git a/frontend/static/languages/_list.json b/frontend/static/languages/_list.json index b16f9e29c..ac2e7b4a3 100644 --- a/frontend/static/languages/_list.json +++ b/frontend/static/languages/_list.json @@ -184,6 +184,7 @@ ,"code_matlab" ,"code_sql" ,"code_perl" + ,"code_php" ,"hindi" ,"hindi_1k" ,"macedonian" diff --git a/frontend/static/languages/code_php.json b/frontend/static/languages/code_php.json new file mode 100644 index 000000000..a37909001 --- /dev/null +++ b/frontend/static/languages/code_php.json @@ -0,0 +1,208 @@ +{ + "name": "code_php", + "leftToRight": true, + "noLazyMode": true, + "words": [ + "this", + "return", + "if", + "array", + "the", + "function", + "php", + "div", + "class", + "public", + "to", + "a", + "id", + "string", + "else", + "of", + "name", + "param", + "is", + "false", + "new", + "for", + "value", + "true", + "type", + "echo", + "data", + "form", + "protected", + "in", + "and", + "td", + "text", + "The", + "foreach", + "file", + "tr", + "null", + "var", + "use", + "i", + "as", + "isset", + "empty", + "endif", + "error", + "action", + "field", + "fields", + "all", + "an", + "Symfony", + "are", + "from", + "args", + "get", + "global", + "group", + "header", + "html", + "http", + "href", + "This", + "author", + "be", + "index", + "input", + "instance", + "int", + "body", + "bool", + "it", + "item", + "key", + "label", + "Component", + "line", + "link", + "li", + "message", + "method", + "model", + "n", + "br", + "namespace", + "break", + "not", + "by", + "object", + "case", + "on", + "option", + "options", + "or", + "output", + "p", + "package", + "page", + "_", + "params", + "parent", + "path", + "code", + "post", + "private", + "col", + "com", + "query", + "request", + "response", + "result", + "config", + "row", + "s", + "script", + "select", + "self", + "set", + "since", + "span", + "sql", + "static", + "content", + "style", + "t", + "table", + "context", + "count", + "th", + "that", + "__", + "date", + "title", + "db", + "default", + "display", + "__construct", + "ul", + "url", + "e", + "user", + "If", + "values", + "access", + "version", + "view", + "void", + "we", + "width", + "will", + "with", + "x", + "list", + "_JEXEC", + "_POST", + "_REQUEST", + "_SERVER", + "_SESSION", + "App", + "__DIR__", + "__FILE__", + "Application", + "_e", + "_parent", + "Array", + "about", + "abstract", + "B", + "account", + "BY", + "actions", + "active", + "add", + "add_action", + "added", + "address", + "admin", + "after", + "ajax", + "alert", + "alias", + "align", + "Bundle", + "allow", + "allowed", + "already", + "also", + "alt", + "always", + "amp", + "C", + "CFG", + "any", + "api", + "app", + "application", + "apply_filters", + "CSS", + "Cache", + "arguments", + "arr" + ] +}