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:163 | 1 | $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:250 | 1 | $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'] |