Skip to content

Commit 9abbd32

Browse files
Remove extra space before semicolon and remove extra comma in php, phtml and js files
1 parent dbb159a commit 9abbd32

File tree

8 files changed

+10
-10
lines changed

8 files changed

+10
-10
lines changed

app/code/Magento/AdminAnalytics/view/adminhtml/templates/notification.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
define('analyticsPopupConfig', function () {
1111
return {
1212
analyticsVisible: <?= $block->getNotification()->isAnalyticsVisible() ? 1 : 0; ?>,
13-
releaseVisible: <?= $block->getNotification()->isReleaseVisible() ? 1 : 0; ?>,
13+
releaseVisible: <?= $block->getNotification()->isReleaseVisible() ? 1 : 0; ?>
1414
}
1515
});
1616
</script>

app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/AbstractRenderer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function render(DataObject $row)
6262
$result .= $this->getColumn()->getEditOnly() ? ''
6363
: '<span class="admin__grid-control-value">' . $this->_getValue($row) . '</span>';
6464

65-
return $result . $this->_getInputValueElement($row) . '</div>' ;
65+
return $result . $this->_getInputValueElement($row) . '</div>';
6666
}
6767
return $this->_getValue($row);
6868
}

app/code/Magento/CatalogGraphQl/DataProvider/Product/SearchCriteriaBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ private function addVisibilityFilter(SearchCriteriaInterface $searchCriteria, bo
123123
{
124124
if ($isFilter && $isSearch) {
125125
// Index already contains products filtered by visibility: catalog, search, both
126-
return ;
126+
return;
127127
}
128128
$visibilityIds = $isSearch
129129
? $this->visibility->getVisibleInSearchIds()

app/code/Magento/Csp/Model/Collector/CspWhitelistXml/SchemaLocator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class SchemaLocator implements SchemaLocatorInterface
2222
*
2323
* @var string
2424
*/
25-
private $schema ;
25+
private $schema;
2626

2727
/**
2828
* @param Reader $moduleReader

app/code/Magento/Payment/Test/Unit/Gateway/Data/PaymentDataObjectTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ protected function setUp()
4040

4141
public function testGetOrder()
4242
{
43-
$this->assertSame($this->orderMock, $this->model->getOrder()) ;
43+
$this->assertSame($this->orderMock, $this->model->getOrder());
4444
}
4545

4646
public function testGetPayment()
4747
{
48-
$this->assertSame($this->paymentMock, $this->model->getPayment()) ;
48+
$this->assertSame($this->paymentMock, $this->model->getPayment());
4949
}
5050
}

app/code/Magento/Quote/Test/Unit/Model/Product/Plugin/UpdateQuoteItemsTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class UpdateQuoteItemsTest extends \PHPUnit\Framework\TestCase
1515
/**
1616
* @var \PHPUnit_Framework_MockObject_MockObject|\Magento\Quote\Model\ResourceModel\Quote
1717
*/
18-
private $quoteResource ;
18+
private $quoteResource;
1919

2020
protected function setUp()
2121
{
@@ -58,7 +58,7 @@ public function aroundUpdateDataProvider()
5858
[10, 20, 'once'],
5959
[null, 10, 'never'],
6060
[10, 10, 'never'],
61-
[10, 10, 'once', true],
61+
[10, 10, 'once', true]
6262
];
6363
}
6464
}

app/code/Magento/Sales/Block/Adminhtml/Order/Status/NewStatus/Form.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ protected function _addStoresFieldset($model, $form)
100100
'fieldset_html_class' => 'store'
101101
]
102102
);
103-
return ;
103+
return;
104104
}
105105

106106
$renderer = $this->getLayout()->createBlock(

app/code/Magento/Tinymce3/view/base/web/tiny_mce/plugins/table/editor_plugin_src.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1222,7 +1222,7 @@
12221222
var last;
12231223

12241224
// Skip empty text nodes form the end
1225-
for (last = ed.getBody().lastChild; last && last.nodeType == 3 && !last.nodeValue.length; last = last.previousSibling) ;
1225+
for (last = ed.getBody().lastChild; last && last.nodeType == 3 && !last.nodeValue.length; last = last.previousSibling);
12261226

12271227
if (last && last.nodeName == 'TABLE')
12281228
ed.dom.add(ed.getBody(), 'p', null, '<br mce_bogus="1" />');

0 commit comments

Comments
 (0)