Skip to content

Commit 596b84a

Browse files
Igor MelnikovIgor Melnikov
authored andcommitted
Merge branch 'MAGETWO-53353-refactor-escaper' of github.com:magento-jackalopes/magento2ce into MAGETWO-53353-refactor-escaper
2 parents fa2c3ea + e77cfd5 commit 596b84a

File tree

5 files changed

+8
-5
lines changed

5 files changed

+8
-5
lines changed

app/code/Magento/Integration/Block/Adminhtml/Widget/Grid/Column/Renderer/Button.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ protected function _prepareAttributes(DataObject $row)
8787
if ($attributeValue) {
8888
$attributes[] = sprintf(
8989
'%s="%s"',
90-
$attributeName, $this->escapeHtmlAttr($attributeValue, false)
90+
$attributeName,
91+
$this->escapeHtmlAttr($attributeValue, false)
9192
);
9293
}
9394
}

app/code/Magento/Search/Test/Unit/Model/QueryFactoryTest.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
use Magento\Framework\Stdlib\StringUtils;
1515
use Magento\Search\Model\Query;
1616

17+
/**
18+
* Class QueryFactoryTest tests Magento\Search\Model\QueryFactory
19+
*
20+
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
21+
*/
1722
class QueryFactoryTest extends \PHPUnit_Framework_TestCase
1823
{
1924
/**
@@ -333,7 +338,7 @@ private function mockSetQueryTextNeverExecute($cleanedRawText)
333338

334339
/**
335340
* @param string $cleanedRawText
336-
* @param void
341+
* @return void
337342
*/
338343
private function mockSetQueryTextOnceExecute($cleanedRawText)
339344
{

lib/internal/Magento/Framework/Escaper.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ public function escapeQuote($data, $addSlashes = false)
161161
/**
162162
* Get escaper
163163
*
164-
* @param void
165164
* @return \Magento\Framework\ZendEscaper
166165
* @deprecated
167166
*/

lib/internal/Magento/Framework/Url.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1174,7 +1174,6 @@ private function getUrlModifier()
11741174
/**
11751175
* Get escaper
11761176
*
1177-
* @param void
11781177
* @return Escaper
11791178
* @deprecated
11801179
*/

lib/internal/Magento/Framework/Url/RouteParamsResolver.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@ public function getRouteParam($key)
153153
/**
154154
* Get escaper
155155
*
156-
* @param void
157156
* @return \Magento\Framework\Escaper
158157
* @deprecated
159158
*/

0 commit comments

Comments
 (0)