mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +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 =
|
$pchar =
|
||||||
($changeset->getOldProperties() === $changeset->getNewProperties())
|
($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();
|
$fname = $changeset->getFilename();
|
||||||
$cov = $this->renderCoverage($coverage, $fname);
|
$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`.
|
such as PHID columns. Otherwise, use `COLLATE utf8_general_ci`.
|
||||||
- Name all indexes so it is possible to delete them later.
|
- Name all indexes so it is possible to delete them later.
|
||||||
# Edit `src/infrastructure/storage/patch/PhabricatorBuiltinPatchList.php` and
|
# 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`.
|
# Run `bin/storage upgrade`.
|
||||||
|
|
||||||
It is also possible to create more complex patches in PHP for data migration
|
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');
|
$ssl = $this->getConfig('ssl');
|
||||||
|
|
||||||
$url = ($ssl) ? 'https://' : 'http://';
|
$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;
|
return $url;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -123,8 +123,8 @@ final class PhabricatorBotObjectNameHandler extends PhabricatorBotHandler {
|
||||||
array(
|
array(
|
||||||
'id' => $file_id,
|
'id' => $file_id,
|
||||||
));
|
));
|
||||||
$output[$file['phid']] = $file['objectName'].': '.$file['uri'].' - '.
|
$output[$file['phid']] = $file['objectName'].': '.
|
||||||
$file['name'];
|
$file['uri'].' - '.$file['name'];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue