File tree 3 files changed +26
-13
lines changed
3 files changed +26
-13
lines changed Original file line number Diff line number Diff line change @@ -8979,16 +8979,20 @@ public function dataDynamicConstants(): array
8979
8979
[
8980
8980
'string ' ,
8981
8981
'DynamicConstants\DynamicConstantClass::DYNAMIC_CONSTANT_IN_CLASS ' ,
8982
- ], [
8982
+ ],
8983
+ [
8983
8984
"'abc123def' " ,
8984
8985
'DynamicConstants\DynamicConstantClass::PURE_CONSTANT_IN_CLASS ' ,
8985
- ], [
8986
+ ],
8987
+ [
8986
8988
"'xyz' " ,
8987
8989
'DynamicConstants\NoDynamicConstantClass::DYNAMIC_CONSTANT_IN_CLASS ' ,
8988
- ], [
8990
+ ],
8991
+ [
8989
8992
'bool ' ,
8990
8993
'GLOBAL_DYNAMIC_CONSTANT ' ,
8991
- ], [
8994
+ ],
8995
+ [
8992
8996
'123 ' ,
8993
8997
'GLOBAL_PURE_CONSTANT ' ,
8994
8998
],
Original file line number Diff line number Diff line change @@ -140,13 +140,19 @@ public function testFormatErrorMessagesRegexEscape(): void
140
140
);
141
141
142
142
self ::assertSame (
143
- trim (Neon::encode (['parameters ' => ['ignoreErrors ' => [
144
- [
145
- 'message ' => "#^Escape Regex with file \\# ~ ' \\( \\)$# " ,
146
- 'count ' => 1 ,
147
- 'path ' => 'Testfile ' ,
148
- ],
149
- ]]], Neon::BLOCK )),
143
+ trim (
144
+ Neon::encode ([
145
+ 'parameters ' => [
146
+ 'ignoreErrors ' => [
147
+ [
148
+ 'message ' => "#^Escape Regex with file \\# ~ ' \\( \\)$# " ,
149
+ 'count ' => 1 ,
150
+ 'path ' => 'Testfile ' ,
151
+ ],
152
+ ],
153
+ ],
154
+ ], Neon::BLOCK )
155
+ ),
150
156
trim ($ this ->getOutputContent ())
151
157
);
152
158
}
Original file line number Diff line number Diff line change @@ -44,7 +44,8 @@ public function dataClassHierarchyDistances(): array
44
44
],
45
45
[
46
46
\HierarchyDistances \Ipsum::class,
47
- PHP_VERSION_ID < 70400 ? [
47
+ PHP_VERSION_ID < 70400 ?
48
+ [
48
49
\HierarchyDistances \Ipsum::class => 0 ,
49
50
\HierarchyDistances \TraitOne::class => 1 ,
50
51
\HierarchyDistances \Lorem::class => 2 ,
@@ -55,7 +56,9 @@ public function dataClassHierarchyDistances(): array
55
56
\HierarchyDistances \ExtendedIpsumInterface::class => 7 ,
56
57
\HierarchyDistances \SecondIpsumInterface::class => 8 ,
57
58
\HierarchyDistances \ThirdIpsumInterface::class => 9 ,
58
- ] : [
59
+ ]
60
+ :
61
+ [
59
62
\HierarchyDistances \Ipsum::class => 0 ,
60
63
\HierarchyDistances \TraitOne::class => 1 ,
61
64
\HierarchyDistances \Lorem::class => 2 ,
You can’t perform that action at this time.
0 commit comments