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 |
---|---|---|
/system/Debug/Exceptions.php:148 | 1 | log_message('critical', '[Caused by] ' . $prevException::class . ": {message}\nin {exFile} on line {exLine}.\n{trace}", ['message' => $prevException->getMessage( ), 'exFile' => clean_path($prevException->getFile( )), 'exLine' => $prevException->getLine( ), 'trace' => self::renderBacktrace($prevException->getTrace( )), ]) |
/system/Debug/Exceptions.php:134 | 1 | log_message('critical', $exception::class . ": {message}\n{routeInfo}\nin {exFile} on line {exLine}.\n{trace}", ['message' => $exception->getMessage( ), 'routeInfo' => $routeInfo, 'exFile' => clean_path($exception->getFile( )), 'exLine' => $exception->getLine( ), 'trace' => self::renderBacktrace($exception->getTrace( )), ]) |
/system/ThirdParty/Kint/Parser/Parser.php:583 | 1 | \trigger_error(Utils::errorSanitizeString(\get_class($e)) . ' was thrown in ' . $e->getFile( ) . ' on line ' . $e->getLine( ) . ' while executing ' . Utils::errorSanitizeString(\get_class($plugin)) . '->parseComplete. Error message: ' . Utils::errorSanitizeString($e->getMessage( )), E_USER_WARNING) |
/system/ThirdParty/Kint/Parser/Parser.php:560 | 1 | \trigger_error(Utils::errorSanitizeString(\get_class($e)) . ' was thrown in ' . $e->getFile( ) . ' on line ' . $e->getLine( ) . ' while executing ' . Utils::errorSanitizeString(\get_class($plugin)) . '->parseBegin. Error message: ' . Utils::errorSanitizeString($e->getMessage( )), E_USER_WARNING) |
/system/Database/BaseConnection.php:1306 | 1 | return preg_replace('/' . $this->pregEscapeChar[0] . '?([^' . $this->pregEscapeChar[1] . '\.]+)' . $this->pregEscapeChar[1] . '?\./i', $this->pregEscapeChar[2] . '$1' . $this->pregEscapeChar[3] . '.', $item, ) |
/system/Session/Session.php:292 | 1 | $params = ['lifetime' => $this->config->expiration, 'path' => $this->cookie->getPath( ), 'domain' => $this->cookie->getDomain( ), 'secure' => $this->cookie->isSecure( ), 'httponly' => true, 'samesite' => $sameSite, ] |
/system/Database/BaseConnection.php:1315 | 1 | return preg_replace('/' . $this->pregEscapeChar[0] . '?([^' . $this->pregEscapeChar[1] . '\.]+)' . $this->pregEscapeChar[1] . '?(\.)?/i', $this->pregEscapeChar[2] . '$1' . $this->pregEscapeChar[3] . '$2', $item, ) |
/system/Router/Router.php:167 | 1 | $this->autoRouter = new AutoRouterImproved($this->collection->getRegisteredControllers('*'), $this->collection->getDefaultNamespace( ), $this->collection->getDefaultController( ), $this->collection->getDefaultMethod( ), $this->translateURIDashes, ) |
/system/Database/MigrationRunner.php:729 | 1 | $migration = $this->db->table($this->table)->where('batch', $batch)->orderBy('id', 'asc')->limit(1)->get( )->getResultObject( ) |
/system/Debug/Toolbar/Collectors/BaseCollector.php:224 | 1 | return ['title' => $this->getTitle( ), 'titleSafe' => $this->getTitle(true), 'titleDetails' => $this->getTitleDetails( ), 'display' => $this->display( ), 'badgeValue' => $this->getBadgeValue( ), 'isEmpty' => $this->isEmpty( ), 'hasTabContent' => $this->hasTabContent( ), 'hasLabel' => $this->hasLabel( ), 'icon' => $this->icon( ), 'hasTimelineData' => $this->hasTimelineData( ), 'timelineData' => $this->timelineData( ), ] |
/system/Database/MigrationRunner.php:750 | 1 | $migration = $this->db->table($this->table)->where('batch', $batch)->orderBy('id', 'desc')->limit(1)->get( )->getResultObject( ) |
/system/Session/Session.php:192 | 1 | $this->cookie = (new Cookie($this->config->cookieName, '', ['expires' => $this->config->expiration === 0 ? 0 : Time::now( )->getTimestamp( ) + $this->config->expiration, 'path' => $cookie->path, 'domain' => $cookie->domain, 'secure' => $cookie->secure, 'httponly' => true, 'samesite' => $cookie->samesite ?? Cookie::SAMESITE_LAX, 'raw' => $cookie->raw ?? false, ]))->withPrefix('') |
/system/Database/Forge.php:509 | 1 | $sql = sprintf('ALTER TABLE %s DROP CONSTRAINT %s', $this->db->escapeIdentifiers($this->db->DBPrefix . $table), ($keyName === '') ? $this->db->escapeIdentifiers('pk_' . $this->db->DBPrefix . $table) : $this->db->escapeIdentifiers($keyName), ) |
/user_guide_src/source/libraries/cookies/001.php:29 | 1 | $cookie = (new Cookie('remember_token'))->withValue('f699c7fd18a8e082d0228932f3acd40e1ef5ef92efcedda32842a211d62f0aa6')->withPrefix('__Secure-')->withExpires(new DateTime('+2 hours'))->withPath('/')->withDomain('')->withSecure(true)->withHTTPOnly(true)->withSameSite(Cookie::SAMESITE_LAX) |
/system/Database/Forge.php:723 | 1 | $result = $this->db->query(sprintf($this->renameTableStr, $this->db->escapeIdentifiers($this->db->DBPrefix . $tableName), $this->db->escapeIdentifiers($this->db->DBPrefix . $newTableName), )) |
/user_guide_src/source/libraries/cookies/004.php:7 | 1 | $cookie = new Cookie('remember_token', 'f699c7fd18a8e082d0228932f3acd40e1ef5ef92efcedda32842a211d62f0aa6', ['expires' => new DateTime('2025-02-14 00:00:00', new DateTimeZone('UTC')), 'prefix' => '__Secure-', 'path' => '/', 'domain' => '', 'secure' => true, 'httponly' => true, 'raw' => false, 'samesite' => Cookie::SAMESITE_LAX, ], ) |
/system/Database/Forge.php:905 | 1 | $field = ['name' => $name, 'new_name' => $attributes['NAME'] ?? null, 'type' => $attributes['TYPE'] ?? null, 'length' => '', 'unsigned' => '', 'null' => '', 'unique' => '', 'default' => '', 'auto_increment' => '', '_literal' => false, ] |
/system/Router/Router.php:175 | 1 | $this->autoRouter = new AutoRouter($this->collection->getRoutes('CLI', false), $this->collection->getDefaultNamespace( ), $this->collection->getDefaultController( ), $this->collection->getDefaultMethod( ), $this->translateURIDashes, ) |
/system/Database/Forge.php:975 | 1 | return $this->db->escapeIdentifiers($processedField['name']) . ' ' . $processedField['type'] . $processedField['length'] . $processedField['unsigned'] . $processedField['default'] . $processedField['null'] . $processedField['auto_increment'] . $processedField['unique'] |
/user_guide_src/source/libraries/cookies/001.php:7 | 1 | $cookie = new Cookie('remember_token', 'f699c7fd18a8e082d0228932f3acd40e1ef5ef92efcedda32842a211d62f0aa6', ['expires' => new DateTime('+2 hours'), 'prefix' => '__Secure-', 'path' => '/', 'domain' => '', 'secure' => true, 'httponly' => true, 'raw' => false, 'samesite' => Cookie::SAMESITE_LAX, ], ) |
/user_guide_src/source/testing/fabricator/005.php:13 | 1 | return ['first' => $faker->firstName( ), 'email' => $faker->email( ), 'phone' => $faker->phoneNumber( ), 'avatar' => \Faker\Provider\Image::imageUrl(800, 400), 'login' => config('Auth')->allowRemembering ? date('Y-m-d') : null, ] |
/user_guide_src/source/testing/fabricator/023.php:14 | 1 | return ['first' => $faker->firstName( ), 'email' => $faker->unique( )->email( ), 'group_id' => $faker->optional( )->passthrough(mt_rand(1, Fabricator::getCount('groups'))), ] |
/rector.php:55 | 1 | return RectorConfig::configure( )->withPhpSets(php81 : true)->withPreparedSets(deadCode : true, instanceOf : true, strictBooleans : true, phpunitCodeQuality : true)->withComposerBased(phpunit : true)->withParallel(120, 8, 10)->withCache(is_dir('/tmp') ? '/tmp/rector' : null, FileCacheStorage::class, )->withPaths([__DIR__ . '/app', __DIR__ . '/system', __DIR__ . '/tests', __DIR__ . '/utils/src', ])->withBootstrapFiles([__DIR__ . '/system/util_bootstrap.php', ])->withPHPStanConfigs([__DIR__ . '/phpstan.neon.dist', __DIR__ . '/vendor/codeigniter/phpstan-codeigniter/extension.neon', __DIR__ . '/vendor/phpstan/phpstan-strict-rules/rules.neon', __DIR__ . '/vendor/shipmonk/phpstan-baseline-per-identifier/extension.neon', ])->withSkip([__DIR__ . '/system/Debug/Toolbar/Views/toolbar.tpl.php', __DIR__ . '/system/ThirdParty', __DIR__ . '/tests/system/Config/fixtures', __DIR__ . '/tests/system/Filters/fixtures', __DIR__ . '/tests/_support/Commands/Foobar.php', __DIR__ . '/tests/_support/View', __DIR__ . '/tests/system/View/Views', YieldDataProviderRector::class, RemoveUnusedPrivateMethodRector::class => [__DIR__ . '/tests/system/Test/ReflectionHelperTest.php', __DIR__ . '/tests/_support/Test/TestForReflectionHelper.php', ], RemoveUnusedConstructorParamRector::class => [__DIR__ . '/system/Debug/Exceptions.php', __DIR__ . '/system/Router/AutoRouterImproved.php', __DIR__ . '/system/HTTP/Request.php', __DIR__ . '/system/HTTP/Response.php', ], UnwrapFutureCompatibleIfPhpVersionRector::class => [__DIR__ . '/system/Autoloader/Autoloader.php', ], UnderscoreToCamelCaseVariableNameRector::class => [__DIR__ . '/system/Session/Handlers', __DIR__ . '/tests/_support/Entity/CustomUser.php', ], DeclareStrictTypesRector::class => [__DIR__ . '/app', __DIR__ . '/system/CodeIgniter.php', __DIR__ . '/system/Config/BaseConfig.php', __DIR__ . '/system/Commands/Generators/Views', __DIR__ . '/system/Pager/Views', __DIR__ . '/system/Test/ControllerTestTrait.php', __DIR__ . '/system/Validation/Views', __DIR__ . '/system/View/Parser.php', __DIR__ . '/tests/system/Debug/ExceptionsTest.php', __DIR__ . '/tests/system/View/Views', ], RandomFunctionRector::class, ClassPropertyAssignToConstructorPromotionRector::class => [__DIR__ . '/system/Database/BaseResult.php', __DIR__ . '/system/Database/RawSql.php', __DIR__ . '/system/Debug/BaseExceptionHandler.php', __DIR__ . '/system/Filters/Filters.php', __DIR__ . '/system/HTTP/CURLRequest.php', __DIR__ . '/system/HTTP/DownloadResponse.php', __DIR__ . '/system/HTTP/IncomingRequest.php', __DIR__ . '/system/Security/Security.php', __DIR__ . '/system/Session/Session.php', ], ReturnNeverTypeRector::class => [__DIR__ . '/system/Cache/Handlers/BaseHandler.php', __DIR__ . '/system/Cache/Handlers/MemcachedHandler.php', __DIR__ . '/system/Cache/Handlers/WincacheHandler.php', __DIR__ . '/system/CodeIgniter.php', __DIR__ . '/system/Database/MySQLi/Utils.php', __DIR__ . '/system/Database/OCI8/Utils.php', __DIR__ . '/system/Database/Postgre/Utils.php', __DIR__ . '/system/Database/SQLSRV/Utils.php', __DIR__ . '/system/Database/SQLite3/Utils.php', __DIR__ . '/system/HTTP/DownloadResponse.php', __DIR__ . '/system/HTTP/SiteURI.php', __DIR__ . '/system/Helpers/kint_helper.php', __DIR__ . '/tests/_support/Autoloader/FatalLocator.php', ], NullToStrictStringFuncCallArgRector::class, CompactToVariablesRector::class, RemoveDataProviderParamKeysRector::class, ])->withImportNames(removeUnusedImports : true)->withRules([DeclareStrictTypesRector::class, UnderscoreToCamelCaseVariableNameRector::class, SimplifyUselessVariableRector::class, RemoveAlwaysElseRector::class, PassStrictParameterToFunctionParameterRector::class, CountArrayToEmptyArrayComparisonRector::class, ChangeNestedForeachIfsToEarlyContinueRector::class, ChangeIfElseValueAssignToEarlyReturnRector::class, InlineIfToExplicitIfRector::class, PreparedValueToEarlyReturnRector::class, UnusedForeachValueToArrayKeysRector::class, ChangeArrayPushToArrayAssignRector::class, RemoveErrorSuppressInTryCatchStmtsRector::class, FuncGetArgsToVariadicParamRector::class, MakeInheritedMethodVisibilitySameAsParentRector::class, SimplifyEmptyCheckOnEmptyArrayRector::class, TernaryEmptyArrayArrayDimFetchToCoalesceRector::class, DisallowedEmptyRuleFixerRector::class, PrivatizeFinalClassPropertyRector::class, BooleanInIfConditionRuleFixerRector::class, VersionCompareFuncCallToConstantRector::class, AddClosureVoidReturnTypeWhereNoReturnRector::class, AddFunctionVoidReturnTypeWhereNoReturnRector::class, AddMethodCallBasedStrictParamTypeRector::class, TypedPropertyFromAssignsRector::class, ClosureReturnTypeRector::class, AddArrowFunctionReturnTypeRector::class, ])->withConfiguredRule(StringClassNameToClassConstantRector::class, [StringClassNameToClassConstantRector::SHOULD_KEEP_PRE_SLASH => true, ])->withCodeQualityLevel(34) |
/system/Database/Database.php:103 | 1 | $dsnParams = ['DSN' => '', 'DBDriver' => $dsn['scheme'], 'hostname' => isset($dsn['host']) ? rawurldecode($dsn['host']) : '', 'port' => isset($dsn['port']) ? rawurldecode((string) $dsn['port']) : '', 'username' => isset($dsn['user']) ? rawurldecode($dsn['user']) : '', 'password' => isset($dsn['pass']) ? rawurldecode($dsn['pass']) : '', 'database' => isset($dsn['path']) ? rawurldecode(substr($dsn['path'], 1)) : '', ] |
/system/Test/Constraints/SeeInDatabase.php:82 | 1 | $similar = $builder->where(array_key_first($this->data), $this->data[array_key_first($this->data)], )->limit($this->show)->get( )->getResultArray( ) |
/system/Security/CheckPhpIni.php:168 | 1 | $output[$key] = ['global' => $hasKeyInIni ? $ini[$key]['global_value'] : 'disabled', 'current' => $hasKeyInIni ? $ini[$key]['local_value'] : 'disabled', 'recommended' => $values['recommended'] ?? '', 'remark' => $values['remark'] ?? '', ] |
/system/Database/MySQLi/Forge.php:225 | 1 | $sqls[$index] = 'ALTER TABLE ' . $this->db->escapeIdentifiers($table) . " ADD {$unique}KEY " . $keyName . ' (' . implode(', ', $this->db->escapeIdentifiers($this->keys[$i]['fields'])) . ')' |
/system/Cache/Handlers/FileHandler.php:203 | 1 | return ['expire' => $data['ttl'] > 0 ? $data['time'] + $data['ttl'] : null, 'mtime' => filemtime($this->path . $key), 'data' => $data['data'], ] |
/system/Images/Handlers/ImageMagickHandler.php:84 | 1 | $action = $maintainRatio ? ' -resize ' . ($this->width ?? 0) . 'x' . ($this->height ?? 0) . ' "' . $source . '" "' . $destination . '"' : ' -resize ' . ($this->width ?? 0) . 'x' . ($this->height ?? 0) . "{$escape}! \"" . $source . '" "' . $destination . '"' |
/system/Images/Handlers/ImageMagickHandler.php:110 | 1 | $action = ' -crop ' . ($this->width ?? 0) . 'x' . ($this->height ?? 0) . '+' . ($this->xAxis ?? 0) . '+' . ($this->yAxis ?? 0) . $extent . escapeshellarg($source) . ' ' . escapeshellarg($destination) |
/system/Security/Security.php:488 | 1 | $this->cookie = new Cookie($this->rawCookieName, $this->hash, ['expires' => $this->config->expires === 0 ? 0 : Time::now( )->getTimestamp( ) + $this->config->expires, ], ) |
/system/Images/Handlers/BaseHandler.php:733 | 1 | $this->masterDim = ((($this->image( )->origHeight / $this->image( )->origWidth) - ($this->height / $this->width)) < 0) ? 'width' : 'height' |
/system/Database/OCI8/Connection.php:148 | 1 | return ($this->charset === '') ? $func($this->username, $this->password, $this->DSN) : $func($this->username, $this->password, $this->DSN, $this->charset) |
/system/Database/OCI8/Forge.php:209 | 1 | return $this->db->escapeIdentifiers($processedField['name']) . ' ' . $processedField['type'] . $processedField['length'] . $processedField['unsigned'] . $processedField['default'] . $processedField['auto_increment'] . $processedField['null'] . $processedField['unique'] |
/system/Database/SQLSRV/Forge.php:332 | 1 | $sqls[] = 'CREATE INDEX ' . $keyName . ' ON ' . $this->db->escapeIdentifiers($this->db->schema) . '.' . $this->db->escapeIdentifiers($table) . ' (' . implode(', ', $this->db->escapeIdentifiers($this->keys[$i]['fields'])) . ');' |
/system/Database/SQLSRV/Forge.php:346 | 1 | return $this->db->escapeIdentifiers($processedField['name']) . (empty($processedField['new_name']) ? '' : ' ' . $this->db->escapeIdentifiers($processedField['new_name'])) . ' ' . $processedField['type'] . ($processedField['type'] === 'text' ? '' : $processedField['length']) . $processedField['default'] . $processedField['null'] . $processedField['auto_increment'] . '' . $processedField['unique'] |
/system/Database/MySQLi/Forge.php:176 | 1 | return $this->db->escapeIdentifiers($processedField['name']) . (empty($processedField['new_name']) ? '' : ' ' . $this->db->escapeIdentifiers($processedField['new_name'])) . ' ' . $processedField['type'] . $processedField['length'] . $processedField['unsigned'] . $processedField['null'] . $processedField['default'] . $processedField['auto_increment'] . $processedField['unique'] . (empty($processedField['comment']) ? '' : ' COMMENT ' . $processedField['comment']) . $extraClause |
/system/Database/MySQLi/Forge.php:220 | 1 | $keyName = $this->db->escapeIdentifiers(($this->keys[$i]['keyName'] === '') ? implode('_', $this->keys[$i]['fields']) : $this->keys[$i]['keyName']) |
/system/Database/SQLite3/Connection.php:110 | 1 | $sqlite = (!isset($this->password) || $this->password !== '') ? new SQLite3($this->database) : new SQLite3($this->database, SQLITE3_OPEN_READWRITE | SQLITE3_OPEN_CREATE, $this->password) |
/system/Database/SQLite3/Connection.php:221 | 1 | return 'SELECT "NAME" FROM "SQLITE_MASTER" WHERE "TYPE" = \'table\'' . ' AND "NAME" NOT LIKE \'sqlite!_%\' ESCAPE \'!\'' . (($prefixLimit && $this->DBPrefix !== '') ? ' AND "NAME" LIKE \'' . $this->escapeLikeString($this->DBPrefix) . '%\' ' . sprintf($this->likeEscapeStr, $this->likeEscapeChar) : '') |
/system/Database/SQLSRV/Connection.php:495 | 1 | $stmt = ($this->scrollable === false || $this->isWriteType($sql)) ? sqlsrv_query($this->connID, $sql) : sqlsrv_query($this->connID, $sql, [ ], ['Scrollable' => $this->scrollable]) |
/system/Database/SQLSRV/Connection.php:111 | 1 | $connection = ['UID' => empty($this->username) ? '' : $this->username, 'PWD' => empty($this->password) ? '' : $this->password, 'Database' => $this->database, 'ConnectionPooling' => $persistent ? 1 : 0, 'CharacterSet' => $charset, 'Encrypt' => $this->encrypt === true ? 1 : 0, 'ReturnDatesAsStrings' => 1, ] |
/system/Database/Postgre/Forge.php:142 | 1 | return $this->db->escapeIdentifiers($processedField['name']) . ' ' . $processedField['type'] . ($processedField['type'] === 'text' ? '' : $processedField['length']) . $processedField['default'] . $processedField['null'] . $processedField['auto_increment'] . $processedField['unique'] |
/system/Database/BaseBuilder.php:2558 | 1 | return 'UPDATE ' . $this->compileIgnore('update') . $table . ' SET ' . implode(', ', $valStr) . $this->compileWhereHaving('QBWhere') . $this->compileOrderBy( ) . ($this->QBLimit !== false ? $this->_limit(' ', true) : '') |
/system/Database/SQLSRV/Forge.php:324 | 1 | $sqls[] = 'ALTER TABLE ' . $this->db->escapeIdentifiers($this->db->schema) . '.' . $this->db->escapeIdentifiers($table) . ' ADD CONSTRAINT ' . $keyName . ' UNIQUE (' . implode(', ', $this->db->escapeIdentifiers($this->keys[$i]['fields'])) . ');' |
/system/Database/SQLSRV/Forge.php:319 | 2 | $keyName = $this->db->escapeIdentifiers(($this->keys[$i]['keyName'] === '') ? $table . '_' . implode('_', $this->keys[$i]['fields']) : $this->keys[$i]['keyName']) |
/system/Database/SQLSRV/Forge.php:268 | 1 | $sqls[] = 'EXEC sys.sp_addextendedproperty ' . "@name=N'Caption', @value=N'" . $field['comment'] . "' , " . "@level0type=N'SCHEMA',@level0name=N'" . $this->db->schema . "', " . "@level1type=N'TABLE',@level1name=N'" . $this->db->escapeIdentifiers($table) . "', " . "@level2type=N'COLUMN',@level2name=N'" . $this->db->escapeIdentifiers($field['name']) . "'" |
/system/Database/SQLSRV/Builder.php:156 | 2 | $cond .= preg_match('/(\(*)?([\[\]\w\.\'-]+)' . preg_quote($operator, '/') . '(.*)/i', $condition, $match) ? $match[1] . $this->db->protectIdentifiers($match[2]) . $operator . $this->db->protectIdentifiers($match[3]) : $condition |
/system/Database/BaseBuilder.php:701 | 2 | $cond .= preg_match('/(\(*)?([\[\]\w\.\'-]+)' . preg_quote($operator, '/') . '(.*)/i', $condition, $match) ? $match[1] . $this->db->protectIdentifiers($match[2]) . $operator . $this->db->protectIdentifiers($match[3]) : $condition |
/system/Database/Query.php:348 | 1 | $c = preg_match_all('/' . preg_quote($this->bindMarker, '/') . '/i', str_replace($matches[0], str_replace($this->bindMarker, str_repeat(' ', $ml), $matches[0]), $sql, $c), $matches, PREG_OFFSET_CAPTURE) |
/system/Database/Forge.php:1179 | 2 | $keyName = $this->db->escapeIdentifiers(($this->keys[$i]['keyName'] === '') ? $table . '_' . implode('_', $this->keys[$i]['fields']) : $this->keys[$i]['keyName']) |
/system/Database/Forge.php:1105 | 1 | $sql .= 'CONSTRAINT ' . $this->db->escapeIdentifiers(($this->primaryKeys['keyName'] === '' ? 'pk_' . $table : $this->primaryKeys['keyName'])) . ' PRIMARY KEY(' . implode(', ', $this->db->escapeIdentifiers($this->primaryKeys['fields'])) . ')' |
/system/Database/BaseBuilder.php:2552 | 1 | return 'UPDATE ' . $this->compileIgnore('update') . $table . ' SET ' . implode(', ', $valStr) . $this->compileWhereHaving('QBWhere') . $this->compileOrderBy( ) . ($this->QBLimit ? $this->_limit(' ', true) : '') |
/system/Database/BaseBuilder.php:2331 | 1 | $sql = $this->_insert($this->db->protectIdentifiers($this->removeAlias($this->QBFrom[0]), true, $escape, false, ), array_keys($this->QBSet), array_values($this->QBSet), ) |
/system/Database/BaseBuilder.php:2294 | 1 | $sql = $this->_insert($this->db->protectIdentifiers($this->removeAlias($this->QBFrom[0]), true, null, false, ), array_keys($this->QBSet), array_values($this->QBSet), ) |
/system/Database/BaseBuilder.php:1492 | 1 | $qbOrderBy[] = ($direction === '' && preg_match('/\s+(ASC|DESC)$/i', rtrim($field), $match, PREG_OFFSET_CAPTURE)) ? ['field' => ltrim(substr($field, 0, $match[0][1])), 'direction' => ' ' . $match[1][0], 'escape' => true, ] : ['field' => trim($field), 'direction' => $direction, 'escape' => true, ] |
/system/Email/Email.php:1203 | 1 | $body .= $this->getMimeMessage( ) . $this->newline . $this->newline . '--' . $boundary . $this->newline . 'Content-Type: text/plain; charset=' . $this->charset . $this->newline . 'Content-Transfer-Encoding: ' . $this->getEncoding( ) . $this->newline . $this->newline . $this->body . $this->newline . $this->newline |
/system/Email/Email.php:1246 | 1 | $body .= $this->getMimeMessage( ) . $this->newline . $this->newline . '--' . $lastBoundary . $this->newline . 'Content-Type: multipart/alternative; boundary="' . $altBoundary . '"' . $this->newline . $this->newline . '--' . $altBoundary . $this->newline . 'Content-Type: text/plain; charset=' . $this->charset . $this->newline . 'Content-Transfer-Encoding: ' . $this->getEncoding( ) . $this->newline . $this->newline . $this->getAltMessage( ) . $this->newline . $this->newline . '--' . $altBoundary . $this->newline . 'Content-Type: text/html; charset=' . $this->charset . $this->newline . 'Content-Transfer-Encoding: quoted-printable' . $this->newline . $this->newline . $this->prepQuotedPrintable($this->body) . $this->newline . $this->newline . '--' . $altBoundary . '--' . $this->newline . $this->newline |
/system/Email/Email.php:1307 | 1 | $body .= '--' . $boundary . $this->newline . 'Content-Type: ' . $attachment['type'] . '; name="' . $name . '"' . $this->newline . 'Content-Disposition: ' . $attachment['disposition'] . ';' . $this->newline . 'Content-Transfer-Encoding: base64' . $this->newline . ($attachment['cid'] === '' ? '' : 'Content-ID: <' . $attachment['cid'] . '>' . $this->newline) . $this->newline . $attachment['content'] . $this->newline |
/system/Email/Email.php:1534 | 1 | $chr = ($this->charset === 'UTF-8' && extension_loaded('iconv')) ? '=' . implode('=', str_split(strtoupper(bin2hex(iconv_substr($str, $i, 1, $this->charset))), 2)) : '=' . strtoupper(bin2hex($str[$i])) |
/system/ThirdParty/Kint/Kint.php:636 | 1 | $call['parameters'][] = ['name' => 'array_values(' . \substr($param['name'], 3) . ')[' . $j . ']', 'path' => 'array_values(' . \substr($param['path'], 3) . ')[' . $j . ']', 'expression' => false, 'literal' => false, 'new_without_parens' => false, ] |
/system/ThirdParty/Kint/Value/Representation/ColorRepresentation.php:290 | 1 | return \sprintf('#%1X%1X%1X%1X', \round($this->r / 0x11), \round($this->g / 0x11), \round($this->b / 0x11), \round($this->a * 0xF)) |
/system/Database/Forge.php:232 | 1 | if(!$this->db->query(sprintf($ifNotExists ? $this->createDatabaseIfStr : $this->createDatabaseStr, $this->db->escapeIdentifier($dbName), $this->db->charset, $this->db->DBCollat, ), )) { /**/ } |
/system/Database/OCI8/Forge.php:185 | 1 | if(!empty($attributes['AUTO_INCREMENT']) && $attributes['AUTO_INCREMENT'] === true && str_contains(strtolower($field['type']), 'number') && version_compare($this->db->getVersion( ), '12.1', '>=')) { /**/ } |
/system/Database/MySQLi/Connection.php:211 | 1 | if(($clientFlags & MYSQLI_CLIENT_SSL) !== 0 && version_compare($this->mysqli->client_info, 'mysqlnd 5.7.3', '<=') && empty($this->mysqli->query("SHOW STATUS LIKE 'ssl_cipher'")->fetch_object( )->Value)) { /**/ } |
/system/Images/Handlers/BaseHandler.php:723 | 1 | if(($this->width === 0 && $this->height === 0) || $this->image( )->origWidth === 0 || $this->image( )->origHeight === 0 || (!ctype_digit((string) $this->width) && !ctype_digit((string) $this->height)) || !ctype_digit((string) $this->image( )->origWidth) || !ctype_digit((string) $this->image( )->origHeight)) { /**/ } |
/system/Session/Session.php:236 | 1 | if(isset($_COOKIE[$this->config->cookieName]) && (!is_string($_COOKIE[$this->config->cookieName]) || preg_match('#\A' . $this->sidRegexp . '\z#', $_COOKIE[$this->config->cookieName]) !== 1)) { /**/ } |
/system/View/Cell.php:283 | 1 | elseif(($paramCount === 1) && ((!array_key_exists($refParams[0]->name, $params)) || (array_key_exists($refParams[0]->name, $params) && count($params) !== 1))) { /**/ } else { /**/ } |
/system/Session/Handlers/FileHandler.php:295 | 1 | if(preg_match($pattern, $file) !== 1 || !is_file($this->savePath . DIRECTORY_SEPARATOR . $file) || ($mtime = filemtime($this->savePath . DIRECTORY_SEPARATOR . $file)) === false || $mtime > $ts) { /**/ } |
/system/ThirdParty/Kint/Value/Representation/ColorRepresentation.php:288 | 1 | if(0 === $this->r % 0x11 && 0 === $this->g % 0x11 && 0 === $this->b % 0x11 && 0 === ((int) ($this->a * 255)) % 0x11) { /**/ } |
/system/ThirdParty/Kint/Parser/DomPlugin.php:281 | 1 | if($value instanceof Attr || $value instanceof CharacterData || $value instanceof DOMAttr || $value instanceof DOMCharacterData || $value instanceof NamedNodeMap || $value instanceof NodeList || $value instanceof DOMNamedNodeMap || $value instanceof DOMNodeList || $value instanceof Node || $value instanceof DOMNode) { /**/ } |
/system/Email/Email.php:1574 | 1 | if(empty($this->recipients) && !isset($this->headers['To']) && empty($this->BCCArray) && !isset($this->headers['Bcc']) && !isset($this->headers['Cc'])) { /**/ } |
/system/Autoloader/FileLocator.php:159 | 1 | if(($tokens[$i - 2][0] === T_CLASS || (isset($tokens[$i - 2][1]) && $tokens[$i - 2][1] === 'phpclass')) && $tokens[$i - 1][0] === T_WHITESPACE && $token[0] === T_STRING) { /**/ } |
/system/Autoloader/FileLocator.php:146 | 1 | if((isset($tokens[$i - 2][1]) && ($tokens[$i - 2][1] === 'phpnamespace' || $tokens[$i - 2][1] === 'namespace')) || ($dlm && $tokens[$i - 1][0] === T_NS_SEPARATOR && $token[0] === T_STRING)) { /**/ } elseif($dlm && ($token[0] !== T_NS_SEPARATOR) && ($token[0] !== T_STRING)) { /**/ } |
/system/Validation/Validation.php:919 | 1 | $args = ['field' => ($label === null || $label === '') ? $field : lang($label), 'param' => (!isset($this->rules[$param]['label'])) ? $param : lang($this->rules[$param]['label']), 'value' => $value ?? '', ] |
/system/Pager/PagerRenderer.php:292 | 1 | $links[] = ['uri' => URI::createURIString($uri->getScheme( ), $uri->getAuthority( ), $uri->getPath( ), $uri->getQuery( ), $uri->getFragment( ), ), 'title' => $i, 'active' => ($i === $this->current), ] |
/system/Pager/Pager.php:291 | 1 | return $returnObject ? $uri : URI::createURIString($uri->getScheme( ), $uri->getAuthority( ), $uri->getPath( ), $uri->getQuery( ), $uri->getFragment( ), ) |
/system/Pager/Pager.php:402 | 1 | $this->groups[$group] = ['currentUri' => clone current_url(true), 'uri' => clone current_url(true), 'hasMore' => false, 'total' => null, 'perPage' => $perPage ?? $this->config->perPage, 'pageCount' => 1, 'pageSelector' => $group === 'default' ? 'page' : 'page_' . $group, ] |
/system/Debug/BaseExceptionHandler.php:85 | 2 | return ['title' => $exception::class, 'type' => $exception::class, 'code' => $statusCode, 'message' => $exception->getMessage( ), 'file' => $exception->getFile( ), 'line' => $exception->getLine( ), 'trace' => $trace, ] |
/system/Debug/Exceptions.php:422 | 2 | return ['title' => $exception::class, 'type' => $exception::class, 'code' => $statusCode, 'message' => $exception->getMessage( ), 'file' => $exception->getFile( ), 'line' => $exception->getLine( ), 'trace' => $trace, ] |
/system/Debug/Toolbar/Collectors/Database.php:189 | 1 | return ['hover' => $isDuplicate ? 'This query was called more than once.' : '', 'class' => $isDuplicate ? 'duplicate' : '', 'duration' => ((float) $query['query']->getDuration(5) * 1000) . ' ms', 'sql' => $query['query']->debugToolbarDisplay( ), 'trace' => $query['trace'], 'trace-file' => $firstNonSystemLine, 'qid' => md5($query['query'] . Time::now( )->format('0.u00 U')), ] |
/system/Debug/Toolbar/Collectors/Database.php:133 | 1 | $data[] = ['name' => 'Query', 'component' => 'Database', 'start' => $query['query']->getStartTime(true), 'duration' => $query['query']->getDuration( ), 'query' => $query['query']->debugToolbarDisplay( ), ] |
/system/Debug/Toolbar/Collectors/History.php:96 | 1 | $files[] = ['time' => $time, 'datetime' => DateTime::createFromFormat('U.u', $time)->format('Y-m-d H:i:s.u'), 'active' => $time === $current, 'status' => $contents->vars->response->statusCode, 'method' => $contents->method, 'url' => $contents->url, 'isAJAX' => $contents->isAJAX ? 'Yes' : 'No', 'contentType' => $contents->vars->response->contentType, ] |
/system/Debug/Toolbar/Collectors/Config.php:31 | 1 | return ['ciVersion' => CodeIgniter::CI_VERSION, 'phpVersion' => PHP_VERSION, 'phpSAPI' => PHP_SAPI, 'environment' => ENVIRONMENT, 'baseURL' => $config->baseURL, 'timezone' => app_timezone( ), 'locale' => service('request')->getLocale( ), 'cspEnabled' => $config->CSPEnabled, ] |
/system/Debug/Toolbar/Collectors/Routes.php:117 | 1 | $matchedRoute = [['directory' => $router->directory( ), 'controller' => $router->controllerName( ), 'method' => $router->methodName( ), 'paramCount' => count($router->params( )), 'truePCount' => count($params), 'params' => $params, ], ] |
/system/Debug/Toolbar/Collectors/Routes.php:106 | 1 | $params[] = ['name' => '$' . $param->getName( ) . ' = ', 'value' => $router->params( )[$key] ?? ' <empty> | default: ' . var_export($param->isDefaultValueAvailable( ) ? $param->getDefaultValue( ) : null, true, ), ] |
/system/HTTP/IncomingRequest.php:755 | 1 | return isset($_GET[$index]) ? $this->getGet($index, $filter, $flags) : (isset($_POST[$index]) ? $this->getPost($index, $filter, $flags) : $this->getGet($index, $filter, $flags)) |
/system/HTTP/ResponseTrait.php:545 | 1 | $cookie = new Cookie($name, $value, ['expires' => $expire ?: 0, 'domain' => $domain, 'path' => $path, 'prefix' => $prefix, 'secure' => $secure, 'httponly' => $httponly, 'samesite' => $samesite ?? '', ]) |
/system/HTTP/IncomingRequest.php:404 | 1 | return $this->hasHeader('Front-End-Https') && !empty($this->header('Front-End-Https')->getValue( )) && strtolower($this->header('Front-End-Https')->getValue( )) !== 'off' |
/system/HTTP/IncomingRequest.php:732 | 1 | return isset($_POST[$index]) ? $this->getPost($index, $filter, $flags) : (isset($_GET[$index]) ? $this->getGet($index, $filter, $flags) : $this->getPost($index, $filter, $flags)) |
/system/HTTP/Files/FileCollection.php:186 | 1 | return new UploadedFile($array['tmp_name'] ?? null, $array['name'] ?? null, $array['type'] ?? null, ($array['size'] ?? null) === null ? null : (int) $array['size'], $array['error'] ?? null, $array['full_path'] ?? null, ) |
/system/Typography/Typography.php:189 | 1 | $table = ['/(<p[^>*?]>)<p>/' => '$1', '#(</p>)+#' => '</p>', '/(<p>\W*<p>)+/' => '<p>', '#<p></p><(' . $this->blockElements . ')#' => '<$1', '#( \s*)+<(' . $this->blockElements . ')#' => ' <$2', '/\{@TAG\}/' => '<', '/\{@DQ\}/' => '"', '/\{@SQ\}/' => "'", '/\{@DD\}/' => '--', '/\{@NBS\}/' => ' ', "/><p>\n/" => ">\n<p>", '#</p></#' => "</p>\n</", ] |
/system/HTTP/Cors.php:245 | 1 | return !($this->config['exposedHeaders'] !== [ ] && (!$response->hasHeader('Access-Control-Expose-Headers') || !str_contains($response->getHeaderLine('Access-Control-Expose-Headers'), implode(', ', $this->config['exposedHeaders']), ))) |
/system/HTTP/Files/UploadedFile.php:227 | 1 | $errors = [UPLOAD_ERR_OK => lang('HTTP.uploadErrOk'), UPLOAD_ERR_INI_SIZE => lang('HTTP.uploadErrIniSize'), UPLOAD_ERR_FORM_SIZE => lang('HTTP.uploadErrFormSize'), UPLOAD_ERR_PARTIAL => lang('HTTP.uploadErrPartial'), UPLOAD_ERR_NO_FILE => lang('HTTP.uploadErrNoFile'), UPLOAD_ERR_CANT_WRITE => lang('HTTP.uploadErrCantWrite'), UPLOAD_ERR_NO_TMP_DIR => lang('HTTP.uploadErrNoTmpDir'), UPLOAD_ERR_EXTENSION => lang('HTTP.uploadErrExtension'), ] |
/system/Commands/Database/ShowTableInfo.php:168 | 1 | $data = [['hostname' => $this->db->hostname, 'database' => $this->db->getDatabase( ), 'username' => $this->db->username, 'DBDriver' => $this->db->getPlatform( ), 'DBPrefix' => $this->DBPrefix, 'port' => $this->db->port, ]] |
/system/Commands/Database/ShowTableInfo.php:318 | 1 | $this->tbody[] = [$row->name, $row->type, $row->max_length, isset($row->nullable) ? $this->setYesOrNo($row->nullable) : 'n/a', $row->default, isset($row->primary_key) ? $this->setYesOrNo($row->primary_key) : 'n/a', ] |
/system/Cookie/Cookie.php:167 | 1 | $newDefaults = ['prefix' => $config->prefix, 'expires' => $config->expires, 'path' => $config->path, 'domain' => $config->domain, 'secure' => $config->secure, 'httponly' => $config->httponly, 'samesite' => $config->samesite, 'raw' => $config->raw, ] |
/system/Cookie/Cookie.php:417 | 1 | return ['expires' => $this->expires, 'path' => $this->path, 'domain' => $this->domain, 'secure' => $this->secure, 'httponly' => $this->httponly, 'samesite' => $this->samesite ?: ucfirst(self::SAMESITE_LAX), ] |
/system/Commands/Utilities/Routes.php:117 | 1 | $tbody[] = [strtoupper($route['method']), $route['route'], $routeName, $route['handler'], implode(' ', array_map(class_basename(...), $filters['before'])), implode(' ', array_map(class_basename(...), $filters['after'])), ] |
/system/Helpers/url_helper.php:307 | 2 | $number = ($count === 3) ? (($temp[0] % 16) * 4096) + (($temp[1] % 64) * 64) + ($temp[2] % 64) : (($temp[0] % 32) * 64) + ($temp[1] % 64) |
/system/Commands/Database/MigrateStatus.php:157 | 1 | $headers = [CLI::color(lang('Migrations.namespace'), 'yellow'), CLI::color(lang('Migrations.version'), 'yellow'), CLI::color(lang('Migrations.filename'), 'yellow'), CLI::color(lang('Migrations.group'), 'yellow'), CLI::color(str_replace(': ', '', lang('Migrations.on')), 'yellow'), CLI::color(lang('Migrations.batch'), 'yellow'), ] |
/system/Commands/Translation/LocalizationFinder.php:212 | 1 | $isEmptyNestedArray = ($languageFileName !== '' && $phraseKeys[0] === '') || ($languageFileName === '' && $phraseKeys[0] !== '') || ($languageFileName === '' && $phraseKeys[0] === '') |
/system/Helpers/filesystem_helper.php:388 | 1 | $symbolic .= ((($perms & 0x0100) !== 0) ? 'r' : '-') . ((($perms & 0x0080) !== 0) ? 'w' : '-') . ((($perms & 0x0040) !== 0) ? ((($perms & 0x0800) !== 0) ? 's' : 'x') : ((($perms & 0x0800) !== 0) ? 'S' : '-')) |
/system/Helpers/inflector_helper.php:231 | 1 | $uncountables = in_array(strtolower($word), ['advice', 'bravery', 'butter', 'chaos', 'clarity', 'coal', 'courage', 'cowardice', 'curiosity', 'education', 'equipment', 'evidence', 'fish', 'fun', 'furniture', 'greed', 'help', 'homework', 'honesty', 'information', 'insurance', 'jewelry', 'knowledge', 'livestock', 'love', 'luck', 'marketing', 'meta', 'money', 'mud', 'news', 'patriotism', 'racism', 'rice', 'satisfaction', 'scenery', 'series', 'sexism', 'silence', 'species', 'spelling', 'sugar', 'water', 'weather', 'wisdom', 'work', ], true, ) |
/system/Helpers/text_helper.php:149 | 1 | $out .= chr(224 + (($digits - ($digits % 4096)) / 4096)) . chr(128 + ((($digits % 4096) - ($digits % 64)) / 64)) . chr(128 + ($digits % 64)) |
/system/Helpers/text_helper.php:116 | 2 | $number = ($count === 3) ? (($temp[0] % 16) * 4096) + (($temp[1] % 64) * 64) + ($temp[2] % 64) : (($temp[0] % 32) * 64) + ($temp[1] % 64) |
/system/ThirdParty/Kint/Kint.php:624 | 1 | $call['parameters'][] = ['name' => \substr($param['name'], 3) . '[' . \var_export($key, true) . ']', 'path' => \substr($param['path'], 3) . '[' . \var_export($key, true) . ']', 'expression' => false, 'literal' => false, 'new_without_parens' => false, ] |
/system/ThirdParty/Kint/Kint.php:294 | 1 | return ['aliases' => static::$aliases, 'cli_detection' => static::$cli_detection, 'depth_limit' => static::$depth_limit, 'display_called_from' => static::$display_called_from, 'enabled_mode' => static::$enabled_mode, 'expanded' => static::$expanded, 'mode_default' => static::$mode_default, 'mode_default_cli' => static::$mode_default_cli, 'plugins' => static::$plugins, 'renderers' => static::$renderers, 'return' => static::$return, ] |
/system/Helpers/filesystem_helper.php:398 | 1 | $symbolic .= ((($perms & 0x0004) !== 0) ? 'r' : '-') . ((($perms & 0x0002) !== 0) ? 'w' : '-') . ((($perms & 0x0001) !== 0) ? ((($perms & 0x0200) !== 0) ? 't' : 'x') : ((($perms & 0x0200) !== 0) ? 'T' : '-')) |
/system/Helpers/filesystem_helper.php:393 | 1 | $symbolic .= ((($perms & 0x0020) !== 0) ? 'r' : '-') . ((($perms & 0x0010) !== 0) ? 'w' : '-') . ((($perms & 0x0008) !== 0) ? ((($perms & 0x0400) !== 0) ? 's' : 'x') : ((($perms & 0x0400) !== 0) ? 'S' : '-')) |
/system/Email/Email.php:1171 | 1 | $body .= $this->getMimeMessage( ) . $this->newline . $this->newline . '--' . $boundary . $this->newline . 'Content-Type: text/plain; charset=' . $this->charset . $this->newline . 'Content-Transfer-Encoding: ' . $this->getEncoding( ) . $this->newline . $this->newline . $this->getAltMessage( ) . $this->newline . $this->newline . '--' . $boundary . $this->newline . 'Content-Type: text/html; charset=' . $this->charset . $this->newline . 'Content-Transfer-Encoding: quoted-printable' . $this->newline . $this->newline |
/system/ThirdParty/Kint/Value/Representation/ColorRepresentation.php:512 | 1 | return [(int) \round(self::hueToRgb($m1, $m2, $h + 1 / 3) * 0xFF), (int) \round(self::hueToRgb($m1, $m2, $h) * 0xFF), (int) \round(self::hueToRgb($m1, $m2, $h - 1 / 3) * 0xFF), ] |