From 6d3537185dbb7fc5eb546d4abe4325be4419840e Mon Sep 17 00:00:00 2001 From: j4r3kb Date: Mon, 22 Aug 2022 11:51:33 +0200 Subject: [PATCH] added new words to php code language (#3410) j4r3kb MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jarosław Brzychcy --- frontend/static/languages/code_php.json | 97 ++++++++++++++++++++++++- 1 file changed, 96 insertions(+), 1 deletion(-) diff --git a/frontend/static/languages/code_php.json b/frontend/static/languages/code_php.json index a37909001..a9e2f90f5 100644 --- a/frontend/static/languages/code_php.json +++ b/frontend/static/languages/code_php.json @@ -46,6 +46,7 @@ "i", "as", "isset", + "unset", "empty", "endif", "error", @@ -92,6 +93,7 @@ "not", "by", "object", + "switch", "case", "on", "option", @@ -158,9 +160,12 @@ "list", "_JEXEC", "_POST", + "_GET", "_REQUEST", "_SERVER", "_SESSION", + "_COOKIE", + "_FILES", "App", "__DIR__", "__FILE__", @@ -203,6 +208,96 @@ "CSS", "Cache", "arguments", - "arr" + "arr", + "yield", + "Generator", + "DateTime", + "do", + "while", + "readonly", + "enum", + "clone", + "trait", + "continue", + "float", + "abs", + "min", + "max", + "closure", + "resource", + "interface", + "implements", + "extends", + "serialize", + "deserialize", + "goto", + "match", + "include", + "require", + "throw", + "exception", + "iterator", + "fiber", + "const", + "declare", + "die", + "exit", + "merge", + "replace", + "intersect", + "assert", + "dump", + "domain", + "infrastructure", + "Entity", + "Repository", + "Provider", + "Command", + "Handler", + "Transformer", + "Event", + "Dispatcher", + "Builder", + "Factory", + "Strategy", + "Adapter", + "Plugin", + "Processor", + "password", + "now", + "child", + "children", + "tree", + "build", + "create", + "fetch", + "recursive", + "compare", + "map", + "mapper", + "queue", + "middleware", + "connection", + "curl", + "client", + "soap", + "socket", + "pipeline", + "thread", + "fopen", + "fclose", + "fread", + "fwrite", + "strict", + "PHP_EOL", + "__toString", + "__sleep", + "__destruct", + "__wakeup", + "__invoke", + "&&", + "||", + "<=>", + "->" ] }