From 8cb11a5fbd17c06c61d27ca08219cdb80d2a72d4 Mon Sep 17 00:00:00 2001 From: Karoly Gossler Date: Sun, 28 Jan 2024 11:19:41 +0100 Subject: [PATCH] convert phpdoc to one-liner --- src/Query/Mysql/AddTime.php | 4 +--- src/Query/Mysql/Binary.php | 4 +--- src/Query/Mysql/CharLength.php | 4 +--- src/Query/Mysql/Collate.php | 1 + src/Query/Mysql/ConcatWs.php | 4 +--- src/Query/Mysql/CountIf.php | 4 +--- src/Query/Mysql/Crc32.php | 4 +--- src/Query/Mysql/Date.php | 4 +--- src/Query/Mysql/DateFormat.php | 4 +--- src/Query/Mysql/DateSub.php | 4 +--- src/Query/Mysql/DayName.php | 4 +--- src/Query/Mysql/Extract.php | 4 +--- src/Query/Mysql/Field.php | 4 +--- src/Query/Mysql/Format.php | 4 +--- src/Query/Mysql/FromUnixtime.php | 4 +--- src/Query/Mysql/Hour.php | 4 +--- src/Query/Mysql/IfElse.php | 4 +--- src/Query/Mysql/IfNull.php | 4 +--- src/Query/Mysql/Least.php | 4 +--- src/Query/Mysql/Lpad.php | 4 +--- src/Query/Mysql/Md5.php | 4 +--- src/Query/Mysql/Minute.php | 4 +--- src/Query/Mysql/MonthName.php | 4 +--- src/Query/Mysql/NullIf.php | 4 +--- src/Query/Mysql/Quarter.php | 4 +--- src/Query/Mysql/Replace.php | 4 +--- src/Query/Mysql/Rpad.php | 4 +--- src/Query/Mysql/Second.php | 4 +--- src/Query/Mysql/Sha1.php | 4 +--- src/Query/Mysql/Sha2.php | 4 +--- src/Query/Mysql/Soundex.php | 4 +--- src/Query/Mysql/Std.php | 4 +--- src/Query/Mysql/StdDev.php | 4 +--- src/Query/Mysql/TimestampAdd.php | 4 +--- src/Query/Mysql/TimestampDiff.php | 4 +--- src/Query/Mysql/Truncate.php | 4 +--- src/Query/Mysql/UtcTimestamp.php | 4 +--- src/Query/Mysql/WeekDay.php | 4 +--- src/Query/Mysql/Year.php | 4 +--- src/Query/Mysql/YearWeek.php | 4 +--- src/Query/Oracle/Ceil.php | 4 +--- src/Query/Oracle/Day.php | 4 +--- src/Query/Oracle/Floor.php | 4 +--- src/Query/Oracle/Hour.php | 4 +--- src/Query/Oracle/Listagg.php | 4 +--- src/Query/Oracle/Minute.php | 4 +--- src/Query/Oracle/Month.php | 4 +--- src/Query/Oracle/Nvl.php | 4 +--- src/Query/Oracle/Second.php | 4 +--- src/Query/Oracle/ToChar.php | 4 +--- src/Query/Oracle/ToDate.php | 4 +--- src/Query/Oracle/Trunc.php | 4 +--- src/Query/Oracle/Year.php | 4 +--- src/Query/Postgresql/DateFormat.php | 4 +--- src/Query/Postgresql/DatePart.php | 4 +--- src/Query/Sqlite/AbstractStrfTime.php | 4 +--- src/Query/Sqlite/ConcatWs.php | 4 +--- src/Query/Sqlite/Date.php | 4 +--- src/Query/Sqlite/Day.php | 4 +--- src/Query/Sqlite/Hour.php | 4 +--- src/Query/Sqlite/IfElse.php | 4 +--- src/Query/Sqlite/IfNull.php | 4 +--- src/Query/Sqlite/JulianDay.php | 4 +--- src/Query/Sqlite/Least.php | 4 +--- src/Query/Sqlite/Minute.php | 4 +--- src/Query/Sqlite/Month.php | 4 +--- src/Query/Sqlite/Replace.php | 4 +--- src/Query/Sqlite/Round.php | 4 +--- src/Query/Sqlite/StrfTime.php | 4 +--- src/Query/Sqlite/Week.php | 4 +--- src/Query/Sqlite/WeekDay.php | 4 +--- src/Query/Sqlite/Year.php | 4 +--- tests/Query/Oracle/CeilTest.php | 4 +--- tests/Query/Oracle/FloorTest.php | 4 +--- tests/Query/Oracle/ListaggTest.php | 4 +--- tests/Query/Oracle/ToCharTest.php | 4 +--- tests/Query/Oracle/TruncTest.php | 4 +--- tests/Query/Sqlite/StringFunctionsTest.php | 1 + 78 files changed, 78 insertions(+), 228 deletions(-) diff --git a/src/Query/Mysql/AddTime.php b/src/Query/Mysql/AddTime.php index 3356cbca..37d9a037 100644 --- a/src/Query/Mysql/AddTime.php +++ b/src/Query/Mysql/AddTime.php @@ -7,9 +7,7 @@ use Doctrine\ORM\Query\Parser; use Doctrine\ORM\Query\SqlWalker; -/** - * @author Pascal Wacker - */ +/** @author Pascal Wacker */ class AddTime extends FunctionNode { public $date; diff --git a/src/Query/Mysql/Binary.php b/src/Query/Mysql/Binary.php index dfd52822..8d9db224 100644 --- a/src/Query/Mysql/Binary.php +++ b/src/Query/Mysql/Binary.php @@ -7,9 +7,7 @@ use Doctrine\ORM\Query\Parser; use Doctrine\ORM\Query\SqlWalker; -/** - * @author Sarjono Mukti Aji - */ +/** @author Sarjono Mukti Aji */ class Binary extends FunctionNode { private $stringPrimary; diff --git a/src/Query/Mysql/CharLength.php b/src/Query/Mysql/CharLength.php index fb320811..58a755f4 100644 --- a/src/Query/Mysql/CharLength.php +++ b/src/Query/Mysql/CharLength.php @@ -7,9 +7,7 @@ use Doctrine\ORM\Query\Parser; use Doctrine\ORM\Query\SqlWalker; -/** - * @author Metod - */ +/** @author Metod */ class CharLength extends FunctionNode { private $expr1; diff --git a/src/Query/Mysql/Collate.php b/src/Query/Mysql/Collate.php index ba730dba..88d4f841 100644 --- a/src/Query/Mysql/Collate.php +++ b/src/Query/Mysql/Collate.php @@ -11,6 +11,7 @@ /** * @link https://dev.mysql.com/doc/refman/en/charset-collate.html + * * @author Peter Tanath */ class Collate extends FunctionNode diff --git a/src/Query/Mysql/ConcatWs.php b/src/Query/Mysql/ConcatWs.php index 12d61008..fb86097a 100644 --- a/src/Query/Mysql/ConcatWs.php +++ b/src/Query/Mysql/ConcatWs.php @@ -12,9 +12,7 @@ use function sprintf; use function strtolower; -/** - * @author Andrew Mackrodt - */ +/** @author Andrew Mackrodt */ class ConcatWs extends FunctionNode { private $values = []; diff --git a/src/Query/Mysql/CountIf.php b/src/Query/Mysql/CountIf.php index fc3dd472..88475e36 100644 --- a/src/Query/Mysql/CountIf.php +++ b/src/Query/Mysql/CountIf.php @@ -10,9 +10,7 @@ use function sprintf; use function strtolower; -/** - * @author Andrew Mackrodt - */ +/** @author Andrew Mackrodt */ class CountIf extends FunctionNode { private $expr1; diff --git a/src/Query/Mysql/Crc32.php b/src/Query/Mysql/Crc32.php index b7cf9506..23b42002 100644 --- a/src/Query/Mysql/Crc32.php +++ b/src/Query/Mysql/Crc32.php @@ -7,9 +7,7 @@ use Doctrine\ORM\Query\Parser; use Doctrine\ORM\Query\SqlWalker; -/** - * @author Igor Timoshenko - */ +/** @author Igor Timoshenko */ class Crc32 extends FunctionNode { public $stringPrimary; diff --git a/src/Query/Mysql/Date.php b/src/Query/Mysql/Date.php index e650b29e..4ad78ffb 100644 --- a/src/Query/Mysql/Date.php +++ b/src/Query/Mysql/Date.php @@ -7,9 +7,7 @@ use Doctrine\ORM\Query\Parser; use Doctrine\ORM\Query\SqlWalker; -/** - * @author Steve Lacey - */ +/** @author Steve Lacey */ class Date extends FunctionNode { public $date; diff --git a/src/Query/Mysql/DateFormat.php b/src/Query/Mysql/DateFormat.php index acc36068..951f7d09 100644 --- a/src/Query/Mysql/DateFormat.php +++ b/src/Query/Mysql/DateFormat.php @@ -7,9 +7,7 @@ use Doctrine\ORM\Query\Parser; use Doctrine\ORM\Query\SqlWalker; -/** - * @author Steve Lacey - */ +/** @author Steve Lacey */ class DateFormat extends FunctionNode { public $dateExpression = null; diff --git a/src/Query/Mysql/DateSub.php b/src/Query/Mysql/DateSub.php index 0cbfe39d..795e10c4 100644 --- a/src/Query/Mysql/DateSub.php +++ b/src/Query/Mysql/DateSub.php @@ -9,9 +9,7 @@ use function is_string; use function strtoupper; -/** - * @author Vas N - */ +/** @author Vas N */ class DateSub extends DateAdd { /** @throws QueryException */ diff --git a/src/Query/Mysql/DayName.php b/src/Query/Mysql/DayName.php index 542b2cb2..e7958a3d 100644 --- a/src/Query/Mysql/DayName.php +++ b/src/Query/Mysql/DayName.php @@ -7,9 +7,7 @@ use Doctrine\ORM\Query\Parser; use Doctrine\ORM\Query\SqlWalker; -/** - * @author Steve Lacey - */ +/** @author Steve Lacey */ class DayName extends FunctionNode { public $date; diff --git a/src/Query/Mysql/Extract.php b/src/Query/Mysql/Extract.php index 070d0890..ff6af97a 100644 --- a/src/Query/Mysql/Extract.php +++ b/src/Query/Mysql/Extract.php @@ -10,9 +10,7 @@ use function in_array; use function strtoupper; -/** - * @author Ahwalian Masykur - */ +/** @author Ahwalian Masykur */ class Extract extends DateAdd { public $date = null; diff --git a/src/Query/Mysql/Field.php b/src/Query/Mysql/Field.php index a90fb499..849ca9ac 100644 --- a/src/Query/Mysql/Field.php +++ b/src/Query/Mysql/Field.php @@ -9,9 +9,7 @@ use function count; -/** - * @author Jeremy Hicks - */ +/** @author Jeremy Hicks */ class Field extends FunctionNode { private $field = null; diff --git a/src/Query/Mysql/Format.php b/src/Query/Mysql/Format.php index cd4843c9..f42f48ad 100644 --- a/src/Query/Mysql/Format.php +++ b/src/Query/Mysql/Format.php @@ -7,9 +7,7 @@ use Doctrine\ORM\Query\Parser; use Doctrine\ORM\Query\SqlWalker; -/** - * @author Wally Noveno - */ +/** @author Wally Noveno */ class Format extends FunctionNode { public $numberExpression = null; diff --git a/src/Query/Mysql/FromUnixtime.php b/src/Query/Mysql/FromUnixtime.php index f150cee0..be8fda18 100644 --- a/src/Query/Mysql/FromUnixtime.php +++ b/src/Query/Mysql/FromUnixtime.php @@ -7,9 +7,7 @@ use Doctrine\ORM\Query\Parser; use Doctrine\ORM\Query\SqlWalker; -/** - * @author Nima S - */ +/** @author Nima S */ class FromUnixtime extends FunctionNode { public $firstExpression = null; diff --git a/src/Query/Mysql/Hour.php b/src/Query/Mysql/Hour.php index 6fd990ed..e7f23595 100644 --- a/src/Query/Mysql/Hour.php +++ b/src/Query/Mysql/Hour.php @@ -7,9 +7,7 @@ use Doctrine\ORM\Query\Parser; use Doctrine\ORM\Query\SqlWalker; -/** - * @author Dawid Nowak - */ +/** @author Dawid Nowak */ class Hour extends FunctionNode { public $date; diff --git a/src/Query/Mysql/IfElse.php b/src/Query/Mysql/IfElse.php index f20b6dc4..aa17e75b 100644 --- a/src/Query/Mysql/IfElse.php +++ b/src/Query/Mysql/IfElse.php @@ -9,9 +9,7 @@ use function sprintf; -/** - * @author Andrew Mackrodt - */ +/** @author Andrew Mackrodt */ class IfElse extends FunctionNode { private $expr = []; diff --git a/src/Query/Mysql/IfNull.php b/src/Query/Mysql/IfNull.php index 55b4a4e9..a563222e 100644 --- a/src/Query/Mysql/IfNull.php +++ b/src/Query/Mysql/IfNull.php @@ -7,9 +7,7 @@ use Doctrine\ORM\Query\Parser; use Doctrine\ORM\Query\SqlWalker; -/** - * @author Andrew Mackrodt - */ +/** @author Andrew Mackrodt */ class IfNull extends FunctionNode { private $expr1; diff --git a/src/Query/Mysql/Least.php b/src/Query/Mysql/Least.php index e8626dcb..4547a9b5 100644 --- a/src/Query/Mysql/Least.php +++ b/src/Query/Mysql/Least.php @@ -9,9 +9,7 @@ use function count; -/** - * @author Vas N - */ +/** @author Vas N */ class Least extends FunctionNode { private $field = null; diff --git a/src/Query/Mysql/Lpad.php b/src/Query/Mysql/Lpad.php index 46eb256a..ffc47eb1 100644 --- a/src/Query/Mysql/Lpad.php +++ b/src/Query/Mysql/Lpad.php @@ -7,9 +7,7 @@ use Doctrine\ORM\Query\Parser; use Doctrine\ORM\Query\SqlWalker; -/** - * @author Giulia Santoiemma - */ +/** @author Giulia Santoiemma */ class Lpad extends FunctionNode { public $string = null; diff --git a/src/Query/Mysql/Md5.php b/src/Query/Mysql/Md5.php index a43b4ee1..3ebcd663 100644 --- a/src/Query/Mysql/Md5.php +++ b/src/Query/Mysql/Md5.php @@ -7,9 +7,7 @@ use Doctrine\ORM\Query\Parser; use Doctrine\ORM\Query\SqlWalker; -/** - * @author Andreas Gallien - */ +/** @author Andreas Gallien */ class Md5 extends FunctionNode { public $stringPrimary; diff --git a/src/Query/Mysql/Minute.php b/src/Query/Mysql/Minute.php index a21dec0f..28a3118f 100644 --- a/src/Query/Mysql/Minute.php +++ b/src/Query/Mysql/Minute.php @@ -7,9 +7,7 @@ use Doctrine\ORM\Query\Parser; use Doctrine\ORM\Query\SqlWalker; -/** - * @author Martin Štekl - */ +/** @author Martin Štekl */ class Minute extends FunctionNode { public $date; diff --git a/src/Query/Mysql/MonthName.php b/src/Query/Mysql/MonthName.php index 4ca32b2e..d369b969 100644 --- a/src/Query/Mysql/MonthName.php +++ b/src/Query/Mysql/MonthName.php @@ -7,9 +7,7 @@ use Doctrine\ORM\Query\Parser; use Doctrine\ORM\Query\SqlWalker; -/** - * @author Steve Lacey - */ +/** @author Steve Lacey */ class MonthName extends FunctionNode { public $date; diff --git a/src/Query/Mysql/NullIf.php b/src/Query/Mysql/NullIf.php index 2a9191c5..330213c9 100644 --- a/src/Query/Mysql/NullIf.php +++ b/src/Query/Mysql/NullIf.php @@ -9,9 +9,7 @@ use function sprintf; -/** - * @author Andrew Mackrodt - */ +/** @author Andrew Mackrodt */ class NullIf extends FunctionNode { private $expr1; diff --git a/src/Query/Mysql/Quarter.php b/src/Query/Mysql/Quarter.php index 85417b4d..9a5b8875 100644 --- a/src/Query/Mysql/Quarter.php +++ b/src/Query/Mysql/Quarter.php @@ -7,9 +7,7 @@ use Doctrine\ORM\Query\Parser; use Doctrine\ORM\Query\SqlWalker; -/** - * @author Martin Štekl - */ +/** @author Martin Štekl */ class Quarter extends FunctionNode { public $date; diff --git a/src/Query/Mysql/Replace.php b/src/Query/Mysql/Replace.php index fd7607d2..33321c9c 100644 --- a/src/Query/Mysql/Replace.php +++ b/src/Query/Mysql/Replace.php @@ -7,9 +7,7 @@ use Doctrine\ORM\Query\Parser; use Doctrine\ORM\Query\SqlWalker; -/** - * @author Jarek Kostrz - */ +/** @author Jarek Kostrz */ class Replace extends FunctionNode { public $search = null; diff --git a/src/Query/Mysql/Rpad.php b/src/Query/Mysql/Rpad.php index 816f617a..4b94f097 100644 --- a/src/Query/Mysql/Rpad.php +++ b/src/Query/Mysql/Rpad.php @@ -7,9 +7,7 @@ use Doctrine\ORM\Query\Parser; use Doctrine\ORM\Query\SqlWalker; -/** - * @author Giulia Santoiemma - */ +/** @author Giulia Santoiemma */ class Rpad extends FunctionNode { public $string = null; diff --git a/src/Query/Mysql/Second.php b/src/Query/Mysql/Second.php index 81f4aff4..98b225a5 100644 --- a/src/Query/Mysql/Second.php +++ b/src/Query/Mysql/Second.php @@ -7,9 +7,7 @@ use Doctrine\ORM\Query\Parser; use Doctrine\ORM\Query\SqlWalker; -/** - * @author Martin Štekl - */ +/** @author Martin Štekl */ class Second extends FunctionNode { public $date; diff --git a/src/Query/Mysql/Sha1.php b/src/Query/Mysql/Sha1.php index c166863f..9948b755 100644 --- a/src/Query/Mysql/Sha1.php +++ b/src/Query/Mysql/Sha1.php @@ -7,9 +7,7 @@ use Doctrine\ORM\Query\Parser; use Doctrine\ORM\Query\SqlWalker; -/** - * @author Andreas Gallien - */ +/** @author Andreas Gallien */ class Sha1 extends FunctionNode { public $stringPrimary; diff --git a/src/Query/Mysql/Sha2.php b/src/Query/Mysql/Sha2.php index 0a0a3196..a512f8bd 100644 --- a/src/Query/Mysql/Sha2.php +++ b/src/Query/Mysql/Sha2.php @@ -7,9 +7,7 @@ use Doctrine\ORM\Query\Parser; use Doctrine\ORM\Query\SqlWalker; -/** - * @author Andreas Gallien - */ +/** @author Andreas Gallien */ class Sha2 extends FunctionNode { public $stringPrimary; diff --git a/src/Query/Mysql/Soundex.php b/src/Query/Mysql/Soundex.php index 76227c6c..ec37adc9 100644 --- a/src/Query/Mysql/Soundex.php +++ b/src/Query/Mysql/Soundex.php @@ -7,9 +7,7 @@ use Doctrine\ORM\Query\Parser; use Doctrine\ORM\Query\SqlWalker; -/** - * @author Steve Tauber - */ +/** @author Steve Tauber */ class Soundex extends FunctionNode { public $stringPrimary; diff --git a/src/Query/Mysql/Std.php b/src/Query/Mysql/Std.php index c693d881..a7825053 100644 --- a/src/Query/Mysql/Std.php +++ b/src/Query/Mysql/Std.php @@ -9,9 +9,7 @@ use function sprintf; -/** - * @author Toni Uebernickel - */ +/** @author Toni Uebernickel */ class Std extends FunctionNode { public $arithmeticExpression; diff --git a/src/Query/Mysql/StdDev.php b/src/Query/Mysql/StdDev.php index e3613020..e5429df7 100644 --- a/src/Query/Mysql/StdDev.php +++ b/src/Query/Mysql/StdDev.php @@ -9,9 +9,7 @@ use function sprintf; -/** - * @author Joachim Schirrmacher - */ +/** @author Joachim Schirrmacher */ class StdDev extends FunctionNode { public $arithmeticExpression; diff --git a/src/Query/Mysql/TimestampAdd.php b/src/Query/Mysql/TimestampAdd.php index cd9e2801..97062048 100644 --- a/src/Query/Mysql/TimestampAdd.php +++ b/src/Query/Mysql/TimestampAdd.php @@ -9,9 +9,7 @@ use function sprintf; -/** - * @author Alessandro Tagliapietra - */ +/** @author Alessandro Tagliapietra */ class TimestampAdd extends FunctionNode { public $firstDatetimeExpression = null; diff --git a/src/Query/Mysql/TimestampDiff.php b/src/Query/Mysql/TimestampDiff.php index efd376a9..49697f69 100644 --- a/src/Query/Mysql/TimestampDiff.php +++ b/src/Query/Mysql/TimestampDiff.php @@ -9,9 +9,7 @@ use function sprintf; -/** - * @author Przemek Sobstel - */ +/** @author Przemek Sobstel */ class TimestampDiff extends FunctionNode { public $firstDatetimeExpression = null; diff --git a/src/Query/Mysql/Truncate.php b/src/Query/Mysql/Truncate.php index 21e84120..487f7a35 100644 --- a/src/Query/Mysql/Truncate.php +++ b/src/Query/Mysql/Truncate.php @@ -7,9 +7,7 @@ use Doctrine\ORM\Query\Parser; use Doctrine\ORM\Query\SqlWalker; -/** - * @author Evgeny Savich - */ +/** @author Evgeny Savich */ class Truncate extends FunctionNode { public $numberExpression = null; diff --git a/src/Query/Mysql/UtcTimestamp.php b/src/Query/Mysql/UtcTimestamp.php index e7d85a1a..096918eb 100644 --- a/src/Query/Mysql/UtcTimestamp.php +++ b/src/Query/Mysql/UtcTimestamp.php @@ -7,9 +7,7 @@ use Doctrine\ORM\Query\Parser; use Doctrine\ORM\Query\SqlWalker; -/** - * @author Marius Krämer - */ +/** @author Marius Krämer */ class UtcTimestamp extends FunctionNode { public function getSql(SqlWalker $sqlWalker): string diff --git a/src/Query/Mysql/WeekDay.php b/src/Query/Mysql/WeekDay.php index 97e02db8..e16e7dba 100644 --- a/src/Query/Mysql/WeekDay.php +++ b/src/Query/Mysql/WeekDay.php @@ -7,9 +7,7 @@ use Doctrine\ORM\Query\Parser; use Doctrine\ORM\Query\SqlWalker; -/** - * @author Pavlo Cherniavskyi - */ +/** @author Pavlo Cherniavskyi */ class WeekDay extends FunctionNode { private $date; diff --git a/src/Query/Mysql/Year.php b/src/Query/Mysql/Year.php index ce4907a5..2464743d 100644 --- a/src/Query/Mysql/Year.php +++ b/src/Query/Mysql/Year.php @@ -7,9 +7,7 @@ use Doctrine\ORM\Query\Parser; use Doctrine\ORM\Query\SqlWalker; -/** - * @author Rafael Kassner - */ +/** @author Rafael Kassner */ class Year extends FunctionNode { public $date; diff --git a/src/Query/Mysql/YearWeek.php b/src/Query/Mysql/YearWeek.php index 2a41fe7f..04f2e136 100644 --- a/src/Query/Mysql/YearWeek.php +++ b/src/Query/Mysql/YearWeek.php @@ -7,9 +7,7 @@ use Doctrine\ORM\Query\Parser; use Doctrine\ORM\Query\SqlWalker; -/** - * @author Michael Kimpton - */ +/** @author Michael Kimpton */ class YearWeek extends FunctionNode { public $date; diff --git a/src/Query/Oracle/Ceil.php b/src/Query/Oracle/Ceil.php index 716019b0..5af8c3b2 100755 --- a/src/Query/Oracle/Ceil.php +++ b/src/Query/Oracle/Ceil.php @@ -9,9 +9,7 @@ use function sprintf; -/** - * @author Jefferson Vantuir - */ +/** @author Jefferson Vantuir */ class Ceil extends FunctionNode { private $number; diff --git a/src/Query/Oracle/Day.php b/src/Query/Oracle/Day.php index fb14ac0f..9fa2e6c2 100644 --- a/src/Query/Oracle/Day.php +++ b/src/Query/Oracle/Day.php @@ -9,9 +9,7 @@ use function sprintf; -/** - * @author Andréia Bohner - */ +/** @author Andréia Bohner */ class Day extends FunctionNode { private $date; diff --git a/src/Query/Oracle/Floor.php b/src/Query/Oracle/Floor.php index 9783a2dc..ddfe1ba5 100755 --- a/src/Query/Oracle/Floor.php +++ b/src/Query/Oracle/Floor.php @@ -9,9 +9,7 @@ use function sprintf; -/** - * @author Jefferson Vantuir - */ +/** @author Jefferson Vantuir */ class Floor extends FunctionNode { private $number; diff --git a/src/Query/Oracle/Hour.php b/src/Query/Oracle/Hour.php index 3a3e5b6d..f308cd38 100644 --- a/src/Query/Oracle/Hour.php +++ b/src/Query/Oracle/Hour.php @@ -9,9 +9,7 @@ use function sprintf; -/** - * @author Andréia Bohner - */ +/** @author Andréia Bohner */ class Hour extends FunctionNode { private $date; diff --git a/src/Query/Oracle/Listagg.php b/src/Query/Oracle/Listagg.php index 2fd17ee7..562849fb 100644 --- a/src/Query/Oracle/Listagg.php +++ b/src/Query/Oracle/Listagg.php @@ -13,9 +13,7 @@ use function implode; use function strtolower; -/** - * @author Alexey Kalinin - */ +/** @author Alexey Kalinin */ class Listagg extends FunctionNode { /** @var Node */ diff --git a/src/Query/Oracle/Minute.php b/src/Query/Oracle/Minute.php index a87691d6..4af5a515 100644 --- a/src/Query/Oracle/Minute.php +++ b/src/Query/Oracle/Minute.php @@ -9,9 +9,7 @@ use function sprintf; -/** - * @author Andréia Bohner - */ +/** @author Andréia Bohner */ class Minute extends FunctionNode { private $date; diff --git a/src/Query/Oracle/Month.php b/src/Query/Oracle/Month.php index 76d30716..f0752111 100644 --- a/src/Query/Oracle/Month.php +++ b/src/Query/Oracle/Month.php @@ -9,9 +9,7 @@ use function sprintf; -/** - * @author Andréia Bohner - */ +/** @author Andréia Bohner */ class Month extends FunctionNode { private $date; diff --git a/src/Query/Oracle/Nvl.php b/src/Query/Oracle/Nvl.php index 97b4ec04..967d0c9b 100644 --- a/src/Query/Oracle/Nvl.php +++ b/src/Query/Oracle/Nvl.php @@ -9,9 +9,7 @@ use function sprintf; -/** - * @author Andréia Bohner - */ +/** @author Andréia Bohner */ class Nvl extends FunctionNode { private $expr1; diff --git a/src/Query/Oracle/Second.php b/src/Query/Oracle/Second.php index 0c9bb208..49e629df 100644 --- a/src/Query/Oracle/Second.php +++ b/src/Query/Oracle/Second.php @@ -9,9 +9,7 @@ use function sprintf; -/** - * @author Andréia Bohner - */ +/** @author Andréia Bohner */ class Second extends FunctionNode { private $date; diff --git a/src/Query/Oracle/ToChar.php b/src/Query/Oracle/ToChar.php index d4171c53..d9963f74 100755 --- a/src/Query/Oracle/ToChar.php +++ b/src/Query/Oracle/ToChar.php @@ -9,9 +9,7 @@ use function sprintf; -/** - * @author Cédric Bertolini - */ +/** @author Cédric Bertolini */ class ToChar extends FunctionNode { private $datetime; diff --git a/src/Query/Oracle/ToDate.php b/src/Query/Oracle/ToDate.php index ebba7213..f5782f4e 100644 --- a/src/Query/Oracle/ToDate.php +++ b/src/Query/Oracle/ToDate.php @@ -9,9 +9,7 @@ use function sprintf; -/** - * @author Mohammad ZeinEddin - */ +/** @author Mohammad ZeinEddin */ class ToDate extends FunctionNode { private $date; diff --git a/src/Query/Oracle/Trunc.php b/src/Query/Oracle/Trunc.php index d79492a8..a32aa689 100755 --- a/src/Query/Oracle/Trunc.php +++ b/src/Query/Oracle/Trunc.php @@ -10,9 +10,7 @@ use function sprintf; -/** - * @author Mohammad ZeinEddin - */ +/** @author Mohammad ZeinEddin */ class Trunc extends FunctionNode { /** @var Node */ diff --git a/src/Query/Oracle/Year.php b/src/Query/Oracle/Year.php index 7e04a49d..2a54076f 100644 --- a/src/Query/Oracle/Year.php +++ b/src/Query/Oracle/Year.php @@ -9,9 +9,7 @@ use function sprintf; -/** - * @author Andréia Bohner - */ +/** @author Andréia Bohner */ class Year extends FunctionNode { private $date; diff --git a/src/Query/Postgresql/DateFormat.php b/src/Query/Postgresql/DateFormat.php index 2afa9bbc..59031420 100644 --- a/src/Query/Postgresql/DateFormat.php +++ b/src/Query/Postgresql/DateFormat.php @@ -7,9 +7,7 @@ use Doctrine\ORM\Query\Parser; use Doctrine\ORM\Query\SqlWalker; -/** - * @author Silvio - */ +/** @author Silvio */ class DateFormat extends FunctionNode { public $dateExpression = null; diff --git a/src/Query/Postgresql/DatePart.php b/src/Query/Postgresql/DatePart.php index faba0a80..f162aa6e 100644 --- a/src/Query/Postgresql/DatePart.php +++ b/src/Query/Postgresql/DatePart.php @@ -7,9 +7,7 @@ use Doctrine\ORM\Query\Parser; use Doctrine\ORM\Query\SqlWalker; -/** - * @author Geovani Roggeo - */ +/** @author Geovani Roggeo */ class DatePart extends FunctionNode { public $dateString = null; diff --git a/src/Query/Sqlite/AbstractStrfTime.php b/src/Query/Sqlite/AbstractStrfTime.php index 2a5e59c4..c8ce727d 100644 --- a/src/Query/Sqlite/AbstractStrfTime.php +++ b/src/Query/Sqlite/AbstractStrfTime.php @@ -7,9 +7,7 @@ use Doctrine\ORM\Query\Parser; use Doctrine\ORM\Query\SqlWalker; -/** - * @author Tarjei Huse - */ +/** @author Tarjei Huse */ abstract class AbstractStrfTime extends FunctionNode { public $date; diff --git a/src/Query/Sqlite/ConcatWs.php b/src/Query/Sqlite/ConcatWs.php index 915e763d..62b474ac 100644 --- a/src/Query/Sqlite/ConcatWs.php +++ b/src/Query/Sqlite/ConcatWs.php @@ -12,9 +12,7 @@ use function sprintf; use function strtolower; -/** - * @author Bas de Ruiter - */ +/** @author Bas de Ruiter */ class ConcatWs extends FunctionNode { private $values = []; diff --git a/src/Query/Sqlite/Date.php b/src/Query/Sqlite/Date.php index f6173545..f1efdfa8 100644 --- a/src/Query/Sqlite/Date.php +++ b/src/Query/Sqlite/Date.php @@ -2,9 +2,7 @@ namespace DoctrineExtensions\Query\Sqlite; -/** - * @author Tarjei Huse - */ +/** @author Tarjei Huse */ class Date extends AbstractStrfTime { protected function getFormat(): string diff --git a/src/Query/Sqlite/Day.php b/src/Query/Sqlite/Day.php index 0c316829..61942c57 100644 --- a/src/Query/Sqlite/Day.php +++ b/src/Query/Sqlite/Day.php @@ -2,9 +2,7 @@ namespace DoctrineExtensions\Query\Sqlite; -/** - * @author Tarjei Huse - */ +/** @author Tarjei Huse */ class Day extends NumberFromStrfTime { protected function getFormat(): string diff --git a/src/Query/Sqlite/Hour.php b/src/Query/Sqlite/Hour.php index 230d07e1..60893137 100644 --- a/src/Query/Sqlite/Hour.php +++ b/src/Query/Sqlite/Hour.php @@ -2,9 +2,7 @@ namespace DoctrineExtensions\Query\Sqlite; -/** - * @author Tarjei Huse - */ +/** @author Tarjei Huse */ class Hour extends NumberFromStrfTime { protected function getFormat(): string diff --git a/src/Query/Sqlite/IfElse.php b/src/Query/Sqlite/IfElse.php index 6904f41d..f57fe325 100644 --- a/src/Query/Sqlite/IfElse.php +++ b/src/Query/Sqlite/IfElse.php @@ -9,9 +9,7 @@ use function sprintf; -/** - * @author Mikhail Bubnov - */ +/** @author Mikhail Bubnov */ class IfElse extends FunctionNode { private $expr = []; diff --git a/src/Query/Sqlite/IfNull.php b/src/Query/Sqlite/IfNull.php index ea612fd0..11cb6eb9 100644 --- a/src/Query/Sqlite/IfNull.php +++ b/src/Query/Sqlite/IfNull.php @@ -7,9 +7,7 @@ use Doctrine\ORM\Query\Parser; use Doctrine\ORM\Query\SqlWalker; -/** - * @author winkbrace - */ +/** @author winkbrace */ class IfNull extends FunctionNode { private $expr1; diff --git a/src/Query/Sqlite/JulianDay.php b/src/Query/Sqlite/JulianDay.php index 4341b732..3d50ee5f 100644 --- a/src/Query/Sqlite/JulianDay.php +++ b/src/Query/Sqlite/JulianDay.php @@ -2,9 +2,7 @@ namespace DoctrineExtensions\Query\Sqlite; -/** - * @author Einar Gangsø - */ +/** @author Einar Gangsø */ class JulianDay extends NumberFromStrfTime { protected function getFormat(): string diff --git a/src/Query/Sqlite/Least.php b/src/Query/Sqlite/Least.php index 96a4922f..0ce11c0e 100644 --- a/src/Query/Sqlite/Least.php +++ b/src/Query/Sqlite/Least.php @@ -9,9 +9,7 @@ use function count; -/** - * @author Vas N - */ +/** @author Vas N */ class Least extends FunctionNode { private $field = null; diff --git a/src/Query/Sqlite/Minute.php b/src/Query/Sqlite/Minute.php index c787b743..d6686a1c 100644 --- a/src/Query/Sqlite/Minute.php +++ b/src/Query/Sqlite/Minute.php @@ -2,9 +2,7 @@ namespace DoctrineExtensions\Query\Sqlite; -/** - * @author Tarjei Huse - */ +/** @author Tarjei Huse */ class Minute extends NumberFromStrfTime { protected function getFormat(): string diff --git a/src/Query/Sqlite/Month.php b/src/Query/Sqlite/Month.php index 49dfcbb7..7cecd9eb 100644 --- a/src/Query/Sqlite/Month.php +++ b/src/Query/Sqlite/Month.php @@ -2,9 +2,7 @@ namespace DoctrineExtensions\Query\Sqlite; -/** - * @author Tarjei Huse - */ +/** @author Tarjei Huse */ class Month extends NumberFromStrfTime { protected function getFormat(): string diff --git a/src/Query/Sqlite/Replace.php b/src/Query/Sqlite/Replace.php index f3a64295..cbbfd36d 100644 --- a/src/Query/Sqlite/Replace.php +++ b/src/Query/Sqlite/Replace.php @@ -7,9 +7,7 @@ use Doctrine\ORM\Query\Parser; use Doctrine\ORM\Query\SqlWalker; -/** - * @author winkbrace - */ +/** @author winkbrace */ class Replace extends FunctionNode { public $search = null; diff --git a/src/Query/Sqlite/Round.php b/src/Query/Sqlite/Round.php index eadcf2b6..658ff4fa 100644 --- a/src/Query/Sqlite/Round.php +++ b/src/Query/Sqlite/Round.php @@ -7,9 +7,7 @@ use Doctrine\ORM\Query\Parser; use Doctrine\ORM\Query\SqlWalker; -/** - * @author winkbrace - */ +/** @author winkbrace */ class Round extends FunctionNode { private $firstExpression = null; diff --git a/src/Query/Sqlite/StrfTime.php b/src/Query/Sqlite/StrfTime.php index 2e06a58b..280bb32a 100644 --- a/src/Query/Sqlite/StrfTime.php +++ b/src/Query/Sqlite/StrfTime.php @@ -8,9 +8,7 @@ use Doctrine\ORM\Query\QueryException; use Doctrine\ORM\Query\SqlWalker; -/** - * @author Tarjei Huse - */ +/** @author Tarjei Huse */ class StrfTime extends FunctionNode { public $date; diff --git a/src/Query/Sqlite/Week.php b/src/Query/Sqlite/Week.php index ba8d7fe2..5d48a2bb 100644 --- a/src/Query/Sqlite/Week.php +++ b/src/Query/Sqlite/Week.php @@ -5,9 +5,7 @@ use Doctrine\ORM\Query\Lexer; use Doctrine\ORM\Query\Parser; -/** - * @author Aleksandr Klimenkov - */ +/** @author Aleksandr Klimenkov */ class Week extends NumberFromStrfTime { /** diff --git a/src/Query/Sqlite/WeekDay.php b/src/Query/Sqlite/WeekDay.php index 99635afd..fe860885 100644 --- a/src/Query/Sqlite/WeekDay.php +++ b/src/Query/Sqlite/WeekDay.php @@ -2,9 +2,7 @@ namespace DoctrineExtensions\Query\Sqlite; -/** - * @author Tarjei Huse - */ +/** @author Tarjei Huse */ class WeekDay extends NumberFromStrfTime { protected function getFormat(): string diff --git a/src/Query/Sqlite/Year.php b/src/Query/Sqlite/Year.php index 1cd4ae5c..8807ab4c 100644 --- a/src/Query/Sqlite/Year.php +++ b/src/Query/Sqlite/Year.php @@ -2,9 +2,7 @@ namespace DoctrineExtensions\Query\Sqlite; -/** - * @author Tarjei Huse - */ +/** @author Tarjei Huse */ class Year extends NumberFromStrfTime { protected function getFormat(): string diff --git a/tests/Query/Oracle/CeilTest.php b/tests/Query/Oracle/CeilTest.php index 444bf45d..c9661158 100644 --- a/tests/Query/Oracle/CeilTest.php +++ b/tests/Query/Oracle/CeilTest.php @@ -6,9 +6,7 @@ use DoctrineExtensions\Tests\Entities\Product; use DoctrineExtensions\Tests\Query\OracleTestCase; -/** - * @author Jefferson Vantuir - */ +/** @author Jefferson Vantuir */ class CeilTest extends OracleTestCase { public function testFullQuery(): void diff --git a/tests/Query/Oracle/FloorTest.php b/tests/Query/Oracle/FloorTest.php index 93f7f10f..c45abb8b 100644 --- a/tests/Query/Oracle/FloorTest.php +++ b/tests/Query/Oracle/FloorTest.php @@ -6,9 +6,7 @@ use DoctrineExtensions\Tests\Entities\Product; use DoctrineExtensions\Tests\Query\OracleTestCase; -/** - * @author Jefferson Vantuir - */ +/** @author Jefferson Vantuir */ class FloorTest extends OracleTestCase { public function testFullQuery(): void diff --git a/tests/Query/Oracle/ListaggTest.php b/tests/Query/Oracle/ListaggTest.php index c3cdc942..3592388b 100644 --- a/tests/Query/Oracle/ListaggTest.php +++ b/tests/Query/Oracle/ListaggTest.php @@ -4,9 +4,7 @@ use DoctrineExtensions\Tests\Query\OracleTestCase; -/** - * @author Alexey Kalinin - */ +/** @author Alexey Kalinin */ class ListaggTest extends OracleTestCase { public function testFullQuery(): void diff --git a/tests/Query/Oracle/ToCharTest.php b/tests/Query/Oracle/ToCharTest.php index 0f6f47a7..bd84bc0a 100644 --- a/tests/Query/Oracle/ToCharTest.php +++ b/tests/Query/Oracle/ToCharTest.php @@ -6,9 +6,7 @@ use DoctrineExtensions\Tests\Entities\Date; use DoctrineExtensions\Tests\Query\OracleTestCase; -/** - * @author Jefferson Vantuir - */ +/** @author Jefferson Vantuir */ class ToCharTest extends OracleTestCase { public function testFullQuery(): void diff --git a/tests/Query/Oracle/TruncTest.php b/tests/Query/Oracle/TruncTest.php index fa1f01b0..a4da200d 100755 --- a/tests/Query/Oracle/TruncTest.php +++ b/tests/Query/Oracle/TruncTest.php @@ -4,9 +4,7 @@ use DoctrineExtensions\Tests\Query\OracleTestCase; -/** - * @author Alexey Kalinin - */ +/** @author Alexey Kalinin */ class TruncTest extends OracleTestCase { public function testFullQuery(): void diff --git a/tests/Query/Sqlite/StringFunctionsTest.php b/tests/Query/Sqlite/StringFunctionsTest.php index 2d13513b..d8017c70 100644 --- a/tests/Query/Sqlite/StringFunctionsTest.php +++ b/tests/Query/Sqlite/StringFunctionsTest.php @@ -6,6 +6,7 @@ /** * This class is responsible for testing the Sqlite string functions + * * @author winkbrace */ class StringFunctionsTest extends SqliteTestCase