Skip to content

Commit c244b80

Browse files
committed
Fix > PHP Code Sniffer violation : There must be exactly one blank line between lines
1 parent ebd15ff commit c244b80

File tree

8 files changed

+18
-0
lines changed

8 files changed

+18
-0
lines changed

app/code/Magento/Catalog/Model/Product/Type/AbstractType.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,7 @@ public function isSalable($product)
358358

359359
/**
360360
* Prepare product and its configuration to be added to some products list.
361+
*
361362
* Perform standard preparation process and then prepare options belonging to specific product type.
362363
*
363364
* @param \Magento\Framework\DataObject $buyRequest
@@ -443,6 +444,7 @@ public function processConfiguration(
443444

444445
/**
445446
* Initialize product(s) for add to cart process.
447+
*
446448
* Advanced version of func to prepare product for cart - processMode can be specified there.
447449
*
448450
* @param \Magento\Framework\DataObject $buyRequest
@@ -535,6 +537,7 @@ public function processFileQueue()
535537

536538
/**
537539
* Add file to File Queue
540+
*
538541
* @param array $queueOptions Array of File Queue
539542
* (eg. ['operation'=>'move',
540543
* 'src_name'=>'filename',
@@ -942,6 +945,7 @@ public function prepareQuoteItemQty($qty, $product)
942945

943946
/**
944947
* Implementation of product specify logic of which product needs to be assigned to option.
948+
*
945949
* For example if product which was added to option already removed from catalog.
946950
*
947951
* @param \Magento\Catalog\Model\Product $optionProduct
@@ -981,6 +985,7 @@ public function setConfig($config)
981985

982986
/**
983987
* Retrieve additional searchable data from type instance
988+
*
984989
* Using based on product id and store_id data
985990
*
986991
* @param \Magento\Catalog\Model\Product $product
@@ -1001,6 +1006,7 @@ public function getSearchableData($product)
10011006

10021007
/**
10031008
* Retrieve products divided into groups required to purchase
1009+
*
10041010
* At least one product in each group has to be purchased
10051011
*
10061012
* @param \Magento\Catalog\Model\Product $product

app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/AbstractIndexer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ protected function _addWebsiteJoinToSelect($select, $store = true, $joinConditio
159159

160160
/**
161161
* Add join for catalog/product_website table
162+
*
162163
* Joined table has alias pw
163164
*
164165
* @param \Magento\Framework\DB\Select $select the select object

app/code/Magento/Payment/Observer/AbstractDataAssignObserver.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
/**
1515
* Class AbstractDataAssignObserver
16+
*
1617
* @package Magento\Payment\Observer
1718
* phpcs:disable Magento2.Classes.AbstractApi
1819
* @api

app/code/Magento/Quote/Model/Quote/Address/Total/AbstractTotal.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@ public function getIsItemRowTotalCompoundable(\Magento\Quote\Model\Quote\Item\Ab
283283

284284
/**
285285
* Process model configuration array.
286+
*
286287
* This method can be used for changing models apply sort order
287288
*
288289
* @param array $config

app/code/Magento/Sales/Model/AbstractModel.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
/**
1212
* Sales abstract model
13+
*
1314
* Provide date processing functionality
1415
*
1516
* phpcs:disable Magento2.Classes.AbstractApi

app/code/Magento/Sales/Model/Order/Total/AbstractTotal.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ abstract class AbstractTotal extends \Magento\Framework\DataObject
1818
{
1919
/**
2020
* Process model configuration array.
21+
*
2122
* This method can be used for changing models apply sort order
2223
*
2324
* @param array $config

app/code/Magento/Sales/Model/ResourceModel/Collection/AbstractCollection.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ protected function _attributeToField($attribute)
7373

7474
/**
7575
* Add attribute to select result set.
76+
*
7677
* Backward compatibility with EAV collection
7778
*
7879
* @param string $attribute
@@ -86,6 +87,7 @@ public function addAttributeToSelect($attribute)
8687

8788
/**
8889
* Specify collection select filter by attribute value
90+
*
8991
* Backward compatibility with EAV collection
9092
*
9193
* @param string|\Magento\Eav\Model\Entity\Attribute $attribute
@@ -100,6 +102,7 @@ public function addAttributeToFilter($attribute, $condition = null)
100102

101103
/**
102104
* Specify collection select order by attribute value
105+
*
103106
* Backward compatibility with EAV collection
104107
*
105108
* @param string $attribute
@@ -114,6 +117,7 @@ public function addAttributeToSort($attribute, $dir = 'asc')
114117

115118
/**
116119
* Set collection page start and records to show
120+
*
117121
* Backward compatibility with EAV collection
118122
*
119123
* @param int $pageNum
@@ -128,6 +132,7 @@ public function setPage($pageNum, $pageSize)
128132

129133
/**
130134
* Create all ids retrieving select with limitation
135+
*
131136
* Backward compatibility with EAV collection
132137
*
133138
* @param int $limit
@@ -148,6 +153,7 @@ protected function _getAllIdsSelect($limit = null, $offset = null)
148153

149154
/**
150155
* Retrieve all ids for collection
156+
*
151157
* Backward compatibility with EAV collection
152158
*
153159
* @param int $limit

lib/internal/Magento/Framework/Pricing/Price/AbstractPrice.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
/**
1515
* Class AbstractPrice
16+
*
1617
* Should be the base for creating any Price type class
1718
*
1819
* phpcs:disable Magento2.Classes.AbstractApi

0 commit comments

Comments
 (0)