Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15381829
D12308.id29565.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
564 B
Referenced Files
None
Subscribers
None
D12308.id29565.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 15, 9:30 AM (2 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7664209
Default Alt Text
D12308.id29565.diff (564 B)
Attached To
Mode
D12308: Further improvements to array comma linter rule
Attached
Detach File
Event Timeline
Log In to Comment