1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-22 14:52:40 +01:00
phorge-arcanist/src
Joshua Spence 27ec3a2e34 Improve linter handling of short array syntax
Summary: Currently, linting PHP short array syntax (i.e. `[...]`) throws an exception ("Expected open parentheses"). This diff relaxes some restrictions which prevent short array syntax from linting with `ArcanistParenthesesSpacingXHPASTLinterRule`.

Test Plan: Modified test cases.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: agenticarus, Korvin

Differential Revision: https://secure.phabricator.com/D13895
2015-08-19 15:35:16 +10:00
..
__tests__ Use PhutilLibraryTestCase 2015-01-07 07:37:59 +11:00
configuration Use PhutilClassMapQuery instead of PhutilSymbolLoader 2015-08-11 06:50:47 +10:00
difference Extend from Phobject 2015-06-15 15:47:33 +10:00
differential Extend from Phobject 2015-06-15 15:47:33 +10:00
docs/book Minor documentation improvements 2015-06-08 11:31:35 +10:00
events/constant Remove @group annotations 2014-07-09 09:12:13 +10:00
exception pht all the things 2015-05-13 21:00:53 +10:00
extensions Changes to Arcanist for libphutil "extensions/" 2013-04-22 14:38:49 -07:00
hgdaemon Extend from Phobject 2015-06-15 15:47:33 +10:00
internationalization Fix a translation ("to ignore these changes...") 2015-06-01 06:50:46 -07:00
lint Improve linter handling of short array syntax 2015-08-19 15:35:16 +10:00
parser Various linter fixes 2015-08-11 22:35:40 +10:00
repository Various linter fixes 2015-08-11 22:35:40 +10:00
unit Fix arc unit --everything 2015-08-11 22:37:28 +10:00
upload Provide more documentation for Arcanist upload stuff 2015-05-27 10:26:27 -07:00
workflow Restore default "yes" behavior for lint patch 2015-08-11 14:49:56 -07:00
workingcopyidentity Extend from Phobject 2015-06-15 15:47:33 +10:00
__phutil_library_init__.php Delete license headers from files 2012-11-05 11:16:24 -08:00
__phutil_library_map__.php Add a linter rule for the use of parse_str 2015-08-14 07:45:27 +10:00