Page MenuHomePhabricator

D12308.id29565.diff
No OneTemporary

D12308.id29565.diff

diff --git a/src/lint/linter/__tests__/xhpast/array-comma.lint-test b/src/lint/linter/__tests__/xhpast/array-comma.lint-test
--- a/src/lint/linter/__tests__/xhpast/array-comma.lint-test
+++ b/src/lint/linter/__tests__/xhpast/array-comma.lint-test
@@ -28,12 +28,17 @@
1,
2,
3 /* comment */ );
+array(
+ 1,
+ 2,
+ 3, /* comment */ );
~~~~~~~~~~
advice:3:14
advice:12:3
advice:16:3
advice:26:3
advice:30:3
+advice:34:20
~~~~~~~~~~
<?php
array(1, 2, 3);
@@ -67,3 +72,8 @@
2,
3, /* comment */
);
+array(
+ 1,
+ 2,
+ 3, /* comment */
+);

File Metadata

Mime Type
text/plain
Expires
May 13 2024, 5:38 AM (4 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6292303
Default Alt Text
D12308.id29565.diff (564 B)

Event Timeline