File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
tests/unit/Mage/Core/Helper Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 145
145
<exclude name =" Squiz.PHP.Eval.Discouraged" />
146
146
</rule >
147
147
148
- <rule ref =" PHPCompatibility" />
148
+ <rule ref =" PHPCompatibility" >
149
+ <exclude name =" PHPCompatibility.Keywords.ForbiddenNamesAsDeclared.resourceFound" />
150
+ </rule >
149
151
<rule ref =" PHPCompatibility.FunctionNameRestrictions.ReservedFunctionNames.MethodDoubleUnderscore" >
150
152
<exclude-pattern >*/Varien/Object.php*</exclude-pattern >
151
153
<exclude-pattern >*/Varien/Data/Form/Abstract.php*</exclude-pattern >
Original file line number Diff line number Diff line change @@ -93,9 +93,9 @@ public function testFormatTimezoneDate(
93
93
public function provideFormatTimezoneDate (): Generator
94
94
{
95
95
$ date = date_create ()->getTimestamp ();
96
- $ dateShort = date ('m /j/Y ' , $ date );
96
+ $ dateShort = date ('n /j/Y ' , $ date );
97
97
$ dateLong = date ('F j, Y ' , $ date );
98
- $ dateShortTime = date ('m /j/Y g:i A ' , $ date );
98
+ $ dateShortTime = date ('n /j/Y g:i A ' , $ date );
99
99
100
100
yield 'null ' => [
101
101
$ dateShort ,
You can’t perform that action at this time.
0 commit comments