1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-21 22:32:41 +01:00

Fix a couple of lint issues, and update to version 2 (github).

This commit is contained in:
epriestley 2011-01-09 15:51:04 -08:00
parent 2e73916fa2
commit 2c235bdf38
6 changed files with 23 additions and 5 deletions

2
.gitignore vendored
View file

@ -1,3 +1,5 @@
.DS_Store
._*
*.a
*.o
/support/xhpast/xhpast

View file

@ -116,7 +116,7 @@ try {
'conduit.connect',
array(
'client' => 'arc',
'clientVersion' => 1,
'clientVersion' => 2,
'clientDescription' => php_uname('n').':'.$description,
'user' => getenv('USER'),
));

View file

@ -1,5 +1,21 @@
<?php
/*
* Copyright 2011 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
function xhp_parser_node_constants() {
return array(
9000 => 'n_PROGRAM',