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 |
---|---|---|
/app/plugin/doctrine/Doctrine/DBAL/Schema/Column.php:408 | 1 | array_merge(array('name' => $this->_name, 'type' => $this->_type, 'default' => $this->_default, 'notnull' => $this->_notnull, 'length' => $this->_length, 'precision' => $this->_precision, 'scale' => $this->_scale, 'fixed' => $this->_fixed, 'unsigned' => $this->_unsigned, 'autoincrement' => $this->_autoincrement, 'columnDefinition' => $this->_columnDefinition, 'comment' => $this->_comment, ), $this->_platformOptions, $this->_customSchemaOptions) |
/app/plugin/doctrine/Doctrine/Symfony/Component/Console/Application.php:801 | 1 | array_unshift($trace, array('function' => '', 'file' => $e->getFile( ) != null ? $e->getFile( ) : 'n/a', 'line' => $e->getLine( ) != null ? $e->getLine( ) : 'n/a', 'args' => array( ), )) |
/app/plugin/doctrine/Doctrine/ORM/Query.php:607 | 1 | md5($this->getDql( ) . var_export($this->_hints, true) . ($this->_em->hasFilters( ) ? $this->_em->getFilters( )->getHash( ) : '') . '&firstResult=' . $this->_firstResult . '&maxResult=' . $this->_maxResults . '&hydrationMode=' . $this->_hydrationMode . 'DOCTRINE_QUERY_CACHE_SALT') |
/app/plugin/doctrine/Doctrine/ORM/Persisters/BasicEntityPersister.php:1272 | 1 | $insertSql = $this->_platform->getEmptyIdentityInsertSQL($this->quoteStrategy->getTableName($this->_class, $this->_platform), $this->quoteStrategy->getColumnName($this->_class->identifier[0], $this->_class, $this->_platform)) |
/app/plugin/doctrine/Doctrine/ORM/Persisters/BasicEntityPersister.php:1460 | 1 | $conditionSql .= ($comparison === null) ? ((is_array($value)) ? ' IN (?)' : (($value === null) ? ' IS NULL' : ' = ' . $placeholder)) : ' ' . sprintf(self::$comparisonMap[$comparison], $placeholder) |
/app/plugin/doctrine/Doctrine/ORM/Tools/EntityGenerator.php:953 | 1 | $replacements = array('<description>' => ucfirst($type) . ' ' . $fieldName, '<methodTypeHint>' => $methodTypeHint, '<variableType>' => $variableType, '<variableName>' => Inflector::camelize($fieldName), '<methodName>' => $methodName, '<fieldName>' => $fieldName, '<variableDefault>' => ($defaultValue !== null) ? (' = ' . $defaultValue) : '', '<entity>' => $this->getClassName($metadata)) |
/app/plugin/doctrine/Doctrine/ORM/Tools/Export/Driver/YamlExporter.php:188 | 1 | $manyToManyMappingArray = array('mappedBy' => $associationMapping['mappedBy'], 'inversedBy' => $associationMapping['inversedBy'], 'joinTable' => isset($associationMapping['joinTable']) ? $associationMapping['joinTable'] : null, 'orderBy' => isset($associationMapping['orderBy']) ? $associationMapping['orderBy'] : null) |
/app/plugin/doctrine/Doctrine/ORM/Proxy/ProxyFactory.php:287 | 1 | $cheapCheck = ($method->getNumberOfParameters( ) == 0 && substr($method->getName( ), 0, 3) == "get" && in_array($identifier, $class->identifier, true) && $class->hasField($identifier) && (($method->getEndLine( ) - $method->getStartLine( )) <= 4) && in_array($class->fieldMappings[$identifier]['type'], array('integer', 'bigint', 'smallint', 'string'))) |
/app/plugin/doctrine/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php:515 | 1 | $mapping = array('fieldName' => $fieldName, 'type' => $column->type, 'scale' => $column->scale, 'length' => $column->length, 'unique' => $column->unique, 'nullable' => $column->nullable, 'precision' => $column->precision) |
/app/plugin/doctrine/Doctrine/DBAL/Query/QueryBuilder.php:980 | 1 | $query .= implode(', ', $fromClauses) . ($this->sqlParts['where'] !== null ? ' WHERE ' . ((string) $this->sqlParts['where']) : '') . ($this->sqlParts['groupBy'] ? ' GROUP BY ' . implode(', ', $this->sqlParts['groupBy']) : '') . ($this->sqlParts['having'] !== null ? ' HAVING ' . ((string) $this->sqlParts['having']) : '') . ($this->sqlParts['orderBy'] ? ' ORDER BY ' . implode(', ', $this->sqlParts['orderBy']) : '') |
/app/plugin/doctrine/Doctrine/DBAL/Query/QueryBuilder.php:999 | 1 | $query = 'UPDATE ' . $table . ' SET ' . implode(", ", $this->sqlParts['set']) . ($this->sqlParts['where'] !== null ? ' WHERE ' . ((string) $this->sqlParts['where']) : '') |
/app/plugin/doctrine/Doctrine/DBAL/Schema/PostgreSqlSchemaManager.php:343 | 1 | $options = array('length' => $length, 'notnull' => (bool) $tableColumn['isnotnull'], 'default' => $tableColumn['default'], 'primary' => (bool) ($tableColumn['pri'] == 't'), 'precision' => $precision, 'scale' => $scale, 'fixed' => $fixed, 'unsigned' => false, 'autoincrement' => $autoincrement, 'comment' => $tableColumn['comment'], ) |
/app/plugin/doctrine/Doctrine/DBAL/Schema/OracleSchemaManager.php:184 | 1 | $options = array('notnull' => (bool) ($tableColumn['nullable'] === 'N'), 'fixed' => (bool) $fixed, 'unsigned' => (bool) $unsigned, 'default' => $tableColumn['data_default'], 'length' => $length, 'precision' => $precision, 'scale' => $scale, 'comment' => (isset($tableColumn['comments'])) ? $tableColumn['comments'] : null, 'platformDetails' => array( ), ) |
/app/plugin/doctrine/Doctrine/DBAL/Schema/AbstractSchemaManager.php:709 | 1 | $result[$keyName] = array('name' => $indexName, 'columns' => array($tableIndex['column_name']), 'unique' => $tableIndex['non_unique'] ? false : true, 'primary' => $tableIndex['primary'], 'flags' => isset($tableIndex['flags']) ? $tableIndex['flags'] : array( ), ) |
/app/plugin/doctrine/Doctrine/DBAL/Schema/DrizzleSchemaManager.php:38 | 1 | $options = array('notnull' => !(bool) $tableColumn['IS_NULLABLE'], 'length' => (int) $tableColumn['CHARACTER_MAXIMUM_LENGTH'], 'default' => empty($tableColumn['COLUMN_DEFAULT']) ? null : $tableColumn['COLUMN_DEFAULT'], 'autoincrement' => (bool) $tableColumn['IS_AUTO_INCREMENT'], 'scale' => (int) $tableColumn['NUMERIC_SCALE'], 'precision' => (int) $tableColumn['NUMERIC_PRECISION'], 'comment' => (isset($tableColumn['COLUMN_COMMENT']) ? $tableColumn['COLUMN_COMMENT'] : null), ) |
/app/plugin/doctrine/Doctrine/DBAL/Schema/SQLServerSchemaManager.php:90 | 2 | $options = array('length' => ($length == 0 || !in_array($type, array('text', 'string'))) ? null : $length, 'unsigned' => (bool) $unsigned, 'fixed' => (bool) $fixed, 'default' => $default !== 'NULL' ? $default : null, 'notnull' => (bool) ($tableColumn['IS_NULLABLE'] != 'YES'), 'scale' => $tableColumn['SCALE'], 'precision' => $tableColumn['PRECISION'], 'autoincrement' => $autoincrement, ) |
/app/plugin/doctrine/Doctrine/DBAL/Schema/SQLServerSchemaManager.php:125 | 1 | $result[$keyName] = array('name' => $indexName, 'columns' => explode(', ', $tableIndex['index_keys']), 'unique' => strpos($tableIndex['index_description'], 'unique') !== false, 'primary' => strpos($tableIndex['index_description'], 'primary key') !== false, 'flags' => $flags, ) |
/app/plugin/doctrine/Doctrine/DBAL/Schema/MySqlSchemaManager.php:148 | 1 | $options = array('length' => $length, 'unsigned' => (bool) (strpos($tableColumn['type'], 'unsigned') !== false), 'fixed' => (bool) $fixed, 'default' => isset($tableColumn['default']) ? $tableColumn['default'] : null, 'notnull' => (bool) ($tableColumn['null'] != 'YES'), 'scale' => null, 'precision' => null, 'autoincrement' => (bool) (strpos($tableColumn['extra'], 'auto_increment') !== false), 'comment' => (isset($tableColumn['comment'])) ? $tableColumn['comment'] : null) |
/app/plugin/doctrine/Doctrine/DBAL/Schema/DB2SchemaManager.php:95 | 1 | $options = array('length' => $length, 'unsigned' => (bool) $unsigned, 'fixed' => (bool) $fixed, 'default' => ($tableColumn['default'] == "NULL") ? null : $tableColumn['default'], 'notnull' => (bool) ($tableColumn['nulls'] == 'N'), 'scale' => null, 'precision' => null, 'platformOptions' => array( ), ) |
/_japp/model/lib/db/nestedset/base.php:347 | 1 | $Res = jf::SQL("SELECT node.*, (COUNT(parent.{$this->ID( )}) - 1) AS Depth FROM {$this->Table( )} AS node, {$this->Table( )} AS parent WHERE node.{$this->Left( )} BETWEEN parent.{$this->Left( )} AND parent.{$this->Right( )} GROUP BY node.{$this->ID( )} ORDER BY node.{$this->Left( )}") |
/_japp/model/lib/db/nestedset/base.php:336 | 1 | $Res = jf::SQL("INSERT INTO {$this->Table( )} ({$this->Left( )},{$this->Right( )}) " . "VALUES(?,?)", $Sibl["Left"] + 1, $Sibl["Left"] + 2) |
/_japp/model/lib/db/nestedset/full.php:229 | 1 | $Query = " SELECT node.*, (COUNT(parent.{$this->ID( )})-1 $DepthConcat) AS Depth FROM {$this->Table( )} AS node, {$this->Table( )} AS parent, {$this->Table( )} AS sub_parent, ( SELECT node.{$this->ID( )}, (COUNT(parent.{$this->ID( )}) - 1) AS depth FROM {$this->Table( )} AS node, {$this->Table( )} AS parent WHERE node.{$this->Left( )} BETWEEN parent.{$this->Left( )} AND parent.{$this->Right( )} AND (node.$ConditionString) GROUP BY node.{$this->ID( )} ORDER BY node.{$this->Left( )} ) AS sub_tree WHERE node.{$this->Left( )} BETWEEN parent.{$this->Left( )} AND parent.{$this->Right( )} AND node.{$this->Left( )} BETWEEN sub_parent.{$this->Left( )} AND sub_parent.{$this->Right( )} AND sub_parent.{$this->ID( )} = sub_tree.{$this->ID( )} GROUP BY node.{$this->ID( )} HAVING Depth > 0 ORDER BY node.{$this->Left( )}" |
/_japp/model/lib/db/nestedset/full.php:191 | 1 | $Query = "SELECT {$this->Left( )} AS `Left`,{$this->Right( )} AS `Right` ,{$this->Right( )}-{$this->Left( )}+ 1 AS Width FROM {$this->Table( )} WHERE $ConditionString" |
/_japp/model/lib/db/nestedset/full.php:307 | 1 | $Query = " SELECT parent.* FROM {$this->Table( )} AS node, {$this->Table( )} AS parent WHERE node.{$this->Left( )} BETWEEN parent.{$this->Left( )} AND parent.{$this->Right( )} AND ( node.$ConditionString ) ORDER BY parent.{$this->Left( )}" |
/_japp/model/lib/db/nestedset/full.php:268 | 1 | $Query = " SELECT node.*, (COUNT(parent.{$this->ID( )})-1 - (sub_tree.depth )) AS Depth FROM {$this->Table( )} AS node, {$this->Table( )} AS parent, {$this->Table( )} AS sub_parent, ( SELECT node.{$this->ID( )}, (COUNT(parent.{$this->ID( )}) - 1) AS depth FROM {$this->Table( )} AS node, {$this->Table( )} AS parent WHERE node.{$this->Left( )} BETWEEN parent.{$this->Left( )} AND parent.{$this->Right( )} AND (node.$ConditionString) GROUP BY node.{$this->ID( )} ORDER BY node.{$this->Left( )} ) AS sub_tree WHERE node.{$this->Left( )} BETWEEN parent.{$this->Left( )} AND parent.{$this->Right( )} AND node.{$this->Left( )} BETWEEN sub_parent.{$this->Left( )} AND sub_parent.{$this->Right( )} AND sub_parent.{$this->ID( )} = sub_tree.{$this->ID( )} GROUP BY node.{$this->ID( )} HAVING Depth = 1 ORDER BY node.{$this->Left( )}" |
/app/plugin/stats.php:34 | 1 | $res = jf::SQL("INSERT INTO {$this->TablePrefix( )}stats (UserID,SessionID,Timestamp,Page,Query,IP,Host,Protocol,UserAgent) VALUES (?,?,?,?,?,?,?,?,?)", jf::CurrentUser( ) ?: 0, jf::$Session->SessionID( ), jf::time( ), HttpRequest::URI( ), HttpRequest::QueryString( ), HttpRequest::IP( ), HttpRequest::Host( ), HttpRequest::Protocol( ), HttpRequest::UserAgent( )) |
/_japp/model/lib/db/nestedset/full.php:335 | 1 | $Query = "SELECT * FROM {$this->Table( )} WHERE {$this->Right( )} = {$this->Left( )} + 1 AND {$this->Left( )} BETWEEN (SELECT {$this->Left( )} FROM {$this->Table( )} $ConditionString) AND (SELECT {$this->Right( )} FROM {$this->Table( )} $ConditionString)" |
/app/plugin/doctrine/Doctrine/ORM/UnitOfWork.php:2417 | 1 | $idHash = isset($class->associationMappings[$class->identifier[0]]) ? $data[$class->associationMappings[$class->identifier[0]]['joinColumns'][0]['name']] : $data[$class->identifier[0]] |
/app/plugin/doctrine.php:48 | 1 | $conn = array('driver' => $adapter, 'user' => $db->Username, 'password' => $db->Password, 'host' => $db->Host, 'dbname' => $db->DatabaseName, 'charset' => 'utf8', 'path' => $db->DatabaseName, ) |
/app/plugin/doctrine/Doctrine/ORM/AbstractQuery.php:278 | 1 | $values = ($this->_em->getUnitOfWork( )->getEntityState($value) === UnitOfWork::STATE_MANAGED) ? $this->_em->getUnitOfWork( )->getEntityIdentifier($value) : $class->getIdentifierValues($value) |
/app/plugin/doctrine/Doctrine/ORM/QueryBuilder.php:1088 | 1 | $dql .= implode(', ', $fromClauses) . $this->_getReducedDQLQueryPart('where', array('pre' => ' WHERE ')) . $this->_getReducedDQLQueryPart('groupBy', array('pre' => ' GROUP BY ', 'separator' => ', ')) . $this->_getReducedDQLQueryPart('having', array('pre' => ' HAVING ')) . $this->_getReducedDQLQueryPart('orderBy', array('pre' => ' ORDER BY ', 'separator' => ', ')) |
/app/plugin/doctrine/Doctrine/ORM/Query/SqlWalker.php:365 | 1 | $tableName = ($qComp['metadata']->isInheritanceTypeJoined( )) ? $this->em->getUnitOfWork( )->getEntityPersister($qComp['metadata']->name)->getOwningTable($fieldName) : $qComp['metadata']->getTableName( ) |
/app/plugin/doctrine/Doctrine/ORM/Query/Parser.php:1577 | 1 | $joinQueryComponent = array('metadata' => $targetClass, 'parent' => $joinAssociationPathExpression->identificationVariable, 'relation' => $class->getAssociationMapping($field), 'map' => null, 'nestingLevel' => $this->_nestingLevel, 'token' => $this->_lexer->lookahead) |
/app/plugin/doctrine/Doctrine/ORM/Query/SqlWalker.php:649 | 1 | $addMetaColumns = !$this->query->getHint(Query::HINT_FORCE_PARTIAL_LOAD) && $this->query->getHydrationMode( ) == Query::HYDRATE_OBJECT || $this->query->getHydrationMode( ) != Query::HYDRATE_OBJECT && $this->query->getHint(Query::HINT_INCLUDE_META_COLUMNS) |
/app/plugin/doctrine/Doctrine/ORM/Query/SqlWalker.php:402 | 1 | $sqlParts[] = (($this->useSqlTableAliases) ? $this->getSQLTableAlias($class->getTableName( ), $dqlAlias) . '.' : '') . $class->discriminatorColumn['name'] . ' IN (' . implode(', ', $values) . ')' |
/_japp/plugin/nusoap/nusoap.php:7944 | 1 | $evalStr .= "// $paramCommentStr
function " . str_replace('.', '__', $operation) . "($paramStr) { \$params = array($paramArrayStr); return \$this->call('$operation', \$params, '" . $opData['namespace'] . "', '" . (isset($opData['soapAction']) ? $opData['soapAction'] : '') . "'); } " |
/_japp/model/lib/user.php:153 | 4 | $r = jf::SQL("UPDATE {$this->TablePrefix( )}session SET UserID=?,LoginDate=?,LastAccess=?,AccessCount=? WHERE SessionID=?", $UserID, jf::time( ), jf::time( ), 1, jf::$Session->SessionID( )) |
/_japp/model/lib/user.php:167 | 4 | $r = jf::SQL("UPDATE {$this->TablePrefix( )}session SET UserID=?,LoginDate=?,LastAccess=?,AccessCount=? WHERE SessionID=?", $UserID, jf::time( ), jf::time( ), 1, jf::$Session->SessionID( )) |
/_japp/model/lib/user.php:173 | 4 | $r = jf::SQL("UPDATE {$this->TablePrefix( )}session SET UserID=?,LoginDate=?,LastAccess=?,AccessCount=? WHERE SessionID=?", $UserID, jf::time( ), jf::time( ), 1, jf::$Session->SessionID( )) |
/_japp/model/lib/user.php:179 | 4 | $r = jf::SQL("UPDATE {$this->TablePrefix( )}session SET UserID=?,LoginDate=?,LastAccess=?,AccessCount=? WHERE SessionID=?", $UserID, jf::time( ), jf::time( ), 1, jf::$Session->SessionID( )) |
/_japp/model/lib/rbac.php:135 | 1 | $this->ps_Check = jf::db( )->prepare("SELECT COUNT(*) AS Result FROM {$this->TablePrefix( )}rbac_userroles AS TUrel JOIN {$this->TablePrefix( )}rbac_roles AS TRdirect ON (TRdirect.ID=TUrel.RoleID) JOIN {$this->TablePrefix( )}rbac_roles AS TR ON ( TR.Lft BETWEEN TRdirect.Lft AND TRdirect.Rght) /* we join direct roles with indirect roles to have all descendants of direct roles */ JOIN ( {$this->TablePrefix( )}rbac_permissions AS TPdirect JOIN {$this->TablePrefix( )}rbac_permissions AS TP ON ( TPdirect.Lft BETWEEN TP.Lft AND TP.Rght) /* direct and indirect permissions */ JOIN {$this->TablePrefix( )}rbac_rolepermissions AS TRel ON (TP.ID=TRel.PermissionID) /* joined with role/permissions on roles that are in relation with these permissions*/ ) ON ( TR.ID = TRel.RoleID) WHERE /* TU.ID=? */ TUrel.UserID=? AND TPdirect.ID=? ") |
/_japp/model/lib/rbac/roles.php:86 | 1 | $Res = jf::SQL(" SELECT COUNT(*) AS Result FROM {$this->TablePrefix( )}rbac_rolepermissions AS TRel JOIN {$this->TablePrefix( )}rbac_permissions AS TP ON ( TP.ID= TRel.PermissionID) JOIN {$this->TablePrefix( )}rbac_roles AS TR ON ( TR.ID = TRel.RoleID) WHERE TR.Lft BETWEEN (SELECT Lft FROM {$this->TablePrefix( )}rbac_roles WHERE ID=?) AND (SELECT Rght FROM {$this->TablePrefix( )}rbac_roles WHERE ID=?) /* the above section means any row that is a descendants of our role (if descendant roles have some permission, then our role has it two) */ AND TP.ID IN ( SELECT parent.ID FROM {$this->TablePrefix( )}rbac_permissions AS node, {$this->TablePrefix( )}rbac_permissions AS parent WHERE node.Lft BETWEEN parent.Lft AND parent.Rght AND ( node.ID=? ) ORDER BY parent.Lft ); /* the above section returns all the parents of (the path to) our permission, so if one of our role or its descendants has an assignment to any of them, we're good. */ ", $Role, $Role, $Permission) |
/_japp/model/lib/rbac/base.php:69 | 1 | $res = jf::SQL("SELECT node.ID,GROUP_CONCAT(parent.Title ORDER BY parent.Lft SEPARATOR '/' ) AS Path FROM {$this->TablePrefix( )}rbac_{$this->Type( )} AS node, {$this->TablePrefix( )}rbac_{$this->Type( )} AS parent WHERE node.Lft BETWEEN parent.Lft AND parent.Rght AND node.Title=? GROUP BY node.ID HAVING Path = ? ORDER BY parent.Lft ", $Parts[count($Parts) - 1], $Path) |
/_japp/model/lib/db/nestedset/base.php:86 | 1 | $Res = jf::SQL("SELECT ({$this->Right( )}-{$this->Left( )}-1)/2 AS `Count` FROM {$this->Table( )} WHERE {$this->ID( )}=?", $ID) |
/_japp/model/lib/db/nestedset/base.php:142 | 1 | $Info = jf::SQL("SELECT {$this->Left( )} AS `Left`,{$this->Right( )} AS `Right` FROM {$this->Table( )} WHERE {$this->ID( )} = ?; ", $ID) |
/_japp/model/lib/db/nestedset/base.php:166 | 1 | $Info = jf::SQL("SELECT {$this->Left( )} AS `Left`,{$this->Right( )} AS `Right` ,{$this->Right( )}-{$this->Left( )}+ 1 AS Width FROM {$this->Table( )} WHERE {$this->ID( )} = ?; ", $ID) |
/_japp/model/lib/db/nestedset/base.php:197 | 1 | $Res = jf::SQL(" SELECT node.*, (COUNT(parent.{$this->ID( )})-1 $DepthConcat ) AS Depth FROM {$this->Table( )} AS node, {$this->Table( )} AS parent, {$this->Table( )} AS sub_parent, ( SELECT node.{$this->ID( )}, (COUNT(parent.{$this->ID( )}) - 1) AS depth FROM {$this->Table( )} AS node, {$this->Table( )} AS parent WHERE node.{$this->Left( )} BETWEEN parent.{$this->Left( )} AND parent.{$this->Right( )} AND node.{$this->ID( )} = ? GROUP BY node.{$this->ID( )} ORDER BY node.{$this->Left( )} ) AS sub_tree WHERE node.{$this->Left( )} BETWEEN parent.{$this->Left( )} AND parent.{$this->Right( )} AND node.{$this->Left( )} BETWEEN sub_parent.{$this->Left( )} AND sub_parent.{$this->Right( )} AND sub_parent.{$this->ID( )} = sub_tree.{$this->ID( )} GROUP BY node.{$this->ID( )} HAVING Depth > 0 ORDER BY node.{$this->Left( )}", $ID) |
/app/plugin/doctrine/Doctrine/Symfony/Component/Yaml/Inline.php:132 | 1 | if((1 == count($keys) && '0' == $keys[0]) || (count($keys) > 1 && array_reduce($keys, function ($v, $w) { /**/ } , 0) == count($keys) * (count($keys) - 1) / 2)) { /**/ } |
/app/plugin/doctrine/Doctrine/Common/Annotations/DocParser.php:826 | 1 | while ($this->lexer->lookahead['position'] === ($this->lexer->token['position'] + strlen($this->lexer->token['value'])) && $this->lexer->isNextToken(DocLexer::T_NAMESPACE_SEPARATOR)) { /**/ } |
/app/plugin/doctrine/Doctrine/Common/Annotations/DocParser.php:525 | 1 | if((null === $peek = $this->lexer->glimpse( )) || (DocLexer::T_NAMESPACE_SEPARATOR !== $peek['type'] && !in_array($peek['type'], self::$classIdentifiers, true)) || $peek['position'] !== $this->lexer->lookahead['position'] + 1) { /**/ } |
/app/plugin/doctrine/Doctrine/Symfony/Component/Console/Input/InputDefinition.php:448 | 1 | if($option->acceptValue( ) && null !== $option->getDefault( ) && (!is_array($option->getDefault( )) || count($option->getDefault( )))) { /**/ } else { /**/ } |
/app/plugin/doctrine/Doctrine/Common/Annotations/TokenParser.php:71 | 1 | if($this->tokens[$i][0] === T_WHITESPACE || $this->tokens[$i][0] === T_COMMENT || ($docCommentIsComment && $this->tokens[$i][0] === T_DOC_COMMENT)) { /**/ } |
/app/plugin/doctrine/Doctrine/ORM/Persisters/BasicEntityPersister.php:1283 | 1 | if(isset($this->_class->fieldNames[$column]) && isset($this->_columnTypes[$this->_class->fieldNames[$column]]) && isset($this->_class->fieldMappings[$this->_class->fieldNames[$column]]['requireSQLConversion'])) { /**/ } |
/app/plugin/doctrine/Doctrine/ORM/Query/Exec/MultiTableUpdateExecutor.php:94 | 1 | if(isset($class->fieldMappings[$field]) && !isset($class->fieldMappings[$field]['inherited']) || isset($class->associationMappings[$field]) && !isset($class->associationMappings[$field]['inherited'])) { /**/ } |
/app/plugin/doctrine/Doctrine/Common/Annotations/DocParser.php:518 | 1 | if(null !== $this->lexer->token && $this->lexer->lookahead['position'] === $this->lexer->token['position'] + strlen($this->lexer->token['value'])) { /**/ } |
/app/plugin/doctrine/Doctrine/ORM/Persisters/JoinedSubclassPersister.php:458 | 1 | if(isset($this->_class->fieldMappings[$name]['inherited']) && !isset($this->_class->fieldMappings[$name]['id']) || isset($this->_class->associationMappings[$name]['inherited']) || ($this->_class->isVersioned && $this->_class->versionField == $name)) { /**/ } |
/app/plugin/doctrine/Doctrine/ORM/UnitOfWork.php:2554 | 1 | if($hints['fetchMode'][$class->name][$field] == ClassMetadata::FETCH_EAGER && isset($hints['deferEagerLoad']) && !$targetClass->isIdentifierComposite && $newValue instanceof Proxy && $newValue->__isInitialized__ === false) { /**/ } |
/_japp/plugin/useragent/mobile.php:31 | 1 | elseif(in_array(strtolower(substr($UserAgent, 0, 4)), array('1207' => '1207', '3gso' => '3gso', '4thp' => '4thp', '501i' => '501i', '502i' => '502i', '503i' => '503i', '504i' => '504i', '505i' => '505i', '506i' => '506i', '6310' => '6310', '6590' => '6590', '770s' => '770s', '802s' => '802s', 'a wa' => 'a wa', 'acer' => 'acer', 'acs-' => 'acs-', 'airn' => 'airn', 'alav' => 'alav', 'asus' => 'asus', 'attw' => 'attw', 'au-m' => 'au-m', 'aur ' => 'aur ', 'aus ' => 'aus ', 'abac' => 'abac', 'acoo' => 'acoo', 'aiko' => 'aiko', 'alco' => 'alco', 'alca' => 'alca', 'amoi' => 'amoi', 'anex' => 'anex', 'anny' => 'anny', 'anyw' => 'anyw', 'aptu' => 'aptu', 'arch' => 'arch', 'argo' => 'argo', 'bell' => 'bell', 'bird' => 'bird', 'bw-n' => 'bw-n', 'bw-u' => 'bw-u', 'beck' => 'beck', 'benq' => 'benq', 'bilb' => 'bilb', 'blac' => 'blac', 'c55/' => 'c55/', 'cdm-' => 'cdm-', 'chtm' => 'chtm', 'capi' => 'capi', 'comp' => 'comp', 'cond' => 'cond', 'craw' => 'craw', 'dall' => 'dall', 'dbte' => 'dbte', 'dc-s' if(in_array($peek['value'], array("=", "<", "<=", "<>", ">", ">=", "!=")) || in_array($peek['type'], array(Lexer::T_NOT, Lexer::T_BETWEEN, Lexer::T_LIKE, Lexer::T_IN, Lexer::T_IS, Lexer::T_EXISTS)) || $this->_isMathOperator($peek)) { /**/ } |
/app/plugin/doctrine/Doctrine/ORM/PersistentCollection.php:311 | 1 | if($this->association !== null && $this->association['isOwningSide'] && $this->association['type'] === ClassMetadata::MANY_TO_MANY && $this->owner && $this->em->getClassMetadata(get_class($this->owner))->isChangeTrackingNotify( )) { /**/ } |
/_japp/plugin/nusoap/nusoap.php:2316 | 1 | if($this->use_curl || ($this->scheme == 'https') || ($this->scheme == 'http' && $this->authtype == 'ntlm') || ($this->scheme == 'http' && is_array($this->proxy) && $this->proxy['authtype'] == 'ntlm')) /**/ |
/_japp/plugin/nusoap/nusoap.php:6316 | 1 | if(isset($attrs['maxOccurs']) && ($attrs['maxOccurs'] == 'unbounded' || $attrs['maxOccurs'] > 1) && isset($v) && is_array($v) && $this->isArraySimpleOrStruct($v) == 'arraySimple') { /**/ } else { /**/ } |
/_japp/plugin/nusoap/nusoap.php:2318 | 1 | if(($this->scheme == 'http' || $this->scheme == 'ssl') && $this->authtype != 'ntlm' && (!is_array($this->proxy) || $this->proxy['authtype'] != 'ntlm')) /**/ |
/app/plugin/doctrine/Doctrine/Symfony/Component/Console/Tests/Input/InputDefinitionTest.php:323 | 1 | $definition = new InputDefinition(array(new InputArgument('foo', InputArgument::OPTIONAL, 'The foo argument'), new InputArgument('baz', InputArgument::OPTIONAL, 'The baz argument', true), new InputArgument('bar', InputArgument::OPTIONAL | InputArgument::IS_ARRAY, 'The bar argument', array('bar')), new InputOption('foo', 'f', InputOption::VALUE_REQUIRED, 'The foo option'), new InputOption('baz', null, InputOption::VALUE_OPTIONAL, 'The baz option', false), new InputOption('bar', 'b', InputOption::VALUE_OPTIONAL, 'The bar option', 'bar'), new InputOption('qux', '', InputOption::VALUE_OPTIONAL | InputOption::VALUE_IS_ARRAY, 'The qux option', array('foo', 'bar')), new InputOption('qux2', '', InputOption::VALUE_OPTIONAL | InputOption::VALUE_IS_ARRAY, 'The qux2 option', array('foo' => 'bar')), )) |
/_japp/plugin/nusoap/nusoap.php:7119 | 1 | $params['!'] = $this->decodeSimple($this->message[$pos]['cdata'], $this->message[$pos]['type'], isset($this->message[$pos]['type_namespace']) ? $this->message[$pos]['type_namespace'] : '') |
/app/plugin/doctrine/Doctrine/Symfony/Component/Console/Tests/Input/InputDefinitionTest.php:338 | 1 | $definition = new InputDefinition(array(new InputArgument('foo', InputArgument::OPTIONAL, 'The foo argument'), new InputArgument('baz', InputArgument::OPTIONAL, 'The baz argument', true), new InputArgument('bar', InputArgument::OPTIONAL | InputArgument::IS_ARRAY, 'The bar argument', array('bar')), new InputOption('foo', 'f', InputOption::VALUE_REQUIRED, 'The foo option'), new InputOption('baz', null, InputOption::VALUE_OPTIONAL, 'The baz option', false), new InputOption('bar', 'b', InputOption::VALUE_OPTIONAL, 'The bar option', 'bar'), )) |
/_japp/plugin/nusoap/nusoap.php:7123 | 1 | $params['!'] = $this->decodeSimple($this->message[$pos]['cdata'], $this->message[$parent]['arrayType'], isset($this->message[$parent]['arrayTypeNamespace']) ? $this->message[$parent]['arrayTypeNamespace'] : '') |
/app/plugin/doctrine/Doctrine/Symfony/Component/Yaml/Dumper.php:43 | 1 | $output .= sprintf('%s%s%s%s', $prefix, $isAHash ? Inline::dump($key) . ':' : '-', $willBeInlined ? ' ' : "\n", $this->dump($value, $inline - 1, $willBeInlined ? 0 : $indent + 4)) . ($willBeInlined ? "\n" : '') |
/_japp/plugin/nusoap/nusoap.php:6878 | 1 | $this->message[$pos]['result'] = $this->decodeSimple($this->message[$pos]['cdata'], $this->message[$pos]['type'], isset($this->message[$pos]['type_namespace']) ? $this->message[$pos]['type_namespace'] : '') |
/_japp/plugin/nusoap/nusoap.php:6882 | 1 | $this->message[$pos]['result'] = $this->decodeSimple($this->message[$pos]['cdata'], $this->message[$parent]['arrayType'], isset($this->message[$parent]['arrayTypeNamespace']) ? $this->message[$parent]['arrayTypeNamespace'] : '') |
/app/plugin/doctrine/Doctrine/Symfony/Component/Console/Input/InputDefinition.php:496 | 1 | $defaults = is_array($argument->getDefault( )) ? $argument->getDefault( ) : (is_bool($argument->getDefault( )) ? array(var_export($argument->getDefault( ), true)) : ($argument->getDefault( ) ? array($argument->getDefault( )) : array( ))) |
/_japp/plugin/nusoap/nusoap.php:6861 | 1 | $this->message[$pos]['xattrs']['!'] = $this->decodeSimple($this->message[$pos]['cdata'], $this->message[$pos]['type'], isset($this->message[$pos]['type_namespace']) ? $this->message[$pos]['type_namespace'] : '') |
/app/plugin/doctrine/Doctrine/Symfony/Component/Console/Input/InputDefinition.php:516 | 1 | $defaults = is_array($option->getDefault( )) ? $option->getDefault( ) : (is_bool($option->getDefault( )) ? array(var_export($option->getDefault( ), true)) : ($option->getDefault( ) ? array($option->getDefault( )) : array( ))) |
/_japp/plugin/nusoap/nusoap.php:6865 | 1 | $this->message[$pos]['xattrs']['!'] = $this->decodeSimple($this->message[$pos]['cdata'], $this->message[$parent]['arrayType'], isset($this->message[$parent]['arrayTypeNamespace']) ? $this->message[$parent]['arrayTypeNamespace'] : '') |
/app/plugin/doctrine/Doctrine/Symfony/Component/Console/Tests/Input/InputDefinitionTest.php:163 | 1 | $definition = new InputDefinition(array(new InputArgument('foo1', InputArgument::OPTIONAL), new InputArgument('foo2', InputArgument::OPTIONAL, '', 'default'), new InputArgument('foo3', InputArgument::OPTIONAL | InputArgument::IS_ARRAY), )) |
/_japp/plugin/nusoap/nusoap.php:6152 | 1 | $xml = "<$name$elementNS xsi:type=\"" . $this->getPrefixFromNamespace('http://schemas.xmlsoap.org/soap/encoding/') . ':Array" ' . $this->getPrefixFromNamespace('http://schemas.xmlsoap.org/soap/encoding/') . ':arrayType="' . $this->getPrefixFromNamespace($this->getPrefix($typeDef['arrayType'])) . ":" . $this->getLocalPart($typeDef['arrayType']) . "[$rows$cols]\">" . $contents . "</$name>" |
/app/plugin/doctrine/Doctrine/Symfony/Component/Console/Tests/Input/InputDefinitionTest.php:279 | 1 | $definition = new InputDefinition(array(new InputOption('foo1', null, InputOption::VALUE_NONE), new InputOption('foo2', null, InputOption::VALUE_REQUIRED), new InputOption('foo3', null, InputOption::VALUE_REQUIRED, '', 'default'), new InputOption('foo4', null, InputOption::VALUE_OPTIONAL), new InputOption('foo5', null, InputOption::VALUE_OPTIONAL, '', 'default'), new InputOption('foo6', null, InputOption::VALUE_OPTIONAL | InputOption::VALUE_IS_ARRAY), new InputOption('foo7', null, InputOption::VALUE_OPTIONAL | InputOption::VALUE_IS_ARRAY, '', array(1, 2)), )) |
/_japp/plugin/nusoap/nusoap.php:6469 | 1 | $this->bindings[$this->serviceName . 'Binding']['operations'][$name] = array('name' => $name, 'binding' => $this->serviceName . 'Binding', 'endpoint' => $this->endpoint, 'soapAction' => $soapaction, 'style' => $style, 'input' => array('use' => $use, 'namespace' => $namespace, 'encodingStyle' => $encodingStyle, 'message' => $name . 'Request', 'parts' => $in), 'output' => array('use' => $use, 'namespace' => $namespace, 'encodingStyle' => $encodingStyle, 'message' => $name . 'Response', 'parts' => $out), 'namespace' => $namespace, 'transport' => 'http://schemas.xmlsoap.org/soap/http', 'documentation' => $documentation) |
/app/plugin/doctrine/Doctrine/DBAL/Sharding/SQLAzure/SQLAzureShardManager.php:159 | 1 | $sql = sprintf("USE FEDERATION %s (%s = %s) WITH RESET, FILTERING = %s;", $platform->quoteIdentifier($this->federationName), $platform->quoteIdentifier($this->distributionKey), $this->conn->quote($distributionValue), ($this->filteringEnabled ? 'ON' : 'OFF')) |
/_japp/plugin/nusoap/nusoap.php:4749 | 1 | $this->bindings[$binding]['operations'][$operation]['output'] = isset($this->bindings[$binding]['operations'][$operation]['output']) ? array_merge($this->bindings[$binding]['operations'][$operation]['output'], $this->portTypes[$bindingData['portType']][$operation]['output']) : $this->portTypes[$bindingData['portType']][$operation]['output'] |
/app/plugin/doctrine/Doctrine/Common/Annotations/DocParser.php:412 | 1 | $metadata = array('default_property' => null, 'has_constructor' => (null !== $constructor = $class->getConstructor( )) && $constructor->getNumberOfParameters( ) > 0, 'properties' => array( ), 'property_types' => array( ), 'attribute_types' => array( ), 'targets_literal' => null, 'targets' => Target::TARGET_ALL, 'is_annotation' => false !== strpos($docComment, '@Annotation'), ) |
/_japp/plugin/nusoap/nusoap.php:6107 | 1 | $xml = "<$name$elementNS xsi:nil=\"true\" xsi:type=\"" . $this->getPrefixFromNamespace('http://schemas.xmlsoap.org/soap/encoding/') . ":Array\" " . $this->getPrefixFromNamespace('http://schemas.xmlsoap.org/soap/encoding/') . ':arrayType="' . $this->getPrefixFromNamespace($this->getPrefix($typeDef['arrayType'])) . ':' . $this->getLocalPart($typeDef['arrayType']) . "[0]\"/>" |
/app/plugin/doctrine/Doctrine/Symfony/Component/Console/Application.php:249 | 1 | $messages[] = sprintf(' %-29s %s %s', '<info>--' . $option->getName( ) . '</info>', $option->getShortcut( ) ? '<info>-' . $option->getShortcut( ) . '</info>' : ' ', $option->getDescription( )) |
/_japp/plugin/nusoap/nusoap.php:4725 | 2 | $url = $wsdlparts['scheme'] . '://' . $wsdlparts['host'] . (isset($wsdlparts['port']) ? ':' . $wsdlparts['port'] : '') . substr($wsdlparts['path'], 0, strrpos($wsdlparts['path'], '/') + 1) . $urlparts['path'] |
/app/plugin/doctrine/Doctrine/Symfony/Component/Console/Input/InputDefinition.php:458 | 1 | $text[] = sprintf(" <info>%s</info> %-${optionMax}s%s%s%s", '--' . $option->getName( ), $option->getShortcut( ) ? sprintf('(-%s) ', $option->getShortcut( )) : '', $description, $default, $multiple) |
/_japp/plugin/nusoap/nusoap.php:4745 | 1 | $this->bindings[$binding]['operations'][$operation]['input'] = isset($this->bindings[$binding]['operations'][$operation]['input']) ? array_merge($this->bindings[$binding]['operations'][$operation]['input'], $this->portTypes[$bindingData['portType']][$operation]['input']) : $this->portTypes[$bindingData['portType']][$operation]['input'] |
/app/plugin/doctrine/Doctrine/DBAL/Schema/MsSqlSchemaManager.php:87 | 2 | $options = array('length' => ($length == 0 || !in_array($type, array('text', 'string'))) ? null : $length, 'unsigned' => (bool) $unsigned, 'fixed' => (bool) $fixed, 'default' => $default !== 'NULL' ? $default : null, 'notnull' => (bool) ($tableColumn['IS_NULLABLE'] != 'YES'), 'scale' => $tableColumn['SCALE'], 'precision' => $tableColumn['PRECISION'], 'autoincrement' => $autoincrement, ) |
/_japp/plugin/nusoap/nusoap.php:1060 | 1 | $return_msg = '<?xml version="1.0" encoding="' . $this->soap_defencoding . '"?>' . '<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"' . $ns_string . ">\n" . '<SOAP-ENV:Body>' . '<SOAP-ENV:Fault>' . $this->serialize_val($this->faultcode, 'faultcode') . $this->serialize_val($this->faultactor, 'faultactor') . $this->serialize_val($this->faultstring, 'faultstring') . $this->serialize_val($this->faultdetail, 'detail') . '</SOAP-ENV:Fault>' . '</SOAP-ENV:Body>' . '</SOAP-ENV:Envelope>' |
/app/plugin/doctrine/Doctrine/DBAL/Schema/MsSqlSchemaManager.php:114 | 1 | $result[$keyName] = array('name' => $indexName, 'columns' => explode(', ', $tableIndex['index_keys']), 'unique' => strpos($tableIndex['index_description'], 'unique') !== false, 'primary' => strpos($tableIndex['index_description'], 'primary key') !== false, ) |
/_japp/plugin/nusoap/nusoap.php:4699 | 2 | $url = $wsdlparts['scheme'] . '://' . $wsdlparts['host'] . (isset($wsdlparts['port']) ? ':' . $wsdlparts['port'] : '') . substr($wsdlparts['path'], 0, strrpos($wsdlparts['path'], '/') + 1) . $urlparts['path'] |
/app/plugin/doctrine/Doctrine/DBAL/Schema/Visitor/Graphviz.php:43 | 1 | $this->output .= $this->createNodeRelation($fkConstraint->getLocalTableName( ) . ":col" . current($fkConstraint->getLocalColumns( )) . ":se", $fkConstraint->getForeignTableName( ) . ":col" . current($fkConstraint->getForeignColumns( )) . ":se", array('dir' => 'back', 'arrowtail' => 'dot', 'arrowhead' => 'normal', )) |
/app/plugin/doctrine/Doctrine/DBAL/Portability/Statement.php:122 | 1 | $row = $this->fixRow($row, $this->portability & (Connection::PORTABILITY_EMPTY_TO_NULL | Connection::PORTABILITY_RTRIM), !is_null($this->case) && ($fetchMode == PDO::FETCH_ASSOC || $fetchMode == PDO::FETCH_BOTH) && ($this->portability & Connection::PORTABILITY_FIX_CASE)) |
/challenges/single/BusinessLayerAccessControl/index.php:207 | 1 | $this->htmlContent .= "<div class='row'> <div class='col-md-6 col-md-offset-1'> <table class='table table-striped'> <tr> <th>First Name</th> <td>$userDetails[first_name]</td> </tr> <tr> <th>Last Name</th> <td>$userDetails[last_name]</td> </tr> <tr> <th>Street</th> <td>$userDetails[street]</td> </tr> <tr> <th>City</th> <td>$userDetails[city]</td> </tr> <tr> <th>Phone</th> <td>$userDetails[phone]</td> </tr> <tr> <th>Salary</th> <td>$userDetails[salary]</td> </tr> <tr> <th>Credit Card</th> <td>$userDetails[cc_no]</td> </tr> <tr> <th>Card Limit</th> <td>$userDetails[cc_limit]</td> </tr> </table> <a href='?' class='btn btn-default'>Go Back</a></div></div>" |
/_japp/model/lib/db/nestedset/base.php:313 | 1 | $Res = jf::SQL("INSERT INTO {$this->Table( )} ({$this->Left( )},{$this->Right( )}) " . "VALUES(?,?)", $Sibl["Right"] + 1, $Sibl["Right"] + 2) |
/_japp/model/lib/db/nestedset/base.php:281 | 1 | $Res = jf::SQL("SELECT * FROM {$this->Table( )} WHERE {$this->Right( )} = {$this->Left( )} + 1 AND {$this->Left( )} BETWEEN (SELECT {$this->Left( )} FROM {$this->Table( )} WHERE {$this->ID( )}=?) AND (SELECT {$this->Right( )} FROM {$this->Table( )} WHERE {$this->ID( )}=?)", $PID, $PID) |
/_japp/model/lib/db/nestedset/base.php:262 | 1 | $Res = jf::SQL(" SELECT parent.* FROM {$this->Table( )} AS node, " . $this->Table . " AS parent WHERE node.{$this->Left( )} BETWEEN parent.{$this->Left( )} AND parent.{$this->Right( )} AND node.{$this->ID( )} = ? ORDER BY parent.{$this->Left( )}", $ID) |
/_japp/model/lib/db/nestedset/base.php:228 | 1 | $Res = jf::SQL(" SELECT node.*, (COUNT(parent.{$this->ID( )})-1 - (sub_tree.depth )) AS Depth FROM {$this->Table( )} AS node, {$this->Table( )} AS parent, {$this->Table( )} AS sub_parent, ( SELECT node.{$this->ID( )}, (COUNT(parent.{$this->ID( )}) - 1) AS depth FROM {$this->Table( )} AS node, {$this->Table( )} AS parent WHERE node.{$this->Left( )} BETWEEN parent.{$this->Left( )} AND parent.{$this->Right( )} AND node.{$this->ID( )} = ? GROUP BY node.{$this->ID( )} ORDER BY node.{$this->Left( )} ) AS sub_tree WHERE node.{$this->Left( )} BETWEEN parent.{$this->Left( )} AND parent.{$this->Right( )} AND node.{$this->Left( )} BETWEEN sub_parent.{$this->Left( )} AND sub_parent.{$this->Right( )} AND sub_parent.{$this->ID( )} = sub_tree.{$this->ID( )} GROUP BY node.{$this->ID( )} HAVING Depth = 1 ORDER BY node.{$this->Left( )}; ", $ID) |