Skip to content

Commit bfbbe0e

Browse files
committed
adjusting PHP CS for 120 lines and invalid quote at validation.js
1 parent 8f0c225 commit bfbbe0e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

app/code/Magento/Customer/Test/Unit/Block/Widget/DobTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,9 @@ public function testGetHtmlExtraParamsWithRequiredOption()
545545
$this->escaper->expects($this->any())
546546
->method('escapeHtml')
547547
->with('{"required":true,"validate-date":{"dateFormat":"M\/d\/Y"},"validate-dob":true}')
548-
->will($this->returnValue('{"required":true,"validate-date":{"dateFormat":"M\/d\/Y"},"validate-dob":true}'));
548+
->will($this->returnValue(
549+
'{"required":true,"validate-date":{"dateFormat":"M\/d\/Y"},"validate-dob":true}'
550+
));
549551

550552
$this->context->expects($this->any())->method('getEscaper')->will($this->returnValue($this->escaper));
551553

app/code/Magento/Customer/view/frontend/web/js/validation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ require([
66
], function($, moment) {
77
'use strict';
88
$.validator.addMethod(
9-
"validate-dob",
9+
'validate-dob',
1010
function (value) {
1111
if (value === '') {
1212
return true;

0 commit comments

Comments
 (0)