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/Controller/Admin/UserCrudController.php:63 | 1 | $form = [$panelPersonal, $displayName, $email, $language, $panelWork, $countryWorkplace, $jobTitle, $panelAccount, $id->onlyOnDetail( ), $groups, $isActive, $panelAzure->onlyOnDetail( ), $azureId->onlyOnDetail( ), $panelLog->onlyOnDetail( ), $lastLoginAt->onlyOnDetail( ), $createdAt->onlyOnDetail( ), $updatedAt->onlyOnDetail( )] |
/src/Repository/UserRepository.php:72 | 1 | $user = (new User( ))->setAzureId($owner->getId( ))->setEmail($owner->getUpn( ))->setDisplayName($owner->getFirstName( ) . ' ' . $owner->getLastName( ))->setLastLoginAt(new \DateTime( )) |
/src/Repository/UserRepository.php:43 | 1 | $user = $this->createQueryBuilder('u')->where('u.azureId = :azureId')->orWhere('u.email = :email')->setParameters(['azureId' => $owner->getId( ), 'email' => $owner->getUpn( )])->getQuery( )->getOneOrNullResult( ) |