Showing 293 of 293 total issues
Line exceeds 120 characters; contains 121 characters Open
Open
return (is_string($accessTokenAttribute) && !empty($accessTokenAttribute)) ? $this->$accessTokenAttribute : null;
- Exclude checks
Arguments with default values must be at the end of the argument list Open
Open
public string $ipTypeAttribute = 'ip_type',
- Exclude checks
Line exceeds 120 characters; contains 136 characters Open
Open
if (!empty($this->idAttribute) && $this->idCreatorCombinatedUnique && $this->idAttributeType !== static::$idTypeAutoIncrement) {
- Exclude checks
Line exceeds 120 characters; contains 122 characters Open
Open
public static function findAllByIdentityInBatch(string|int|null $pageSize = 'all', $currentPage = 0, $identity = null)
- Exclude checks
Line exceeds 120 characters; contains 121 characters Open
Open
public static function findOneById(int|string|null $id, bool $throwException = true, mixed $identity = null): ?static
- Exclude checks
Line exceeds 120 characters; contains 126 characters Open
Open
return !(is_string($cAttribute) && !empty($cAttribute)) || $this->$cAttribute > self::CONFIRMATION_STATUS_UNCONFIRMED;
- Exclude checks
Line exceeds 120 characters; contains 185 characters Open
Open
$rules = array_merge($this->getGuidRules(), $this->getIdRules(), $this->getCreatedAtRules(), $this->getUpdatedAtRules(), $this->getExpiredAfterRules(), $this->getIpRules());
- Exclude checks
Line exceeds 120 characters; contains 139 characters Open
Open
return $this->getDatetimeOffset($this->offsetDatetime($this->currentUtcDatetime(), -$this->getExpiredAfter()), $createdAt) > 0;
- Exclude checks
Arguments with default values must be at the end of the argument list Open
Open
public bool $idAttributeSafe = false,
- Exclude checks
Line exceeds 120 characters; contains 136 characters Open
Open
return $this->getDatetimeOffset($this->offsetDatetime($this->currentDatetime(), -$this->getExpiredAfter()), $createdAt) > 0;
- Exclude checks
Arguments with default values must be at the end of the argument list Open
Open
public TimestampConfig $timestampConfig = new TimestampConfig(),
- Exclude checks
Line exceeds 120 characters; contains 130 characters Open
Open
return (is_string($accessTokenAttribute) && !empty($accessTokenAttribute)) ? $this->$accessTokenAttribute = $token : null;
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
public ?string $idAttribute = "id",
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
public ?string $updatedAtAttribute = 'updated_at',
- Exclude checks
Whitespace found at end of line Open
Open
*
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
public GUIDConfig $GUIDConfig = new GUIDConfig(),
- Exclude checks
Closing brace must be on a line by itself Open
Open
){}
- Exclude checks
Closing parenthesis of a multi-line function call must be on a line by itself Open
Open
$model->otherGuidAttribute => BaseMongoEntityModel::compositeGUIDs($user)])->orderByCreatedAt(SORT_DESC)
- Exclude checks
Whitespace found at end of line Open
Open
*
- Exclude checks
There must be a comment when fall-through is intentional in a non-empty case body Open
Open
case self::IP_V4_ENABLED:
- Exclude checks