Complex expressions

Here is the list of the most complex expressions used in the code. A complex expression is an expression that requires more than 20 tokens to be build.

Literal arrays are omitted.

File Count Expression
/src/Application.php:1631$const = ['APP_PATH' => rtrim($this->appPath'/'), 'SITE_PATH' => rtrim($this->sitePath'/'), 'WEB_PATH' => rtrim(preg_replace('#\/?index.php#'''dirname($_SERVER['SCRIPT_FILENAME'])), '/'), 'WEB_URL' => rtrim($c->get(Environment::class)->getBaseUrl( ), '/')]
/src/TwigRenderer.php:2501$namespaces = ['plugin' => $this->config['paths']['plugins'], 'page' => $this->config['paths']['pages'], 'site' => $this->config['paths']['site'], 'snippet' => $this->config['paths']['app'] . '/templates/snippets''sysplugin' => $this->config['paths']['sysPlugins'], 'template' => $this->config['paths']['app'] . '/templates']