Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15360827
D13861.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
3 KB
Referenced Files
None
Subscribers
None
D13861.id.diff
View Options
diff --git a/src/lint/linter/__tests__/ArcanistLinterTestCase.php b/src/lint/linter/__tests__/ArcanistLinterTestCase.php
--- a/src/lint/linter/__tests__/ArcanistLinterTestCase.php
+++ b/src/lint/linter/__tests__/ArcanistLinterTestCase.php
@@ -65,7 +65,7 @@
'~~~~~~~~~~'));
}
- list ($data, $expect, $xform, $config) = array_merge(
+ list($data, $expect, $xform, $config) = array_merge(
$contents,
array(null, null));
diff --git a/src/parser/ArcanistBundle.php b/src/parser/ArcanistBundle.php
--- a/src/parser/ArcanistBundle.php
+++ b/src/parser/ArcanistBundle.php
@@ -819,16 +819,91 @@
// additional casting.)
static $map = array(
- '0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
- 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J',
- 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T',
- 'U', 'V', 'W', 'X', 'Y', 'Z',
- 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j',
- 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't',
- 'u', 'v', 'w', 'x', 'y', 'z',
- '!', '#', '$', '%', '&', '(', ')', '*', '+', '-',
- ';', '<', '=', '>', '?', '@', '^', '_', '`', '{',
- '|', '}', '~',
+ '0',
+ '1',
+ '2',
+ '3',
+ '4',
+ '5',
+ '6',
+ '7',
+ '8',
+ '9',
+ 'A',
+ 'B',
+ 'C',
+ 'D',
+ 'E',
+ 'F',
+ 'G',
+ 'H',
+ 'I',
+ 'J',
+ 'K',
+ 'L',
+ 'M',
+ 'N',
+ 'O',
+ 'P',
+ 'Q',
+ 'R',
+ 'S',
+ 'T',
+ 'U',
+ 'V',
+ 'W',
+ 'X',
+ 'Y',
+ 'Z',
+ 'a',
+ 'b',
+ 'c',
+ 'd',
+ 'e',
+ 'f',
+ 'g',
+ 'h',
+ 'i',
+ 'j',
+ 'k',
+ 'l',
+ 'm',
+ 'n',
+ 'o',
+ 'p',
+ 'q',
+ 'r',
+ 's',
+ 't',
+ 'u',
+ 'v',
+ 'w',
+ 'x',
+ 'y',
+ 'z',
+ '!',
+ '#',
+ '$',
+ '%',
+ '&',
+ '(',
+ ')',
+ '*',
+ '+',
+ '-',
+ ';',
+ '<',
+ '=',
+ '>',
+ '?',
+ '@',
+ '^',
+ '_',
+ '`',
+ '{',
+ '|',
+ '}',
+ '~',
);
$buf = '';
diff --git a/src/repository/api/ArcanistMercurialAPI.php b/src/repository/api/ArcanistMercurialAPI.php
--- a/src/repository/api/ArcanistMercurialAPI.php
+++ b/src/repository/api/ArcanistMercurialAPI.php
@@ -250,7 +250,7 @@
list($node, $rev, $full_author, $date, $branch, $tag,
$parents, $desc) = explode("\1", $log, 9);
- list ($author, $author_email) = $this->parseFullAuthor($full_author);
+ list($author, $author_email) = $this->parseFullAuthor($full_author);
// NOTE: If a commit has only one parent, {parents} returns empty.
// If it has two parents, {parents} returns revs and short hashes, not
@@ -535,7 +535,7 @@
public function supportsRebase() {
if ($this->supportsRebase === null) {
- list ($err) = $this->execManualLocal('help rebase');
+ list($err) = $this->execManualLocal('help rebase');
$this->supportsRebase = $err === 0;
}
@@ -544,7 +544,7 @@
public function supportsPhases() {
if ($this->supportsPhases === null) {
- list ($err) = $this->execManualLocal('help phase');
+ list($err) = $this->execManualLocal('help phase');
$this->supportsPhases = $err === 0;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 12, 10:32 AM (19 h, 59 m ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7583296
Default Alt Text
D13861.id.diff (3 KB)
Attached To
Mode
D13861: Various linter fixes
Attached
Detach File
Event Timeline
Log In to Comment