chore: Update copyright year from 2025 to 2026 across core files
- Updated copyright headers in 3,055 core application files - Changed 'Copyright (C) 2014-2025' to 'Copyright (C) 2014-2026' - Added 123 new files from EspoCRM core updates - Removed 4 deprecated files - Total changes: 61,637 insertions, 54,283 deletions This is a routine maintenance update for the new year 2026.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
* This file is part of EspoCRM.
|
||||
*
|
||||
* EspoCRM – Open Source CRM application.
|
||||
* Copyright (C) 2014-2025 EspoCRM, Inc.
|
||||
* Copyright (C) 2014-2026 EspoCRM, Inc.
|
||||
* Website: https://www.espocrm.com
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
@@ -166,7 +166,7 @@ class SelectBuilder implements Builder
|
||||
if (is_string($select)) {
|
||||
$this->params['select'] = $this->params['select'] ?? [];
|
||||
|
||||
$this->params['select'][] = $alias ?
|
||||
$this->params['select'][] = $alias !== null ?
|
||||
[$select, $alias] :
|
||||
$select;
|
||||
|
||||
@@ -289,6 +289,22 @@ class SelectBuilder implements Builder
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add an item to a with recursive statement.
|
||||
*
|
||||
* @param Union $query A query.
|
||||
* @param string $name A CTE name. In UpperCamelCase.
|
||||
* @since 9.3.0
|
||||
*/
|
||||
public function withRecursive(Union $query, string $name): self
|
||||
{
|
||||
$this->params['withRecursive'] ??= [];
|
||||
|
||||
$this->params['withRecursive'][] = [$query, $name];
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array<Expression|Selection|mixed[]> $itemList
|
||||
* @return array<array{0: string, 1?: string}|string>
|
||||
@@ -305,7 +321,7 @@ class SelectBuilder implements Builder
|
||||
}
|
||||
|
||||
if ($item instanceof Selection) {
|
||||
$resultList[] = $item->getAlias() ?
|
||||
$resultList[] = $item->getAlias() !== null ?
|
||||
[$item->getExpression()->getValue(), $item->getAlias()] :
|
||||
[$item->getExpression()->getValue()];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user