mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-19 12:00:55 +01:00
Fix some long lines to be less long
Summary: Self-explanatory. Test Plan: `arc lint` Reviewers: btrahan, #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D10438
This commit is contained in:
parent
d6671cbbe1
commit
ee6afccb10
4 changed files with 10 additions and 5 deletions
|
@ -136,7 +136,10 @@ final class DifferentialDiffTableOfContentsView extends AphrontView {
|
|||
$pchar =
|
||||
($changeset->getOldProperties() === $changeset->getNewProperties())
|
||||
? ''
|
||||
: phutil_tag('span', array('title' => pht('Properties Changed')), 'M');
|
||||
: phutil_tag(
|
||||
'span',
|
||||
array('title' => pht('Properties Changed')),
|
||||
'M');
|
||||
|
||||
$fname = $changeset->getFilename();
|
||||
$cov = $this->renderCoverage($coverage, $fname);
|
||||
|
|
|
@ -155,7 +155,8 @@ There are three simple steps to update the schema:
|
|||
such as PHID columns. Otherwise, use `COLLATE utf8_general_ci`.
|
||||
- Name all indexes so it is possible to delete them later.
|
||||
# Edit `src/infrastructure/storage/patch/PhabricatorBuiltinPatchList.php` and
|
||||
add your patch to @{method@phabricator:PhabricatorBuiltinPatchList::getPatches}.
|
||||
add your patch to
|
||||
@{method@phabricator:PhabricatorBuiltinPatchList::getPatches}.
|
||||
# Run `bin/storage upgrade`.
|
||||
|
||||
It is also possible to create more complex patches in PHP for data migration
|
||||
|
|
|
@ -21,7 +21,8 @@ final class PhabricatorBotFlowdockProtocolAdapter
|
|||
$ssl = $this->getConfig('ssl');
|
||||
|
||||
$url = ($ssl) ? 'https://' : 'http://';
|
||||
$url .= "{$this->authtoken}@stream.flowdock.com/flows/{$organization}/{$channel}";
|
||||
$url .= "{$this->authtoken}@stream.flowdock.com";
|
||||
$url .= "/flows/{$organization}/{$channel}";
|
||||
return $url;
|
||||
}
|
||||
|
||||
|
|
|
@ -123,8 +123,8 @@ final class PhabricatorBotObjectNameHandler extends PhabricatorBotHandler {
|
|||
array(
|
||||
'id' => $file_id,
|
||||
));
|
||||
$output[$file['phid']] = $file['objectName'].': '.$file['uri'].' - '.
|
||||
$file['name'];
|
||||
$output[$file['phid']] = $file['objectName'].': '.
|
||||
$file['uri'].' - '.$file['name'];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue