using new license header #124 (#119)

This commit is contained in:
Simon Schaufelberger
2018-02-03 18:23:47 +01:00
committed by Kevin Papst
parent 76d4cba596
commit 65790f1fb7
133 changed files with 160 additions and 701 deletions

View File

@@ -1,9 +1,7 @@
<?php
/*
* This file is part of the Kimai package.
*
* (c) Kevin Papst <kevin@kevinpapst.de>
* This file is part of the Kimai time-tracking app.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
@@ -16,8 +14,6 @@ use App\Entity\Project;
/**
* Can be used for advanced queries with the: ActivityRepository
*
* @author Kevin Papst <kevin@kevinpapst.de>
*/
class ActivityQuery extends ProjectQuery
{

View File

@@ -1,9 +1,7 @@
<?php
/*
* This file is part of the Kimai package.
*
* (c) Kevin Papst <kevin@kevinpapst.de>
* This file is part of the Kimai time-tracking app.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
@@ -13,12 +11,9 @@ namespace App\Repository\Query;
/**
* Base class for advanced Repository queries.
*
* @author Kevin Papst <kevin@kevinpapst.de>
*/
class BaseQuery
{
const ORDER_ASC = 'ASC';
const ORDER_DESC = 'DESC';

View File

@@ -1,9 +1,7 @@
<?php
/*
* This file is part of the Kimai package.
*
* (c) Kevin Papst <kevin@kevinpapst.de>
* This file is part of the Kimai time-tracking app.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
@@ -13,8 +11,6 @@ namespace App\Repository\Query;
/**
* Can be used for advanced queries with the: CustomerRepository
*
* @author Kevin Papst <kevin@kevinpapst.de>
*/
class CustomerQuery extends VisibilityQuery
{

View File

@@ -1,9 +1,7 @@
<?php
/*
* This file is part of the Kimai package.
*
* (c) Kevin Papst <kevin@kevinpapst.de>
* This file is part of the Kimai time-tracking app.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
@@ -15,8 +13,6 @@ use App\Entity\InvoiceTemplate;
/**
* Can be used for invoice queries.
*
* @author Kevin Papst <kevin@kevinpapst.de>
*/
class InvoiceQuery extends TimesheetQuery
{

View File

@@ -1,9 +1,7 @@
<?php
/*
* This file is part of the Kimai package.
*
* (c) Kevin Papst <kevin@kevinpapst.de>
* This file is part of the Kimai time-tracking app.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
@@ -15,8 +13,6 @@ use App\Entity\Customer;
/**
* Can be used for advanced queries with the: ProjectRepository
*
* @author Kevin Papst <kevin@kevinpapst.de>
*/
class ProjectQuery extends VisibilityQuery
{

View File

@@ -1,9 +1,7 @@
<?php
/*
* This file is part of the Kimai package.
*
* (c) Kevin Papst <kevin@kevinpapst.de>
* This file is part of the Kimai time-tracking app.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
@@ -19,12 +17,9 @@ use App\Entity\Project;
/**
* Can be used for advanced timesheet repository queries.
*
* @author Kevin Papst <kevin@kevinpapst.de>
*/
class TimesheetQuery extends ActivityQuery
{
const STATE_ALL = 1;
const STATE_RUNNING = 2;
const STATE_STOPPED = 3;

View File

@@ -1,9 +1,7 @@
<?php
/*
* This file is part of the Kimai package.
*
* (c) Kevin Papst <kevin@kevinpapst.de>
* This file is part of the Kimai time-tracking app.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
@@ -13,8 +11,6 @@ namespace App\Repository\Query;
/**
* Can be used for advanced queries with the: UserRepository
*
* @author Kevin Papst <kevin@kevinpapst.de>
*/
class UserQuery extends VisibilityQuery
{

View File

@@ -1,9 +1,7 @@
<?php
/*
* This file is part of the Kimai package.
*
* (c) Kevin Papst <kevin@kevinpapst.de>
* This file is part of the Kimai time-tracking app.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
@@ -13,12 +11,9 @@ namespace App\Repository\Query;
/**
* Query class for Repositories with a visibility field.
*
* @author Kevin Papst <kevin@kevinpapst.de>
*/
class VisibilityQuery extends BaseQuery
{
const SHOW_VISIBLE = 1;
const SHOW_HIDDEN = 2;
const SHOW_BOTH = 3;