Skip to content

Commit

Permalink
convert phpdoc to one-liner
Browse files Browse the repository at this point in the history
  • Loading branch information
connorhu committed Jan 28, 2024
1 parent ea294bf commit 8cb11a5
Show file tree
Hide file tree
Showing 78 changed files with 78 additions and 228 deletions.
4 changes: 1 addition & 3 deletions src/Query/Mysql/AddTime.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
use Doctrine\ORM\Query\Parser;
use Doctrine\ORM\Query\SqlWalker;

/**
* @author Pascal Wacker <hello@pascalwacker.ch>
*/
/** @author Pascal Wacker <hello@pascalwacker.ch> */
class AddTime extends FunctionNode
{
public $date;
Expand Down
4 changes: 1 addition & 3 deletions src/Query/Mysql/Binary.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
use Doctrine\ORM\Query\Parser;
use Doctrine\ORM\Query\SqlWalker;

/**
* @author Sarjono Mukti Aji <me@simukti.net>
*/
/** @author Sarjono Mukti Aji <me@simukti.net> */
class Binary extends FunctionNode
{
private $stringPrimary;
Expand Down
4 changes: 1 addition & 3 deletions src/Query/Mysql/CharLength.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
use Doctrine\ORM\Query\Parser;
use Doctrine\ORM\Query\SqlWalker;

/**
* @author Metod <metod@simpel.si>
*/
/** @author Metod <metod@simpel.si> */
class CharLength extends FunctionNode
{
private $expr1;
Expand Down
1 change: 1 addition & 0 deletions src/Query/Mysql/Collate.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

/**
* @link https://dev.mysql.com/doc/refman/en/charset-collate.html
*
* @author Peter Tanath <peter.tanath@gmail.com>
*/
class Collate extends FunctionNode
Expand Down
4 changes: 1 addition & 3 deletions src/Query/Mysql/ConcatWs.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
use function sprintf;
use function strtolower;

/**
* @author Andrew Mackrodt <andrew@ajmm.org>
*/
/** @author Andrew Mackrodt <andrew@ajmm.org> */
class ConcatWs extends FunctionNode
{
private $values = [];
Expand Down
4 changes: 1 addition & 3 deletions src/Query/Mysql/CountIf.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@
use function sprintf;
use function strtolower;

/**
* @author Andrew Mackrodt <andrew@ajmm.org>
*/
/** @author Andrew Mackrodt <andrew@ajmm.org> */
class CountIf extends FunctionNode
{
private $expr1;
Expand Down
4 changes: 1 addition & 3 deletions src/Query/Mysql/Crc32.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
use Doctrine\ORM\Query\Parser;
use Doctrine\ORM\Query\SqlWalker;

/**
* @author Igor Timoshenko <igor.timoshenko@i.ua>
*/
/** @author Igor Timoshenko <igor.timoshenko@i.ua> */
class Crc32 extends FunctionNode
{
public $stringPrimary;
Expand Down
4 changes: 1 addition & 3 deletions src/Query/Mysql/Date.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
use Doctrine\ORM\Query\Parser;
use Doctrine\ORM\Query\SqlWalker;

/**
* @author Steve Lacey <steve@steve.ly>
*/
/** @author Steve Lacey <steve@steve.ly> */
class Date extends FunctionNode
{
public $date;
Expand Down
4 changes: 1 addition & 3 deletions src/Query/Mysql/DateFormat.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
use Doctrine\ORM\Query\Parser;
use Doctrine\ORM\Query\SqlWalker;

/**
* @author Steve Lacey <steve@steve.ly>
*/
/** @author Steve Lacey <steve@steve.ly> */
class DateFormat extends FunctionNode
{
public $dateExpression = null;
Expand Down
4 changes: 1 addition & 3 deletions src/Query/Mysql/DateSub.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
use function is_string;
use function strtoupper;

/**
* @author Vas N <phpvas@gmail.com>
*/
/** @author Vas N <phpvas@gmail.com> */
class DateSub extends DateAdd
{
/** @throws QueryException */
Expand Down
4 changes: 1 addition & 3 deletions src/Query/Mysql/DayName.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
use Doctrine\ORM\Query\Parser;
use Doctrine\ORM\Query\SqlWalker;

/**
* @author Steve Lacey <steve@steve.ly>
*/
/** @author Steve Lacey <steve@steve.ly> */
class DayName extends FunctionNode
{
public $date;
Expand Down
4 changes: 1 addition & 3 deletions src/Query/Mysql/Extract.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@
use function in_array;
use function strtoupper;

/**
* @author Ahwalian Masykur <ahwalian@gmail.com>
*/
/** @author Ahwalian Masykur <ahwalian@gmail.com> */
class Extract extends DateAdd
{
public $date = null;
Expand Down
4 changes: 1 addition & 3 deletions src/Query/Mysql/Field.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@

use function count;

/**
* @author Jeremy Hicks <jeremy.hicks@gmail.com>
*/
/** @author Jeremy Hicks <jeremy.hicks@gmail.com> */
class Field extends FunctionNode
{
private $field = null;
Expand Down
4 changes: 1 addition & 3 deletions src/Query/Mysql/Format.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
use Doctrine\ORM\Query\Parser;
use Doctrine\ORM\Query\SqlWalker;

/**
* @author Wally Noveno <wally.noveno@gmail.com>
*/
/** @author Wally Noveno <wally.noveno@gmail.com> */
class Format extends FunctionNode
{
public $numberExpression = null;
Expand Down
4 changes: 1 addition & 3 deletions src/Query/Mysql/FromUnixtime.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
use Doctrine\ORM\Query\Parser;
use Doctrine\ORM\Query\SqlWalker;

/**
* @author Nima S <nimasdj@yahoo.com>
*/
/** @author Nima S <nimasdj@yahoo.com> */
class FromUnixtime extends FunctionNode
{
public $firstExpression = null;
Expand Down
4 changes: 1 addition & 3 deletions src/Query/Mysql/Hour.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
use Doctrine\ORM\Query\Parser;
use Doctrine\ORM\Query\SqlWalker;

/**
* @author Dawid Nowak <macdada@mmg.pl>
*/
/** @author Dawid Nowak <macdada@mmg.pl> */
class Hour extends FunctionNode
{
public $date;
Expand Down
4 changes: 1 addition & 3 deletions src/Query/Mysql/IfElse.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@

use function sprintf;

/**
* @author Andrew Mackrodt <andrew@ajmm.org>
*/
/** @author Andrew Mackrodt <andrew@ajmm.org> */
class IfElse extends FunctionNode
{
private $expr = [];
Expand Down
4 changes: 1 addition & 3 deletions src/Query/Mysql/IfNull.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
use Doctrine\ORM\Query\Parser;
use Doctrine\ORM\Query\SqlWalker;

/**
* @author Andrew Mackrodt <andrew@ajmm.org>
*/
/** @author Andrew Mackrodt <andrew@ajmm.org> */
class IfNull extends FunctionNode
{
private $expr1;
Expand Down
4 changes: 1 addition & 3 deletions src/Query/Mysql/Least.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@

use function count;

/**
* @author Vas N <phpvas@gmail.com>
*/
/** @author Vas N <phpvas@gmail.com> */
class Least extends FunctionNode
{
private $field = null;
Expand Down
4 changes: 1 addition & 3 deletions src/Query/Mysql/Lpad.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
use Doctrine\ORM\Query\Parser;
use Doctrine\ORM\Query\SqlWalker;

/**
* @author Giulia Santoiemma <giuliaries@gmail.com>
*/
/** @author Giulia Santoiemma <giuliaries@gmail.com> */
class Lpad extends FunctionNode
{
public $string = null;
Expand Down
4 changes: 1 addition & 3 deletions src/Query/Mysql/Md5.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
use Doctrine\ORM\Query\Parser;
use Doctrine\ORM\Query\SqlWalker;

/**
* @author Andreas Gallien <gallien@seleos.de>
*/
/** @author Andreas Gallien <gallien@seleos.de> */
class Md5 extends FunctionNode
{
public $stringPrimary;
Expand Down
4 changes: 1 addition & 3 deletions src/Query/Mysql/Minute.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
use Doctrine\ORM\Query\Parser;
use Doctrine\ORM\Query\SqlWalker;

/**
* @author Martin Štekl <martin.stekl@gmail.com>
*/
/** @author Martin Štekl <martin.stekl@gmail.com> */
class Minute extends FunctionNode
{
public $date;
Expand Down
4 changes: 1 addition & 3 deletions src/Query/Mysql/MonthName.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
use Doctrine\ORM\Query\Parser;
use Doctrine\ORM\Query\SqlWalker;

/**
* @author Steve Lacey <steve@steve.ly>
*/
/** @author Steve Lacey <steve@steve.ly> */
class MonthName extends FunctionNode
{
public $date;
Expand Down
4 changes: 1 addition & 3 deletions src/Query/Mysql/NullIf.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@

use function sprintf;

/**
* @author Andrew Mackrodt <andrew@ajmm.org>
*/
/** @author Andrew Mackrodt <andrew@ajmm.org> */
class NullIf extends FunctionNode
{
private $expr1;
Expand Down
4 changes: 1 addition & 3 deletions src/Query/Mysql/Quarter.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
use Doctrine\ORM\Query\Parser;
use Doctrine\ORM\Query\SqlWalker;

/**
* @author Martin Štekl <martin.stekl@gmail.com>
*/
/** @author Martin Štekl <martin.stekl@gmail.com> */
class Quarter extends FunctionNode
{
public $date;
Expand Down
4 changes: 1 addition & 3 deletions src/Query/Mysql/Replace.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
use Doctrine\ORM\Query\Parser;
use Doctrine\ORM\Query\SqlWalker;

/**
* @author Jarek Kostrz <jkostrz@gmail.com>
*/
/** @author Jarek Kostrz <jkostrz@gmail.com> */
class Replace extends FunctionNode
{
public $search = null;
Expand Down
4 changes: 1 addition & 3 deletions src/Query/Mysql/Rpad.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
use Doctrine\ORM\Query\Parser;
use Doctrine\ORM\Query\SqlWalker;

/**
* @author Giulia Santoiemma <giuliaries@gmail.com>
*/
/** @author Giulia Santoiemma <giuliaries@gmail.com> */
class Rpad extends FunctionNode
{
public $string = null;
Expand Down
4 changes: 1 addition & 3 deletions src/Query/Mysql/Second.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
use Doctrine\ORM\Query\Parser;
use Doctrine\ORM\Query\SqlWalker;

/**
* @author Martin Štekl <martin.stekl@gmail.com>
*/
/** @author Martin Štekl <martin.stekl@gmail.com> */
class Second extends FunctionNode
{
public $date;
Expand Down
4 changes: 1 addition & 3 deletions src/Query/Mysql/Sha1.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
use Doctrine\ORM\Query\Parser;
use Doctrine\ORM\Query\SqlWalker;

/**
* @author Andreas Gallien <gallien@seleos.de>
*/
/** @author Andreas Gallien <gallien@seleos.de> */
class Sha1 extends FunctionNode
{
public $stringPrimary;
Expand Down
4 changes: 1 addition & 3 deletions src/Query/Mysql/Sha2.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
use Doctrine\ORM\Query\Parser;
use Doctrine\ORM\Query\SqlWalker;

/**
* @author Andreas Gallien <gallien@seleos.de>
*/
/** @author Andreas Gallien <gallien@seleos.de> */
class Sha2 extends FunctionNode
{
public $stringPrimary;
Expand Down
4 changes: 1 addition & 3 deletions src/Query/Mysql/Soundex.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
use Doctrine\ORM\Query\Parser;
use Doctrine\ORM\Query\SqlWalker;

/**
* @author Steve Tauber <taubers@gmail.com>
*/
/** @author Steve Tauber <taubers@gmail.com> */
class Soundex extends FunctionNode
{
public $stringPrimary;
Expand Down
4 changes: 1 addition & 3 deletions src/Query/Mysql/Std.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@

use function sprintf;

/**
* @author Toni Uebernickel <tuebernickel@gmail.com>
*/
/** @author Toni Uebernickel <tuebernickel@gmail.com> */
class Std extends FunctionNode
{
public $arithmeticExpression;
Expand Down
4 changes: 1 addition & 3 deletions src/Query/Mysql/StdDev.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@

use function sprintf;

/**
* @author Joachim Schirrmacher <j.schirrmacher@dilab.co>
*/
/** @author Joachim Schirrmacher <j.schirrmacher@dilab.co> */
class StdDev extends FunctionNode
{
public $arithmeticExpression;
Expand Down
4 changes: 1 addition & 3 deletions src/Query/Mysql/TimestampAdd.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@

use function sprintf;

/**
* @author Alessandro Tagliapietra <tagliapietra.alessandro@gmail.com>
*/
/** @author Alessandro Tagliapietra <tagliapietra.alessandro@gmail.com> */
class TimestampAdd extends FunctionNode
{
public $firstDatetimeExpression = null;
Expand Down
4 changes: 1 addition & 3 deletions src/Query/Mysql/TimestampDiff.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@

use function sprintf;

/**
* @author Przemek Sobstel <przemek@sobstel.org>
*/
/** @author Przemek Sobstel <przemek@sobstel.org> */
class TimestampDiff extends FunctionNode
{
public $firstDatetimeExpression = null;
Expand Down
4 changes: 1 addition & 3 deletions src/Query/Mysql/Truncate.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
use Doctrine\ORM\Query\Parser;
use Doctrine\ORM\Query\SqlWalker;

/**
* @author Evgeny Savich <jack.savich@gmail.com>
*/
/** @author Evgeny Savich <jack.savich@gmail.com> */
class Truncate extends FunctionNode
{
public $numberExpression = null;
Expand Down
Loading

0 comments on commit 8cb11a5

Please sign in to comment.