From 05e38eadbeb3de19e5b26003c2b401e00bb71df4 Mon Sep 17 00:00:00 2001 From: polo Date: Sun, 18 Oct 2026 00:08:23 +0200 Subject: =?UTF-8?q?sortie=20de=20vendor=20du=20d=C3=A9p=C3=B4t,=20oubli=20?= =?UTF-8?q?dans=20config-template.ini?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vendor/doctrine/orm/src/Query/AST/ASTException.php | 20 ---- .../orm/src/Query/AST/AggregateExpression.php | 23 ---- .../orm/src/Query/AST/ArithmeticExpression.php | 34 ------ .../orm/src/Query/AST/ArithmeticFactor.php | 36 ------- .../doctrine/orm/src/Query/AST/ArithmeticTerm.php | 25 ----- .../orm/src/Query/AST/BetweenExpression.php | 23 ---- .../orm/src/Query/AST/CoalesceExpression.php | 25 ----- .../src/Query/AST/CollectionMemberExpression.php | 27 ----- .../orm/src/Query/AST/ComparisonExpression.php | 32 ------ .../orm/src/Query/AST/ConditionalExpression.php | 25 ----- .../orm/src/Query/AST/ConditionalFactor.php | 26 ----- .../orm/src/Query/AST/ConditionalPrimary.php | 34 ------ .../doctrine/orm/src/Query/AST/ConditionalTerm.php | 25 ----- vendor/doctrine/orm/src/Query/AST/DeleteClause.php | 26 ----- .../doctrine/orm/src/Query/AST/DeleteStatement.php | 26 ----- .../AST/EmptyCollectionComparisonExpression.php | 26 ----- .../orm/src/Query/AST/ExistsExpression.php | 26 ----- vendor/doctrine/orm/src/Query/AST/FromClause.php | 25 ----- .../orm/src/Query/AST/Functions/AbsFunction.php | 37 ------- .../orm/src/Query/AST/Functions/AvgFunction.php | 27 ----- .../orm/src/Query/AST/Functions/BitAndFunction.php | 43 -------- .../orm/src/Query/AST/Functions/BitOrFunction.php | 43 -------- .../orm/src/Query/AST/Functions/ConcatFunction.php | 58 ---------- .../orm/src/Query/AST/Functions/CountFunction.php | 35 ------ .../Query/AST/Functions/CurrentDateFunction.php | 29 ----- .../Query/AST/Functions/CurrentTimeFunction.php | 29 ----- .../AST/Functions/CurrentTimestampFunction.php | 29 ----- .../src/Query/AST/Functions/DateAddFunction.php | 83 -------------- .../src/Query/AST/Functions/DateDiffFunction.php | 41 ------- .../src/Query/AST/Functions/DateSubFunction.php | 62 ----------- .../orm/src/Query/AST/Functions/FunctionNode.php | 32 ------ .../src/Query/AST/Functions/IdentityFunction.php | 90 ---------------- .../orm/src/Query/AST/Functions/LengthFunction.php | 45 -------- .../orm/src/Query/AST/Functions/LocateFunction.php | 62 ----------- .../orm/src/Query/AST/Functions/LowerFunction.php | 40 ------- .../orm/src/Query/AST/Functions/MaxFunction.php | 27 ----- .../orm/src/Query/AST/Functions/MinFunction.php | 27 ----- .../orm/src/Query/AST/Functions/ModFunction.php | 43 -------- .../orm/src/Query/AST/Functions/SizeFunction.php | 113 ------------------- .../orm/src/Query/AST/Functions/SqrtFunction.php | 40 ------- .../src/Query/AST/Functions/SubstringFunction.php | 58 ---------- .../orm/src/Query/AST/Functions/SumFunction.php | 27 ----- .../orm/src/Query/AST/Functions/TrimFunction.php | 119 --------------------- .../orm/src/Query/AST/Functions/UpperFunction.php | 40 ------- .../orm/src/Query/AST/GeneralCaseExpression.php | 27 ----- .../doctrine/orm/src/Query/AST/GroupByClause.php | 20 ---- vendor/doctrine/orm/src/Query/AST/HavingClause.php | 19 ---- .../AST/IdentificationVariableDeclaration.php | 28 ----- .../orm/src/Query/AST/InListExpression.php | 23 ---- .../orm/src/Query/AST/InSubselectExpression.php | 22 ---- vendor/doctrine/orm/src/Query/AST/IndexBy.php | 26 ----- .../doctrine/orm/src/Query/AST/InputParameter.php | 35 ------ .../orm/src/Query/AST/InstanceOfExpression.php | 29 ----- vendor/doctrine/orm/src/Query/AST/Join.php | 34 ------ .../src/Query/AST/JoinAssociationDeclaration.php | 27 ----- .../Query/AST/JoinAssociationPathExpression.php | 19 ---- .../orm/src/Query/AST/JoinClassPathExpression.php | 26 ----- .../orm/src/Query/AST/JoinVariableDeclaration.php | 24 ----- .../doctrine/orm/src/Query/AST/LikeExpression.php | 29 ----- vendor/doctrine/orm/src/Query/AST/Literal.php | 26 ----- .../orm/src/Query/AST/NewObjectExpression.php | 25 ----- vendor/doctrine/orm/src/Query/AST/Node.php | 85 --------------- .../orm/src/Query/AST/NullComparisonExpression.php | 26 ----- .../orm/src/Query/AST/NullIfExpression.php | 24 ----- .../doctrine/orm/src/Query/AST/OrderByClause.php | 25 ----- vendor/doctrine/orm/src/Query/AST/OrderByItem.php | 38 ------- .../orm/src/Query/AST/ParenthesisExpression.php | 22 ---- .../doctrine/orm/src/Query/AST/PathExpression.php | 39 ------- .../src/Query/AST/Phase2OptimizableConditional.php | 17 --- .../orm/src/Query/AST/QuantifiedExpression.php | 43 -------- .../orm/src/Query/AST/RangeVariableDeclaration.php | 27 ----- vendor/doctrine/orm/src/Query/AST/SelectClause.php | 27 ----- .../orm/src/Query/AST/SelectExpression.php | 28 ----- .../doctrine/orm/src/Query/AST/SelectStatement.php | 32 ------ .../src/Query/AST/SimpleArithmeticExpression.php | 25 ----- .../orm/src/Query/AST/SimpleCaseExpression.php | 28 ----- .../orm/src/Query/AST/SimpleSelectClause.php | 26 ----- .../orm/src/Query/AST/SimpleSelectExpression.php | 27 ----- .../orm/src/Query/AST/SimpleWhenClause.php | 26 ----- vendor/doctrine/orm/src/Query/AST/Subselect.php | 32 ------ .../orm/src/Query/AST/SubselectFromClause.php | 25 ----- .../SubselectIdentificationVariableDeclaration.php | 19 ---- .../doctrine/orm/src/Query/AST/TypedExpression.php | 15 --- vendor/doctrine/orm/src/Query/AST/UpdateClause.php | 29 ----- vendor/doctrine/orm/src/Query/AST/UpdateItem.php | 26 ----- .../doctrine/orm/src/Query/AST/UpdateStatement.php | 26 ----- vendor/doctrine/orm/src/Query/AST/WhenClause.php | 26 ----- vendor/doctrine/orm/src/Query/AST/WhereClause.php | 24 ----- 88 files changed, 2989 deletions(-) delete mode 100644 vendor/doctrine/orm/src/Query/AST/ASTException.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/AggregateExpression.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/ArithmeticExpression.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/ArithmeticFactor.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/ArithmeticTerm.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/BetweenExpression.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/CoalesceExpression.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/CollectionMemberExpression.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/ComparisonExpression.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/ConditionalExpression.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/ConditionalFactor.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/ConditionalPrimary.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/ConditionalTerm.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/DeleteClause.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/DeleteStatement.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/EmptyCollectionComparisonExpression.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/ExistsExpression.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/FromClause.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/Functions/AbsFunction.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/Functions/AvgFunction.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/Functions/BitAndFunction.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/Functions/BitOrFunction.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/Functions/ConcatFunction.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/Functions/CountFunction.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/Functions/CurrentDateFunction.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/Functions/CurrentTimeFunction.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/Functions/CurrentTimestampFunction.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/Functions/DateAddFunction.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/Functions/DateDiffFunction.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/Functions/DateSubFunction.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/Functions/FunctionNode.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/Functions/IdentityFunction.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/Functions/LengthFunction.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/Functions/LocateFunction.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/Functions/LowerFunction.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/Functions/MaxFunction.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/Functions/MinFunction.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/Functions/ModFunction.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/Functions/SizeFunction.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/Functions/SqrtFunction.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/Functions/SubstringFunction.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/Functions/SumFunction.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/Functions/TrimFunction.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/Functions/UpperFunction.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/GeneralCaseExpression.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/GroupByClause.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/HavingClause.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/IdentificationVariableDeclaration.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/InListExpression.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/InSubselectExpression.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/IndexBy.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/InputParameter.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/InstanceOfExpression.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/Join.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/JoinAssociationDeclaration.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/JoinAssociationPathExpression.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/JoinClassPathExpression.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/JoinVariableDeclaration.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/LikeExpression.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/Literal.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/NewObjectExpression.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/Node.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/NullComparisonExpression.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/NullIfExpression.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/OrderByClause.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/OrderByItem.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/ParenthesisExpression.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/PathExpression.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/Phase2OptimizableConditional.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/QuantifiedExpression.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/RangeVariableDeclaration.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/SelectClause.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/SelectExpression.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/SelectStatement.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/SimpleArithmeticExpression.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/SimpleCaseExpression.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/SimpleSelectClause.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/SimpleSelectExpression.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/SimpleWhenClause.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/Subselect.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/SubselectFromClause.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/SubselectIdentificationVariableDeclaration.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/TypedExpression.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/UpdateClause.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/UpdateItem.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/UpdateStatement.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/WhenClause.php delete mode 100644 vendor/doctrine/orm/src/Query/AST/WhereClause.php (limited to 'vendor/doctrine/orm/src/Query/AST') diff --git a/vendor/doctrine/orm/src/Query/AST/ASTException.php b/vendor/doctrine/orm/src/Query/AST/ASTException.php deleted file mode 100644 index 1ef890a..0000000 --- a/vendor/doctrine/orm/src/Query/AST/ASTException.php +++ /dev/null @@ -1,20 +0,0 @@ -walkAggregateExpression($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/ArithmeticExpression.php b/vendor/doctrine/orm/src/Query/AST/ArithmeticExpression.php deleted file mode 100644 index a819e05..0000000 --- a/vendor/doctrine/orm/src/Query/AST/ArithmeticExpression.php +++ /dev/null @@ -1,34 +0,0 @@ -simpleArithmeticExpression; - } - - public function isSubselect(): bool - { - return (bool) $this->subselect; - } - - public function dispatch(SqlWalker $walker): string - { - return $walker->walkArithmeticExpression($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/ArithmeticFactor.php b/vendor/doctrine/orm/src/Query/AST/ArithmeticFactor.php deleted file mode 100644 index 278a921..0000000 --- a/vendor/doctrine/orm/src/Query/AST/ArithmeticFactor.php +++ /dev/null @@ -1,36 +0,0 @@ -sign === true; - } - - public function isNegativeSigned(): bool - { - return $this->sign === false; - } - - public function dispatch(SqlWalker $walker): string - { - return $walker->walkArithmeticFactor($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/ArithmeticTerm.php b/vendor/doctrine/orm/src/Query/AST/ArithmeticTerm.php deleted file mode 100644 index b233612..0000000 --- a/vendor/doctrine/orm/src/Query/AST/ArithmeticTerm.php +++ /dev/null @@ -1,25 +0,0 @@ -walkArithmeticTerm($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/BetweenExpression.php b/vendor/doctrine/orm/src/Query/AST/BetweenExpression.php deleted file mode 100644 index c13292b..0000000 --- a/vendor/doctrine/orm/src/Query/AST/BetweenExpression.php +++ /dev/null @@ -1,23 +0,0 @@ -walkBetweenExpression($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/CoalesceExpression.php b/vendor/doctrine/orm/src/Query/AST/CoalesceExpression.php deleted file mode 100644 index 89f025f..0000000 --- a/vendor/doctrine/orm/src/Query/AST/CoalesceExpression.php +++ /dev/null @@ -1,25 +0,0 @@ -walkCoalesceExpression($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/CollectionMemberExpression.php b/vendor/doctrine/orm/src/Query/AST/CollectionMemberExpression.php deleted file mode 100644 index a62a191..0000000 --- a/vendor/doctrine/orm/src/Query/AST/CollectionMemberExpression.php +++ /dev/null @@ -1,27 +0,0 @@ -walkCollectionMemberExpression($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/ComparisonExpression.php b/vendor/doctrine/orm/src/Query/AST/ComparisonExpression.php deleted file mode 100644 index a7d91f9..0000000 --- a/vendor/doctrine/orm/src/Query/AST/ComparisonExpression.php +++ /dev/null @@ -1,32 +0,0 @@ -" | "!=") (BooleanExpression | QuantifiedExpression) | - * EnumExpression ("=" | "<>" | "!=") (EnumExpression | QuantifiedExpression) | - * DatetimeExpression ComparisonOperator (DatetimeExpression | QuantifiedExpression) | - * EntityExpression ("=" | "<>") (EntityExpression | QuantifiedExpression) - * - * @link www.doctrine-project.org - */ -class ComparisonExpression extends Node -{ - public function __construct( - public Node|string $leftExpression, - public string $operator, - public Node|string $rightExpression, - ) { - } - - public function dispatch(SqlWalker $walker): string - { - return $walker->walkComparisonExpression($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/ConditionalExpression.php b/vendor/doctrine/orm/src/Query/AST/ConditionalExpression.php deleted file mode 100644 index 26a98e5..0000000 --- a/vendor/doctrine/orm/src/Query/AST/ConditionalExpression.php +++ /dev/null @@ -1,25 +0,0 @@ -walkConditionalExpression($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/ConditionalFactor.php b/vendor/doctrine/orm/src/Query/AST/ConditionalFactor.php deleted file mode 100644 index 7881743..0000000 --- a/vendor/doctrine/orm/src/Query/AST/ConditionalFactor.php +++ /dev/null @@ -1,26 +0,0 @@ -walkConditionalFactor($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/ConditionalPrimary.php b/vendor/doctrine/orm/src/Query/AST/ConditionalPrimary.php deleted file mode 100644 index 9344cd9..0000000 --- a/vendor/doctrine/orm/src/Query/AST/ConditionalPrimary.php +++ /dev/null @@ -1,34 +0,0 @@ -simpleConditionalExpression; - } - - public function isConditionalExpression(): bool - { - return (bool) $this->conditionalExpression; - } - - public function dispatch(SqlWalker $walker): string - { - return $walker->walkConditionalPrimary($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/ConditionalTerm.php b/vendor/doctrine/orm/src/Query/AST/ConditionalTerm.php deleted file mode 100644 index dcea50b..0000000 --- a/vendor/doctrine/orm/src/Query/AST/ConditionalTerm.php +++ /dev/null @@ -1,25 +0,0 @@ -walkConditionalTerm($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/DeleteClause.php b/vendor/doctrine/orm/src/Query/AST/DeleteClause.php deleted file mode 100644 index 25e9085..0000000 --- a/vendor/doctrine/orm/src/Query/AST/DeleteClause.php +++ /dev/null @@ -1,26 +0,0 @@ -walkDeleteClause($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/DeleteStatement.php b/vendor/doctrine/orm/src/Query/AST/DeleteStatement.php deleted file mode 100644 index f367d09..0000000 --- a/vendor/doctrine/orm/src/Query/AST/DeleteStatement.php +++ /dev/null @@ -1,26 +0,0 @@ -walkDeleteStatement($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/EmptyCollectionComparisonExpression.php b/vendor/doctrine/orm/src/Query/AST/EmptyCollectionComparisonExpression.php deleted file mode 100644 index 9978800..0000000 --- a/vendor/doctrine/orm/src/Query/AST/EmptyCollectionComparisonExpression.php +++ /dev/null @@ -1,26 +0,0 @@ -walkEmptyCollectionComparisonExpression($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/ExistsExpression.php b/vendor/doctrine/orm/src/Query/AST/ExistsExpression.php deleted file mode 100644 index 72757f4..0000000 --- a/vendor/doctrine/orm/src/Query/AST/ExistsExpression.php +++ /dev/null @@ -1,26 +0,0 @@ -walkExistsExpression($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/FromClause.php b/vendor/doctrine/orm/src/Query/AST/FromClause.php deleted file mode 100644 index 0b74393..0000000 --- a/vendor/doctrine/orm/src/Query/AST/FromClause.php +++ /dev/null @@ -1,25 +0,0 @@ -walkFromClause($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/Functions/AbsFunction.php b/vendor/doctrine/orm/src/Query/AST/Functions/AbsFunction.php deleted file mode 100644 index 4edff06..0000000 --- a/vendor/doctrine/orm/src/Query/AST/Functions/AbsFunction.php +++ /dev/null @@ -1,37 +0,0 @@ -walkSimpleArithmeticExpression( - $this->simpleArithmeticExpression, - ) . ')'; - } - - public function parse(Parser $parser): void - { - $parser->match(TokenType::T_IDENTIFIER); - $parser->match(TokenType::T_OPEN_PARENTHESIS); - - $this->simpleArithmeticExpression = $parser->SimpleArithmeticExpression(); - - $parser->match(TokenType::T_CLOSE_PARENTHESIS); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/Functions/AvgFunction.php b/vendor/doctrine/orm/src/Query/AST/Functions/AvgFunction.php deleted file mode 100644 index ba7b7f3..0000000 --- a/vendor/doctrine/orm/src/Query/AST/Functions/AvgFunction.php +++ /dev/null @@ -1,27 +0,0 @@ -aggregateExpression->dispatch($sqlWalker); - } - - public function parse(Parser $parser): void - { - $this->aggregateExpression = $parser->AggregateExpression(); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/Functions/BitAndFunction.php b/vendor/doctrine/orm/src/Query/AST/Functions/BitAndFunction.php deleted file mode 100644 index f2d3146..0000000 --- a/vendor/doctrine/orm/src/Query/AST/Functions/BitAndFunction.php +++ /dev/null @@ -1,43 +0,0 @@ -getConnection()->getDatabasePlatform(); - - return $platform->getBitAndComparisonExpression( - $this->firstArithmetic->dispatch($sqlWalker), - $this->secondArithmetic->dispatch($sqlWalker), - ); - } - - public function parse(Parser $parser): void - { - $parser->match(TokenType::T_IDENTIFIER); - $parser->match(TokenType::T_OPEN_PARENTHESIS); - - $this->firstArithmetic = $parser->ArithmeticPrimary(); - $parser->match(TokenType::T_COMMA); - $this->secondArithmetic = $parser->ArithmeticPrimary(); - - $parser->match(TokenType::T_CLOSE_PARENTHESIS); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/Functions/BitOrFunction.php b/vendor/doctrine/orm/src/Query/AST/Functions/BitOrFunction.php deleted file mode 100644 index f3f84da..0000000 --- a/vendor/doctrine/orm/src/Query/AST/Functions/BitOrFunction.php +++ /dev/null @@ -1,43 +0,0 @@ -getConnection()->getDatabasePlatform(); - - return $platform->getBitOrComparisonExpression( - $this->firstArithmetic->dispatch($sqlWalker), - $this->secondArithmetic->dispatch($sqlWalker), - ); - } - - public function parse(Parser $parser): void - { - $parser->match(TokenType::T_IDENTIFIER); - $parser->match(TokenType::T_OPEN_PARENTHESIS); - - $this->firstArithmetic = $parser->ArithmeticPrimary(); - $parser->match(TokenType::T_COMMA); - $this->secondArithmetic = $parser->ArithmeticPrimary(); - - $parser->match(TokenType::T_CLOSE_PARENTHESIS); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/Functions/ConcatFunction.php b/vendor/doctrine/orm/src/Query/AST/Functions/ConcatFunction.php deleted file mode 100644 index 5b8d696..0000000 --- a/vendor/doctrine/orm/src/Query/AST/Functions/ConcatFunction.php +++ /dev/null @@ -1,58 +0,0 @@ - */ - public array $concatExpressions = []; - - public function getSql(SqlWalker $sqlWalker): string - { - $platform = $sqlWalker->getConnection()->getDatabasePlatform(); - - $args = []; - - foreach ($this->concatExpressions as $expression) { - $args[] = $sqlWalker->walkStringPrimary($expression); - } - - return $platform->getConcatExpression(...$args); - } - - public function parse(Parser $parser): void - { - $parser->match(TokenType::T_IDENTIFIER); - $parser->match(TokenType::T_OPEN_PARENTHESIS); - - $this->firstStringPrimary = $parser->StringPrimary(); - $this->concatExpressions[] = $this->firstStringPrimary; - - $parser->match(TokenType::T_COMMA); - - $this->secondStringPrimary = $parser->StringPrimary(); - $this->concatExpressions[] = $this->secondStringPrimary; - - while ($parser->getLexer()->isNextToken(TokenType::T_COMMA)) { - $parser->match(TokenType::T_COMMA); - $this->concatExpressions[] = $parser->StringPrimary(); - } - - $parser->match(TokenType::T_CLOSE_PARENTHESIS); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/Functions/CountFunction.php b/vendor/doctrine/orm/src/Query/AST/Functions/CountFunction.php deleted file mode 100644 index dc926a5..0000000 --- a/vendor/doctrine/orm/src/Query/AST/Functions/CountFunction.php +++ /dev/null @@ -1,35 +0,0 @@ -aggregateExpression->dispatch($sqlWalker); - } - - public function parse(Parser $parser): void - { - $this->aggregateExpression = $parser->AggregateExpression(); - } - - public function getReturnType(): Type - { - return Type::getType(Types::INTEGER); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/Functions/CurrentDateFunction.php b/vendor/doctrine/orm/src/Query/AST/Functions/CurrentDateFunction.php deleted file mode 100644 index cec9632..0000000 --- a/vendor/doctrine/orm/src/Query/AST/Functions/CurrentDateFunction.php +++ /dev/null @@ -1,29 +0,0 @@ -getConnection()->getDatabasePlatform()->getCurrentDateSQL(); - } - - public function parse(Parser $parser): void - { - $parser->match(TokenType::T_IDENTIFIER); - $parser->match(TokenType::T_OPEN_PARENTHESIS); - $parser->match(TokenType::T_CLOSE_PARENTHESIS); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/Functions/CurrentTimeFunction.php b/vendor/doctrine/orm/src/Query/AST/Functions/CurrentTimeFunction.php deleted file mode 100644 index 6473fce..0000000 --- a/vendor/doctrine/orm/src/Query/AST/Functions/CurrentTimeFunction.php +++ /dev/null @@ -1,29 +0,0 @@ -getConnection()->getDatabasePlatform()->getCurrentTimeSQL(); - } - - public function parse(Parser $parser): void - { - $parser->match(TokenType::T_IDENTIFIER); - $parser->match(TokenType::T_OPEN_PARENTHESIS); - $parser->match(TokenType::T_CLOSE_PARENTHESIS); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/Functions/CurrentTimestampFunction.php b/vendor/doctrine/orm/src/Query/AST/Functions/CurrentTimestampFunction.php deleted file mode 100644 index edcd27c..0000000 --- a/vendor/doctrine/orm/src/Query/AST/Functions/CurrentTimestampFunction.php +++ /dev/null @@ -1,29 +0,0 @@ -getConnection()->getDatabasePlatform()->getCurrentTimestampSQL(); - } - - public function parse(Parser $parser): void - { - $parser->match(TokenType::T_IDENTIFIER); - $parser->match(TokenType::T_OPEN_PARENTHESIS); - $parser->match(TokenType::T_CLOSE_PARENTHESIS); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/Functions/DateAddFunction.php b/vendor/doctrine/orm/src/Query/AST/Functions/DateAddFunction.php deleted file mode 100644 index 12920dc..0000000 --- a/vendor/doctrine/orm/src/Query/AST/Functions/DateAddFunction.php +++ /dev/null @@ -1,83 +0,0 @@ -unit->value)) { - 'second' => $sqlWalker->getConnection()->getDatabasePlatform()->getDateAddSecondsExpression( - $this->firstDateExpression->dispatch($sqlWalker), - $this->dispatchIntervalExpression($sqlWalker), - ), - 'minute' => $sqlWalker->getConnection()->getDatabasePlatform()->getDateAddMinutesExpression( - $this->firstDateExpression->dispatch($sqlWalker), - $this->dispatchIntervalExpression($sqlWalker), - ), - 'hour' => $sqlWalker->getConnection()->getDatabasePlatform()->getDateAddHourExpression( - $this->firstDateExpression->dispatch($sqlWalker), - $this->dispatchIntervalExpression($sqlWalker), - ), - 'day' => $sqlWalker->getConnection()->getDatabasePlatform()->getDateAddDaysExpression( - $this->firstDateExpression->dispatch($sqlWalker), - $this->dispatchIntervalExpression($sqlWalker), - ), - 'week' => $sqlWalker->getConnection()->getDatabasePlatform()->getDateAddWeeksExpression( - $this->firstDateExpression->dispatch($sqlWalker), - $this->dispatchIntervalExpression($sqlWalker), - ), - 'month' => $sqlWalker->getConnection()->getDatabasePlatform()->getDateAddMonthExpression( - $this->firstDateExpression->dispatch($sqlWalker), - $this->dispatchIntervalExpression($sqlWalker), - ), - 'year' => $sqlWalker->getConnection()->getDatabasePlatform()->getDateAddYearsExpression( - $this->firstDateExpression->dispatch($sqlWalker), - $this->dispatchIntervalExpression($sqlWalker), - ), - default => throw QueryException::semanticalError( - 'DATE_ADD() only supports units of type second, minute, hour, day, week, month and year.', - ), - }; - } - - /** @throws ASTException */ - private function dispatchIntervalExpression(SqlWalker $sqlWalker): string - { - return $this->intervalExpression->dispatch($sqlWalker); - } - - public function parse(Parser $parser): void - { - $parser->match(TokenType::T_IDENTIFIER); - $parser->match(TokenType::T_OPEN_PARENTHESIS); - - $this->firstDateExpression = $parser->ArithmeticPrimary(); - $parser->match(TokenType::T_COMMA); - $this->intervalExpression = $parser->ArithmeticPrimary(); - $parser->match(TokenType::T_COMMA); - $this->unit = $parser->StringPrimary(); - - $parser->match(TokenType::T_CLOSE_PARENTHESIS); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/Functions/DateDiffFunction.php b/vendor/doctrine/orm/src/Query/AST/Functions/DateDiffFunction.php deleted file mode 100644 index 55598c0..0000000 --- a/vendor/doctrine/orm/src/Query/AST/Functions/DateDiffFunction.php +++ /dev/null @@ -1,41 +0,0 @@ -getConnection()->getDatabasePlatform()->getDateDiffExpression( - $this->date1->dispatch($sqlWalker), - $this->date2->dispatch($sqlWalker), - ); - } - - public function parse(Parser $parser): void - { - $parser->match(TokenType::T_IDENTIFIER); - $parser->match(TokenType::T_OPEN_PARENTHESIS); - - $this->date1 = $parser->ArithmeticPrimary(); - $parser->match(TokenType::T_COMMA); - $this->date2 = $parser->ArithmeticPrimary(); - - $parser->match(TokenType::T_CLOSE_PARENTHESIS); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/Functions/DateSubFunction.php b/vendor/doctrine/orm/src/Query/AST/Functions/DateSubFunction.php deleted file mode 100644 index 5363680..0000000 --- a/vendor/doctrine/orm/src/Query/AST/Functions/DateSubFunction.php +++ /dev/null @@ -1,62 +0,0 @@ -unit->value)) { - 'second' => $sqlWalker->getConnection()->getDatabasePlatform()->getDateSubSecondsExpression( - $this->firstDateExpression->dispatch($sqlWalker), - $this->dispatchIntervalExpression($sqlWalker), - ), - 'minute' => $sqlWalker->getConnection()->getDatabasePlatform()->getDateSubMinutesExpression( - $this->firstDateExpression->dispatch($sqlWalker), - $this->dispatchIntervalExpression($sqlWalker), - ), - 'hour' => $sqlWalker->getConnection()->getDatabasePlatform()->getDateSubHourExpression( - $this->firstDateExpression->dispatch($sqlWalker), - $this->dispatchIntervalExpression($sqlWalker), - ), - 'day' => $sqlWalker->getConnection()->getDatabasePlatform()->getDateSubDaysExpression( - $this->firstDateExpression->dispatch($sqlWalker), - $this->dispatchIntervalExpression($sqlWalker), - ), - 'week' => $sqlWalker->getConnection()->getDatabasePlatform()->getDateSubWeeksExpression( - $this->firstDateExpression->dispatch($sqlWalker), - $this->dispatchIntervalExpression($sqlWalker), - ), - 'month' => $sqlWalker->getConnection()->getDatabasePlatform()->getDateSubMonthExpression( - $this->firstDateExpression->dispatch($sqlWalker), - $this->dispatchIntervalExpression($sqlWalker), - ), - 'year' => $sqlWalker->getConnection()->getDatabasePlatform()->getDateSubYearsExpression( - $this->firstDateExpression->dispatch($sqlWalker), - $this->dispatchIntervalExpression($sqlWalker), - ), - default => throw QueryException::semanticalError( - 'DATE_SUB() only supports units of type second, minute, hour, day, week, month and year.', - ), - }; - } - - /** @throws ASTException */ - private function dispatchIntervalExpression(SqlWalker $sqlWalker): string - { - return $this->intervalExpression->dispatch($sqlWalker); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/Functions/FunctionNode.php b/vendor/doctrine/orm/src/Query/AST/Functions/FunctionNode.php deleted file mode 100644 index 4cc549e..0000000 --- a/vendor/doctrine/orm/src/Query/AST/Functions/FunctionNode.php +++ /dev/null @@ -1,32 +0,0 @@ -walkFunction($this); - } - - abstract public function parse(Parser $parser): void; -} diff --git a/vendor/doctrine/orm/src/Query/AST/Functions/IdentityFunction.php b/vendor/doctrine/orm/src/Query/AST/Functions/IdentityFunction.php deleted file mode 100644 index 1dd1bf5..0000000 --- a/vendor/doctrine/orm/src/Query/AST/Functions/IdentityFunction.php +++ /dev/null @@ -1,90 +0,0 @@ -pathExpression->field !== null); - $entityManager = $sqlWalker->getEntityManager(); - $platform = $entityManager->getConnection()->getDatabasePlatform(); - $quoteStrategy = $entityManager->getConfiguration()->getQuoteStrategy(); - $dqlAlias = $this->pathExpression->identificationVariable; - $assocField = $this->pathExpression->field; - $assoc = $sqlWalker->getMetadataForDqlAlias($dqlAlias)->associationMappings[$assocField]; - $targetEntity = $entityManager->getClassMetadata($assoc->targetEntity); - - assert($assoc->isToOneOwningSide()); - $joinColumn = reset($assoc->joinColumns); - - if ($this->fieldMapping !== null) { - if (! isset($targetEntity->fieldMappings[$this->fieldMapping])) { - throw new QueryException(sprintf('Undefined reference field mapping "%s"', $this->fieldMapping)); - } - - $field = $targetEntity->fieldMappings[$this->fieldMapping]; - $joinColumn = null; - - foreach ($assoc->joinColumns as $mapping) { - if ($mapping->referencedColumnName === $field->columnName) { - $joinColumn = $mapping; - - break; - } - } - - if ($joinColumn === null) { - throw new QueryException(sprintf('Unable to resolve the reference field mapping "%s"', $this->fieldMapping)); - } - } - - // The table with the relation may be a subclass, so get the table name from the association definition - $tableName = $entityManager->getClassMetadata($assoc->sourceEntity)->getTableName(); - - $tableAlias = $sqlWalker->getSQLTableAlias($tableName, $dqlAlias); - $columnName = $quoteStrategy->getJoinColumnName($joinColumn, $targetEntity, $platform); - - return $tableAlias . '.' . $columnName; - } - - public function parse(Parser $parser): void - { - $parser->match(TokenType::T_IDENTIFIER); - $parser->match(TokenType::T_OPEN_PARENTHESIS); - - $this->pathExpression = $parser->SingleValuedAssociationPathExpression(); - - if ($parser->getLexer()->isNextToken(TokenType::T_COMMA)) { - $parser->match(TokenType::T_COMMA); - $parser->match(TokenType::T_STRING); - - $token = $parser->getLexer()->token; - assert($token !== null); - $this->fieldMapping = $token->value; - } - - $parser->match(TokenType::T_CLOSE_PARENTHESIS); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/Functions/LengthFunction.php b/vendor/doctrine/orm/src/Query/AST/Functions/LengthFunction.php deleted file mode 100644 index 3994918..0000000 --- a/vendor/doctrine/orm/src/Query/AST/Functions/LengthFunction.php +++ /dev/null @@ -1,45 +0,0 @@ -getConnection()->getDatabasePlatform()->getLengthExpression( - $sqlWalker->walkSimpleArithmeticExpression($this->stringPrimary), - ); - } - - public function parse(Parser $parser): void - { - $parser->match(TokenType::T_IDENTIFIER); - $parser->match(TokenType::T_OPEN_PARENTHESIS); - - $this->stringPrimary = $parser->StringPrimary(); - - $parser->match(TokenType::T_CLOSE_PARENTHESIS); - } - - public function getReturnType(): Type - { - return Type::getType(Types::INTEGER); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/Functions/LocateFunction.php b/vendor/doctrine/orm/src/Query/AST/Functions/LocateFunction.php deleted file mode 100644 index c0d3b4a..0000000 --- a/vendor/doctrine/orm/src/Query/AST/Functions/LocateFunction.php +++ /dev/null @@ -1,62 +0,0 @@ -getConnection()->getDatabasePlatform(); - - $firstString = $sqlWalker->walkStringPrimary($this->firstStringPrimary); - $secondString = $sqlWalker->walkStringPrimary($this->secondStringPrimary); - - if ($this->simpleArithmeticExpression) { - return $platform->getLocateExpression( - $secondString, - $firstString, - $sqlWalker->walkSimpleArithmeticExpression($this->simpleArithmeticExpression), - ); - } - - return $platform->getLocateExpression($secondString, $firstString); - } - - public function parse(Parser $parser): void - { - $parser->match(TokenType::T_IDENTIFIER); - $parser->match(TokenType::T_OPEN_PARENTHESIS); - - $this->firstStringPrimary = $parser->StringPrimary(); - - $parser->match(TokenType::T_COMMA); - - $this->secondStringPrimary = $parser->StringPrimary(); - - $lexer = $parser->getLexer(); - if ($lexer->isNextToken(TokenType::T_COMMA)) { - $parser->match(TokenType::T_COMMA); - - $this->simpleArithmeticExpression = $parser->SimpleArithmeticExpression(); - } - - $parser->match(TokenType::T_CLOSE_PARENTHESIS); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/Functions/LowerFunction.php b/vendor/doctrine/orm/src/Query/AST/Functions/LowerFunction.php deleted file mode 100644 index 8ae337a..0000000 --- a/vendor/doctrine/orm/src/Query/AST/Functions/LowerFunction.php +++ /dev/null @@ -1,40 +0,0 @@ -walkSimpleArithmeticExpression($this->stringPrimary), - ); - } - - public function parse(Parser $parser): void - { - $parser->match(TokenType::T_IDENTIFIER); - $parser->match(TokenType::T_OPEN_PARENTHESIS); - - $this->stringPrimary = $parser->StringPrimary(); - - $parser->match(TokenType::T_CLOSE_PARENTHESIS); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/Functions/MaxFunction.php b/vendor/doctrine/orm/src/Query/AST/Functions/MaxFunction.php deleted file mode 100644 index 8a6eecf..0000000 --- a/vendor/doctrine/orm/src/Query/AST/Functions/MaxFunction.php +++ /dev/null @@ -1,27 +0,0 @@ -aggregateExpression->dispatch($sqlWalker); - } - - public function parse(Parser $parser): void - { - $this->aggregateExpression = $parser->AggregateExpression(); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/Functions/MinFunction.php b/vendor/doctrine/orm/src/Query/AST/Functions/MinFunction.php deleted file mode 100644 index 98d73a2..0000000 --- a/vendor/doctrine/orm/src/Query/AST/Functions/MinFunction.php +++ /dev/null @@ -1,27 +0,0 @@ -aggregateExpression->dispatch($sqlWalker); - } - - public function parse(Parser $parser): void - { - $this->aggregateExpression = $parser->AggregateExpression(); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/Functions/ModFunction.php b/vendor/doctrine/orm/src/Query/AST/Functions/ModFunction.php deleted file mode 100644 index 7c1af0b..0000000 --- a/vendor/doctrine/orm/src/Query/AST/Functions/ModFunction.php +++ /dev/null @@ -1,43 +0,0 @@ -getConnection()->getDatabasePlatform()->getModExpression( - $sqlWalker->walkSimpleArithmeticExpression($this->firstSimpleArithmeticExpression), - $sqlWalker->walkSimpleArithmeticExpression($this->secondSimpleArithmeticExpression), - ); - } - - public function parse(Parser $parser): void - { - $parser->match(TokenType::T_IDENTIFIER); - $parser->match(TokenType::T_OPEN_PARENTHESIS); - - $this->firstSimpleArithmeticExpression = $parser->SimpleArithmeticExpression(); - - $parser->match(TokenType::T_COMMA); - - $this->secondSimpleArithmeticExpression = $parser->SimpleArithmeticExpression(); - - $parser->match(TokenType::T_CLOSE_PARENTHESIS); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/Functions/SizeFunction.php b/vendor/doctrine/orm/src/Query/AST/Functions/SizeFunction.php deleted file mode 100644 index 87ee713..0000000 --- a/vendor/doctrine/orm/src/Query/AST/Functions/SizeFunction.php +++ /dev/null @@ -1,113 +0,0 @@ -collectionPathExpression->field !== null); - $entityManager = $sqlWalker->getEntityManager(); - $platform = $entityManager->getConnection()->getDatabasePlatform(); - $quoteStrategy = $entityManager->getConfiguration()->getQuoteStrategy(); - $dqlAlias = $this->collectionPathExpression->identificationVariable; - $assocField = $this->collectionPathExpression->field; - - $class = $sqlWalker->getMetadataForDqlAlias($dqlAlias); - $assoc = $class->associationMappings[$assocField]; - $sql = 'SELECT COUNT(*) FROM '; - - if ($assoc->isOneToMany()) { - $targetClass = $entityManager->getClassMetadata($assoc->targetEntity); - $targetTableAlias = $sqlWalker->getSQLTableAlias($targetClass->getTableName()); - $sourceTableAlias = $sqlWalker->getSQLTableAlias($class->getTableName(), $dqlAlias); - - $sql .= $quoteStrategy->getTableName($targetClass, $platform) . ' ' . $targetTableAlias . ' WHERE '; - - $owningAssoc = $targetClass->associationMappings[$assoc->mappedBy]; - assert($owningAssoc->isManyToOne()); - - $first = true; - - foreach ($owningAssoc->targetToSourceKeyColumns as $targetColumn => $sourceColumn) { - if ($first) { - $first = false; - } else { - $sql .= ' AND '; - } - - $sql .= $targetTableAlias . '.' . $sourceColumn - . ' = ' - . $sourceTableAlias . '.' . $quoteStrategy->getColumnName($class->fieldNames[$targetColumn], $class, $platform); - } - } else { // many-to-many - assert($assoc->isManyToMany()); - $owningAssoc = $entityManager->getMetadataFactory()->getOwningSide($assoc); - $joinTable = $owningAssoc->joinTable; - - // SQL table aliases - $joinTableAlias = $sqlWalker->getSQLTableAlias($joinTable->name); - $sourceTableAlias = $sqlWalker->getSQLTableAlias($class->getTableName(), $dqlAlias); - - // join to target table - $targetClass = $entityManager->getClassMetadata($assoc->targetEntity); - $sql .= $quoteStrategy->getJoinTableName($owningAssoc, $targetClass, $platform) . ' ' . $joinTableAlias . ' WHERE '; - - $joinColumns = $assoc->isOwningSide() - ? $joinTable->joinColumns - : $joinTable->inverseJoinColumns; - - $first = true; - - foreach ($joinColumns as $joinColumn) { - if ($first) { - $first = false; - } else { - $sql .= ' AND '; - } - - $sourceColumnName = $quoteStrategy->getColumnName( - $class->fieldNames[$joinColumn->referencedColumnName], - $class, - $platform, - ); - - $sql .= $joinTableAlias . '.' . $joinColumn->name - . ' = ' - . $sourceTableAlias . '.' . $sourceColumnName; - } - } - - return '(' . $sql . ')'; - } - - public function parse(Parser $parser): void - { - $parser->match(TokenType::T_IDENTIFIER); - $parser->match(TokenType::T_OPEN_PARENTHESIS); - - $this->collectionPathExpression = $parser->CollectionValuedPathExpression(); - - $parser->match(TokenType::T_CLOSE_PARENTHESIS); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/Functions/SqrtFunction.php b/vendor/doctrine/orm/src/Query/AST/Functions/SqrtFunction.php deleted file mode 100644 index e643663..0000000 --- a/vendor/doctrine/orm/src/Query/AST/Functions/SqrtFunction.php +++ /dev/null @@ -1,40 +0,0 @@ -walkSimpleArithmeticExpression($this->simpleArithmeticExpression), - ); - } - - public function parse(Parser $parser): void - { - $parser->match(TokenType::T_IDENTIFIER); - $parser->match(TokenType::T_OPEN_PARENTHESIS); - - $this->simpleArithmeticExpression = $parser->SimpleArithmeticExpression(); - - $parser->match(TokenType::T_CLOSE_PARENTHESIS); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/Functions/SubstringFunction.php b/vendor/doctrine/orm/src/Query/AST/Functions/SubstringFunction.php deleted file mode 100644 index 5744f08..0000000 --- a/vendor/doctrine/orm/src/Query/AST/Functions/SubstringFunction.php +++ /dev/null @@ -1,58 +0,0 @@ -secondSimpleArithmeticExpression !== null) { - $optionalSecondSimpleArithmeticExpression = $sqlWalker->walkSimpleArithmeticExpression($this->secondSimpleArithmeticExpression); - } - - return $sqlWalker->getConnection()->getDatabasePlatform()->getSubstringExpression( - $sqlWalker->walkStringPrimary($this->stringPrimary), - $sqlWalker->walkSimpleArithmeticExpression($this->firstSimpleArithmeticExpression), - $optionalSecondSimpleArithmeticExpression, - ); - } - - public function parse(Parser $parser): void - { - $parser->match(TokenType::T_IDENTIFIER); - $parser->match(TokenType::T_OPEN_PARENTHESIS); - - $this->stringPrimary = $parser->StringPrimary(); - - $parser->match(TokenType::T_COMMA); - - $this->firstSimpleArithmeticExpression = $parser->SimpleArithmeticExpression(); - - $lexer = $parser->getLexer(); - if ($lexer->isNextToken(TokenType::T_COMMA)) { - $parser->match(TokenType::T_COMMA); - - $this->secondSimpleArithmeticExpression = $parser->SimpleArithmeticExpression(); - } - - $parser->match(TokenType::T_CLOSE_PARENTHESIS); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/Functions/SumFunction.php b/vendor/doctrine/orm/src/Query/AST/Functions/SumFunction.php deleted file mode 100644 index 588dce9..0000000 --- a/vendor/doctrine/orm/src/Query/AST/Functions/SumFunction.php +++ /dev/null @@ -1,27 +0,0 @@ -aggregateExpression->dispatch($sqlWalker); - } - - public function parse(Parser $parser): void - { - $this->aggregateExpression = $parser->AggregateExpression(); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/Functions/TrimFunction.php b/vendor/doctrine/orm/src/Query/AST/Functions/TrimFunction.php deleted file mode 100644 index e0a3e99..0000000 --- a/vendor/doctrine/orm/src/Query/AST/Functions/TrimFunction.php +++ /dev/null @@ -1,119 +0,0 @@ -walkStringPrimary($this->stringPrimary); - $platform = $sqlWalker->getConnection()->getDatabasePlatform(); - $trimMode = $this->getTrimMode(); - - if ($this->trimChar !== false) { - return $platform->getTrimExpression( - $stringPrimary, - $trimMode, - $platform->quoteStringLiteral($this->trimChar), - ); - } - - return $platform->getTrimExpression($stringPrimary, $trimMode); - } - - public function parse(Parser $parser): void - { - $lexer = $parser->getLexer(); - - $parser->match(TokenType::T_IDENTIFIER); - $parser->match(TokenType::T_OPEN_PARENTHESIS); - - $this->parseTrimMode($parser); - - if ($lexer->isNextToken(TokenType::T_STRING)) { - $parser->match(TokenType::T_STRING); - - assert($lexer->token !== null); - $this->trimChar = $lexer->token->value; - } - - if ($this->leading || $this->trailing || $this->both || ($this->trimChar !== false)) { - $parser->match(TokenType::T_FROM); - } - - $this->stringPrimary = $parser->StringPrimary(); - - $parser->match(TokenType::T_CLOSE_PARENTHESIS); - } - - /** @psalm-return TrimMode::* */ - private function getTrimMode(): TrimMode|int - { - if ($this->leading) { - return TrimMode::LEADING; - } - - if ($this->trailing) { - return TrimMode::TRAILING; - } - - if ($this->both) { - return TrimMode::BOTH; - } - - return TrimMode::UNSPECIFIED; - } - - private function parseTrimMode(Parser $parser): void - { - $lexer = $parser->getLexer(); - assert($lexer->lookahead !== null); - $value = $lexer->lookahead->value; - - if (strcasecmp('leading', $value) === 0) { - $parser->match(TokenType::T_LEADING); - - $this->leading = true; - - return; - } - - if (strcasecmp('trailing', $value) === 0) { - $parser->match(TokenType::T_TRAILING); - - $this->trailing = true; - - return; - } - - if (strcasecmp('both', $value) === 0) { - $parser->match(TokenType::T_BOTH); - - $this->both = true; - - return; - } - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/Functions/UpperFunction.php b/vendor/doctrine/orm/src/Query/AST/Functions/UpperFunction.php deleted file mode 100644 index 1ecef66..0000000 --- a/vendor/doctrine/orm/src/Query/AST/Functions/UpperFunction.php +++ /dev/null @@ -1,40 +0,0 @@ -walkSimpleArithmeticExpression($this->stringPrimary), - ); - } - - public function parse(Parser $parser): void - { - $parser->match(TokenType::T_IDENTIFIER); - $parser->match(TokenType::T_OPEN_PARENTHESIS); - - $this->stringPrimary = $parser->StringPrimary(); - - $parser->match(TokenType::T_CLOSE_PARENTHESIS); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/GeneralCaseExpression.php b/vendor/doctrine/orm/src/Query/AST/GeneralCaseExpression.php deleted file mode 100644 index 39d760a..0000000 --- a/vendor/doctrine/orm/src/Query/AST/GeneralCaseExpression.php +++ /dev/null @@ -1,27 +0,0 @@ -walkGeneralCaseExpression($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/GroupByClause.php b/vendor/doctrine/orm/src/Query/AST/GroupByClause.php deleted file mode 100644 index eb0f1b9..0000000 --- a/vendor/doctrine/orm/src/Query/AST/GroupByClause.php +++ /dev/null @@ -1,20 +0,0 @@ -walkGroupByClause($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/HavingClause.php b/vendor/doctrine/orm/src/Query/AST/HavingClause.php deleted file mode 100644 index 0d4d821..0000000 --- a/vendor/doctrine/orm/src/Query/AST/HavingClause.php +++ /dev/null @@ -1,19 +0,0 @@ -walkHavingClause($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/IdentificationVariableDeclaration.php b/vendor/doctrine/orm/src/Query/AST/IdentificationVariableDeclaration.php deleted file mode 100644 index c4c7cca..0000000 --- a/vendor/doctrine/orm/src/Query/AST/IdentificationVariableDeclaration.php +++ /dev/null @@ -1,28 +0,0 @@ -walkIdentificationVariableDeclaration($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/InListExpression.php b/vendor/doctrine/orm/src/Query/AST/InListExpression.php deleted file mode 100644 index dc0f32b..0000000 --- a/vendor/doctrine/orm/src/Query/AST/InListExpression.php +++ /dev/null @@ -1,23 +0,0 @@ - $literals */ - public function __construct( - public ArithmeticExpression $expression, - public array $literals, - public bool $not = false, - ) { - } - - public function dispatch(SqlWalker $walker): string - { - return $walker->walkInListExpression($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/InSubselectExpression.php b/vendor/doctrine/orm/src/Query/AST/InSubselectExpression.php deleted file mode 100644 index 1128285..0000000 --- a/vendor/doctrine/orm/src/Query/AST/InSubselectExpression.php +++ /dev/null @@ -1,22 +0,0 @@ -walkInSubselectExpression($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/IndexBy.php b/vendor/doctrine/orm/src/Query/AST/IndexBy.php deleted file mode 100644 index 3d90265..0000000 --- a/vendor/doctrine/orm/src/Query/AST/IndexBy.php +++ /dev/null @@ -1,26 +0,0 @@ -walkIndexBy($this); - - return ''; - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/InputParameter.php b/vendor/doctrine/orm/src/Query/AST/InputParameter.php deleted file mode 100644 index a8e0a3b..0000000 --- a/vendor/doctrine/orm/src/Query/AST/InputParameter.php +++ /dev/null @@ -1,35 +0,0 @@ -isNamed = ! is_numeric($param); - $this->name = $param; - } - - public function dispatch(SqlWalker $walker): string - { - return $walker->walkInputParameter($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/InstanceOfExpression.php b/vendor/doctrine/orm/src/Query/AST/InstanceOfExpression.php deleted file mode 100644 index 3a4e75f..0000000 --- a/vendor/doctrine/orm/src/Query/AST/InstanceOfExpression.php +++ /dev/null @@ -1,29 +0,0 @@ - $value */ - public function __construct( - public string $identificationVariable, - public array $value, - public bool $not = false, - ) { - } - - public function dispatch(SqlWalker $walker): string - { - return $walker->walkInstanceOfExpression($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/Join.php b/vendor/doctrine/orm/src/Query/AST/Join.php deleted file mode 100644 index 34ce830..0000000 --- a/vendor/doctrine/orm/src/Query/AST/Join.php +++ /dev/null @@ -1,34 +0,0 @@ -walkJoin($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/JoinAssociationDeclaration.php b/vendor/doctrine/orm/src/Query/AST/JoinAssociationDeclaration.php deleted file mode 100644 index e08d7f5..0000000 --- a/vendor/doctrine/orm/src/Query/AST/JoinAssociationDeclaration.php +++ /dev/null @@ -1,27 +0,0 @@ -walkJoinAssociationDeclaration($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/JoinAssociationPathExpression.php b/vendor/doctrine/orm/src/Query/AST/JoinAssociationPathExpression.php deleted file mode 100644 index 230be36..0000000 --- a/vendor/doctrine/orm/src/Query/AST/JoinAssociationPathExpression.php +++ /dev/null @@ -1,19 +0,0 @@ -walkJoinPathExpression($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/JoinVariableDeclaration.php b/vendor/doctrine/orm/src/Query/AST/JoinVariableDeclaration.php deleted file mode 100644 index bf76695..0000000 --- a/vendor/doctrine/orm/src/Query/AST/JoinVariableDeclaration.php +++ /dev/null @@ -1,24 +0,0 @@ -walkJoinVariableDeclaration($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/LikeExpression.php b/vendor/doctrine/orm/src/Query/AST/LikeExpression.php deleted file mode 100644 index e3f67f8..0000000 --- a/vendor/doctrine/orm/src/Query/AST/LikeExpression.php +++ /dev/null @@ -1,29 +0,0 @@ -walkLikeExpression($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/Literal.php b/vendor/doctrine/orm/src/Query/AST/Literal.php deleted file mode 100644 index 9ec2036..0000000 --- a/vendor/doctrine/orm/src/Query/AST/Literal.php +++ /dev/null @@ -1,26 +0,0 @@ -walkLiteral($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/NewObjectExpression.php b/vendor/doctrine/orm/src/Query/AST/NewObjectExpression.php deleted file mode 100644 index 7383c48..0000000 --- a/vendor/doctrine/orm/src/Query/AST/NewObjectExpression.php +++ /dev/null @@ -1,25 +0,0 @@ -walkNewObject($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/Node.php b/vendor/doctrine/orm/src/Query/AST/Node.php deleted file mode 100644 index cdb5855..0000000 --- a/vendor/doctrine/orm/src/Query/AST/Node.php +++ /dev/null @@ -1,85 +0,0 @@ -dump($this); - } - - public function dump(mixed $value): string - { - static $ident = 0; - - $str = ''; - - if ($value instanceof Node) { - $str .= get_debug_type($value) . '(' . PHP_EOL; - $props = get_object_vars($value); - - foreach ($props as $name => $prop) { - $ident += 4; - $str .= str_repeat(' ', $ident) . '"' . $name . '": ' - . $this->dump($prop) . ',' . PHP_EOL; - $ident -= 4; - } - - $str .= str_repeat(' ', $ident) . ')'; - } elseif (is_array($value)) { - $ident += 4; - $str .= 'array('; - $some = false; - - foreach ($value as $k => $v) { - $str .= PHP_EOL . str_repeat(' ', $ident) . '"' - . $k . '" => ' . $this->dump($v) . ','; - $some = true; - } - - $ident -= 4; - $str .= ($some ? PHP_EOL . str_repeat(' ', $ident) : '') . ')'; - } elseif (is_object($value)) { - $str .= 'instanceof(' . get_debug_type($value) . ')'; - } else { - $str .= var_export($value, true); - } - - return $str; - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/NullComparisonExpression.php b/vendor/doctrine/orm/src/Query/AST/NullComparisonExpression.php deleted file mode 100644 index e60cb04..0000000 --- a/vendor/doctrine/orm/src/Query/AST/NullComparisonExpression.php +++ /dev/null @@ -1,26 +0,0 @@ -walkNullComparisonExpression($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/NullIfExpression.php b/vendor/doctrine/orm/src/Query/AST/NullIfExpression.php deleted file mode 100644 index 6fffeeb..0000000 --- a/vendor/doctrine/orm/src/Query/AST/NullIfExpression.php +++ /dev/null @@ -1,24 +0,0 @@ -walkNullIfExpression($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/OrderByClause.php b/vendor/doctrine/orm/src/Query/AST/OrderByClause.php deleted file mode 100644 index f6d7a67..0000000 --- a/vendor/doctrine/orm/src/Query/AST/OrderByClause.php +++ /dev/null @@ -1,25 +0,0 @@ -walkOrderByClause($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/OrderByItem.php b/vendor/doctrine/orm/src/Query/AST/OrderByItem.php deleted file mode 100644 index 64b3f40..0000000 --- a/vendor/doctrine/orm/src/Query/AST/OrderByItem.php +++ /dev/null @@ -1,38 +0,0 @@ -type) === 'ASC'; - } - - public function isDesc(): bool - { - return strtoupper($this->type) === 'DESC'; - } - - public function dispatch(SqlWalker $walker): string - { - return $walker->walkOrderByItem($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/ParenthesisExpression.php b/vendor/doctrine/orm/src/Query/AST/ParenthesisExpression.php deleted file mode 100644 index cda6d19..0000000 --- a/vendor/doctrine/orm/src/Query/AST/ParenthesisExpression.php +++ /dev/null @@ -1,22 +0,0 @@ -walkParenthesisExpression($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/PathExpression.php b/vendor/doctrine/orm/src/Query/AST/PathExpression.php deleted file mode 100644 index 4a56fcd..0000000 --- a/vendor/doctrine/orm/src/Query/AST/PathExpression.php +++ /dev/null @@ -1,39 +0,0 @@ - $expectedType */ - public function __construct( - public int $expectedType, - public string $identificationVariable, - public string|null $field = null, - ) { - } - - public function dispatch(SqlWalker $walker): string - { - return $walker->walkPathExpression($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/Phase2OptimizableConditional.php b/vendor/doctrine/orm/src/Query/AST/Phase2OptimizableConditional.php deleted file mode 100644 index 276f8f8..0000000 --- a/vendor/doctrine/orm/src/Query/AST/Phase2OptimizableConditional.php +++ /dev/null @@ -1,17 +0,0 @@ -type) === 'ALL'; - } - - public function isAny(): bool - { - return strtoupper($this->type) === 'ANY'; - } - - public function isSome(): bool - { - return strtoupper($this->type) === 'SOME'; - } - - public function dispatch(SqlWalker $walker): string - { - return $walker->walkQuantifiedExpression($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/RangeVariableDeclaration.php b/vendor/doctrine/orm/src/Query/AST/RangeVariableDeclaration.php deleted file mode 100644 index 59bd5c8..0000000 --- a/vendor/doctrine/orm/src/Query/AST/RangeVariableDeclaration.php +++ /dev/null @@ -1,27 +0,0 @@ -walkRangeVariableDeclaration($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/SelectClause.php b/vendor/doctrine/orm/src/Query/AST/SelectClause.php deleted file mode 100644 index ad50e67..0000000 --- a/vendor/doctrine/orm/src/Query/AST/SelectClause.php +++ /dev/null @@ -1,27 +0,0 @@ -walkSelectClause($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/SelectExpression.php b/vendor/doctrine/orm/src/Query/AST/SelectExpression.php deleted file mode 100644 index f09f3cd..0000000 --- a/vendor/doctrine/orm/src/Query/AST/SelectExpression.php +++ /dev/null @@ -1,28 +0,0 @@ -walkSelectExpression($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/SelectStatement.php b/vendor/doctrine/orm/src/Query/AST/SelectStatement.php deleted file mode 100644 index 399462f..0000000 --- a/vendor/doctrine/orm/src/Query/AST/SelectStatement.php +++ /dev/null @@ -1,32 +0,0 @@ -walkSelectStatement($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/SimpleArithmeticExpression.php b/vendor/doctrine/orm/src/Query/AST/SimpleArithmeticExpression.php deleted file mode 100644 index ae7ca44..0000000 --- a/vendor/doctrine/orm/src/Query/AST/SimpleArithmeticExpression.php +++ /dev/null @@ -1,25 +0,0 @@ -walkSimpleArithmeticExpression($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/SimpleCaseExpression.php b/vendor/doctrine/orm/src/Query/AST/SimpleCaseExpression.php deleted file mode 100644 index b3764ba..0000000 --- a/vendor/doctrine/orm/src/Query/AST/SimpleCaseExpression.php +++ /dev/null @@ -1,28 +0,0 @@ -walkSimpleCaseExpression($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/SimpleSelectClause.php b/vendor/doctrine/orm/src/Query/AST/SimpleSelectClause.php deleted file mode 100644 index 0259e3b..0000000 --- a/vendor/doctrine/orm/src/Query/AST/SimpleSelectClause.php +++ /dev/null @@ -1,26 +0,0 @@ -walkSimpleSelectClause($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/SimpleSelectExpression.php b/vendor/doctrine/orm/src/Query/AST/SimpleSelectExpression.php deleted file mode 100644 index 97e8f08..0000000 --- a/vendor/doctrine/orm/src/Query/AST/SimpleSelectExpression.php +++ /dev/null @@ -1,27 +0,0 @@ -walkSimpleSelectExpression($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/SimpleWhenClause.php b/vendor/doctrine/orm/src/Query/AST/SimpleWhenClause.php deleted file mode 100644 index 892165a..0000000 --- a/vendor/doctrine/orm/src/Query/AST/SimpleWhenClause.php +++ /dev/null @@ -1,26 +0,0 @@ -walkWhenClauseExpression($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/Subselect.php b/vendor/doctrine/orm/src/Query/AST/Subselect.php deleted file mode 100644 index 8ff8595..0000000 --- a/vendor/doctrine/orm/src/Query/AST/Subselect.php +++ /dev/null @@ -1,32 +0,0 @@ -walkSubselect($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/SubselectFromClause.php b/vendor/doctrine/orm/src/Query/AST/SubselectFromClause.php deleted file mode 100644 index 7cf01e2..0000000 --- a/vendor/doctrine/orm/src/Query/AST/SubselectFromClause.php +++ /dev/null @@ -1,25 +0,0 @@ -walkSubselectFromClause($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/SubselectIdentificationVariableDeclaration.php b/vendor/doctrine/orm/src/Query/AST/SubselectIdentificationVariableDeclaration.php deleted file mode 100644 index eadf6bc..0000000 --- a/vendor/doctrine/orm/src/Query/AST/SubselectIdentificationVariableDeclaration.php +++ /dev/null @@ -1,19 +0,0 @@ -walkUpdateClause($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/UpdateItem.php b/vendor/doctrine/orm/src/Query/AST/UpdateItem.php deleted file mode 100644 index b540593..0000000 --- a/vendor/doctrine/orm/src/Query/AST/UpdateItem.php +++ /dev/null @@ -1,26 +0,0 @@ -walkUpdateItem($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/UpdateStatement.php b/vendor/doctrine/orm/src/Query/AST/UpdateStatement.php deleted file mode 100644 index 7ea5076..0000000 --- a/vendor/doctrine/orm/src/Query/AST/UpdateStatement.php +++ /dev/null @@ -1,26 +0,0 @@ -walkUpdateStatement($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/WhenClause.php b/vendor/doctrine/orm/src/Query/AST/WhenClause.php deleted file mode 100644 index 9bf194e..0000000 --- a/vendor/doctrine/orm/src/Query/AST/WhenClause.php +++ /dev/null @@ -1,26 +0,0 @@ -walkWhenClauseExpression($this); - } -} diff --git a/vendor/doctrine/orm/src/Query/AST/WhereClause.php b/vendor/doctrine/orm/src/Query/AST/WhereClause.php deleted file mode 100644 index e4d7b66..0000000 --- a/vendor/doctrine/orm/src/Query/AST/WhereClause.php +++ /dev/null @@ -1,24 +0,0 @@ -walkWhereClause($this); - } -} -- cgit v1.2.3