Skip to content

Remove forbidden @author tag #37010

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2011 Adobe
* All Rights Reserved.
*/

/**
* Customers New Accounts Report collection
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Reports\Model\ResourceModel\Customer\Totals\Collection;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2011 Adobe
* All Rights Reserved.
*/

/**
* Report event collection
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Reports\Model\ResourceModel\Event;

Expand All @@ -18,8 +16,6 @@
class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection
{
/**
* Store Ids
*
* @var array
*/
protected $_storeIds;
Expand All @@ -36,8 +32,8 @@ protected function _construct()

/**
* Add store ids filter
* @codeCoverageIgnore
*
* @codeCoverageIgnore
* @param array $storeIds
* @return $this
*/
Expand Down
6 changes: 2 additions & 4 deletions app/code/Magento/Reports/Model/ResourceModel/Event/Type.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2011 Adobe
* All Rights Reserved.
*/

/**
* Report event type resource model
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Reports\Model\ResourceModel\Event;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2011 Adobe
* All Rights Reserved.
*/

/**
* Report event types collection
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Reports\Model\ResourceModel\Event\Type;

Expand Down
6 changes: 2 additions & 4 deletions app/code/Magento/Reports/Model/ResourceModel/Helper.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2011 Adobe
* All Rights Reserved.
*/

/**
* Reports Mysql resource helper model
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Reports\Model\ResourceModel;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2011 Adobe
* All Rights Reserved.
*/

namespace Magento\Reports\Model\ResourceModel\Product\Downloads;

/**
* Product Downloads Report collection
*
* @author Magento Core Team <[email protected]>
*
* @api
* @since 100.0.2
* @SuppressWarnings(PHPMD.CookieAndSessionMisuse)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2013 Adobe
* All Rights Reserved.
*/

/**
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Reports\Model\ResourceModel\Product\Index\Collection;

/**
Expand All @@ -21,8 +18,6 @@
abstract class AbstractCollection extends \Magento\Catalog\Model\ResourceModel\Product\Collection
{
/**
* Customer id
*
* @var null|int
*/
protected $_customerId = null;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2011 Adobe
* All Rights Reserved.
*/

/**
* Reports Compared Product Index Resource Model
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Reports\Model\ResourceModel\Product\Index;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2011 Adobe
* All Rights Reserved.
*/

/**
* Reports Compared Product Index Resource Collection
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Reports\Model\ResourceModel\Product\Index\Compared;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2011 Adobe
* All Rights Reserved.
*/

/**
* Reports Viewed Product Index Resource Model
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Reports\Model\ResourceModel\Product\Index;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2011 Adobe
* All Rights Reserved.
*/

/**
* Reports Viewed Product Index Resource Collection
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Reports\Model\ResourceModel\Product\Index\Viewed;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2011 Adobe
* All Rights Reserved.
*/

/**
* Product Low Stock Report Collection
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Reports\Model\ResourceModel\Product\Lowstock;

Expand Down Expand Up @@ -229,6 +227,7 @@ public function joinInventoryItem($fields = [])
}

if (!is_array($fields)) {
// phpstan:ignore
if (empty($fields)) {
$fields = [];
} else {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2011 Adobe
* All Rights Reserved.
*/

/**
* Report Sold Products collection
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Reports\Model\ResourceModel\Product\Sold;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2011 Adobe
* All Rights Reserved.
*/

/**
* Report Reviews collection
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Reports\Model\ResourceModel\Product\Sold\Collection;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2013 Adobe
* All Rights Reserved.
*/

/**
* Refresh Statistic Grid collection
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Reports\Model\ResourceModel\Refresh;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2011 Adobe
* All Rights Reserved.
*/

/**
* Report Reviews collection
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Reports\Model\ResourceModel\Report;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2012 Adobe
* All Rights Reserved.
*/

/**
* Most viewed product report aggregate resource model
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Reports\Model\ResourceModel\Report\Product;

Expand All @@ -20,17 +18,17 @@ class Viewed extends \Magento\Sales\Model\ResourceModel\Report\AbstractReport
/**
* Aggregation key daily
*/
const AGGREGATION_DAILY = 'report_viewed_product_aggregated_daily';
public const AGGREGATION_DAILY = 'report_viewed_product_aggregated_daily';

/**
* Aggregation key monthly
*/
const AGGREGATION_MONTHLY = 'report_viewed_product_aggregated_monthly';
public const AGGREGATION_MONTHLY = 'report_viewed_product_aggregated_monthly';

/**
* Aggregation key yearly
*/
const AGGREGATION_YEARLY = 'report_viewed_product_aggregated_yearly';
public const AGGREGATION_YEARLY = 'report_viewed_product_aggregated_yearly';

/**
* Product resource instance
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2011 Adobe
* All Rights Reserved.
*/

/**
* Report Reviews collection
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Reports\Model\ResourceModel\Review;

Expand Down Expand Up @@ -47,7 +45,9 @@ public function addProductFilter($productId)
*/
public function resetSelect()
{
// phpstan:ignore "Call to an undefined static method"
parent::resetSelect();
// phpstan:ignore
$this->_joinFields();
return $this;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2011 Adobe
* All Rights Reserved.
*/

/**
* Report Customers Review collection
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Reports\Model\ResourceModel\Review\Customer;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2011 Adobe
* All Rights Reserved.
*/

/**
* Report Products Review collection
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Reports\Model\ResourceModel\Review\Product;

Expand Down
Loading