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 |
---|---|---|
/Model/ChatChannel.php:30 | 1 | $qb = $repo->createQueryBuilder('a')->leftJoin('a.channel', 'c')->andWhere('c.id = :channel')->andWhere('a.assigneeId = :id')->andWhere('a.assigneeClass = :class')->setParameters(['channel' => $id, 'id' => $user->getId( ), 'class' => get_class($user), ]) |
/Controller/ChatController.php:69 | 1 | $query = $em->getRepository($userClass)->createQueryBuilder('u')->select('u.id, u.username, u.email')->andWhere('u.enabled = true')->andWhere('u.username NOT IN (:excluded)')->setParameters(['excluded' => ['system', $this->getUser( )->getUsername( )], ])->getQuery( ) |
/Model/LaafFrame.php:44 | 1 | $frames = [self::TYPE_REQUEST => ['success' => true, 'type' => self::TYPE_REQUEST, 'datetime' => $datetime, 'msg' => 'Request', 'auth' => $auth, 'data' => new \stdClass( ), ], self::TYPE_INFO => ['success' => true, 'type' => self::TYPE_INFO, 'datetime' => $datetime, 'msg' => 'OK', 'auth' => $auth, 'data' => new \stdClass( ), ], self::TYPE_DATA => ['success' => true, 'type' => self::TYPE_DATA, 'datetime' => $datetime, 'msg' => 'Data', 'auth' => $auth, 'data' => ['currentItemCount' => 0, 'itemsPerPage' => 0, 'startIndex' => 0, 'totalItems' => 0, 'pagingLinkTemplate' => null, 'pageIndex' => 1, 'totalPages' => 1, 'items' => [ ], ], ], self::TYPE_WARNING => ['success' => false, 'type' => self::TYPE_WARNING, 'datetime' => $datetime, 'msg' => 'Warning', 'auth' => $auth, 'data' => new \stdClass( ), ], self::TYPE_ERROR => ['success' => false, 'type' => self::TYPE_ERROR, 'datetime' => $datetime, 'msg' => 'Error', 'auth' => $auth, 'data' => new \stdClass( ), ], ] |
/Model/ChatChannel.php:220 | 1 | $qb = $this->getQueryBuilder( )->leftJoin('o.assignees', 'a')->andWhere('a.assigneeId = :assigneeId')->andWhere('a.assigneeClass = :assigneeClass')->andWhere('a.deletedAt IS null')->orderBy('o.createdAt', 'DESC')->setParameters($params) |
/Model/ChatChannel.php:131 | 1 | $result = $this->getRepo( )->createQueryBuilder('o')->andWhere('o.name = :name')->setParameters(['name' => $name])->orderBy('o.createdAt', 'DESC')->getQuery( )->getResult( ) |