Homec4science

Add a missing (string) cast to repository.query

Authored by epriestley <git@epriestley.com> on May 5 2012, 02:08.

Description

Add a missing (string) cast to repository.query

Summary: The method returns a PhutilURI object, which json_encode() encodes as "{}" since all the properties are private.

Test Plan:
Examined the output of "repository.query" more carefully:

"0" : {
  "name"      : "Phabricator",
  "callsign"  : "P",
  "vcs"       : "git",
  "uri"       : "http:\/\/local.aphront.com:8080\/diffusion\/P\/",
  "remoteURI" : "git:\/\/github.com\/facebook\/phabricator.git",
  "tracking"  : true
},

Reviewers: csilvers, btrahan, vrana, jungejason

Reviewed By: csilvers

CC: aran

Differential Revision: https://secure.phabricator.com/D2402

Details

Committed
epriestley <git@epriestley.com>May 5 2012, 02:08
Pushed
aubortJan 31 2017, 17:16
Parents
rPHa122336b3e8c: Try to diagnose App Login only for OAuth providers which support it
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHdb20c74044cb: Add a missing (string) cast to repository.query (authored by epriestley <git@epriestley.com>).May 5 2012, 02:08