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

Various linter fixes.

Summary:
- Removed trailing newlines.
- Added newline at EOF.
- Removed leading newlines.
- Trimmed trailing whitespace.
- Spelling fix.
- Added newline at EOF

Test Plan: N/A

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley

CC: hach-que, chad, Korvin, epriestley, aran

Differential Revision: https://secure.phabricator.com/D8344
This commit is contained in:
Joshua Spence 2014-02-26 12:44:58 -08:00 committed by epriestley
parent 361e49dd67
commit 6270114767
268 changed files with 108 additions and 389 deletions

View file

@ -3,4 +3,3 @@
return array(
) + phabricator_read_config_file('default');

View file

@ -1,4 +1,3 @@
create table {$NAMESPACE}_project.project (
id int unsigned not null auto_increment primary key,
name varchar(255) not null,
@ -28,4 +27,3 @@ create table {$NAMESPACE}_project.project_affiliation (
dateCreated int unsigned not null,
dateModified int unsigned not null
);

View file

@ -1,9 +1,3 @@
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;

View file

@ -1,5 +1,3 @@
create table {$NAMESPACE}_worker.worker_task (
id int unsigned not null auto_increment primary key,
taskClass varchar(255) not null,

View file

@ -1,5 +1,3 @@
create table {$NAMESPACE}_daemon.daemon_log (
id int unsigned not null auto_increment primary key,
daemon varchar(255) not null,

View file

@ -1,5 +1,3 @@
CREATE TABLE {$NAMESPACE}_herald.herald_action (
id int unsigned not null auto_increment primary key,
ruleID int unsigned not null,

View file

@ -1,5 +1,3 @@
CREATE TABLE {$NAMESPACE}_owners.owners_package (
id int unsigned not null auto_increment primary key,
phid varchar(64) binary not null,

View file

@ -1,4 +1,3 @@
CREATE TABLE {$NAMESPACE}_xhpastview.xhpastview_parsetree (
id int unsigned not null auto_increment primary key,
authorPHID varchar(64) binary,

View file

@ -3,4 +3,3 @@ ALTER TABLE {$NAMESPACE}_metamta.metamta_mailinglist
ALTER TABLE {$NAMESPACE}_metamta.metamta_mailinglist
ADD UNIQUE KEY (name);

View file

@ -1,3 +1,2 @@
ALTER TABLE {$NAMESPACE}_differential.differential_diffproperty
ADD UNIQUE KEY (diffID, name);

View file

@ -1,5 +1,3 @@
CREATE TABLE {$NAMESPACE}_pastebin.pastebin_paste (
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
title VARCHAR(255) NOT NULL,

View file

@ -1,5 +1,3 @@
CREATE TABLE {$NAMESPACE}_countdown.countdown_timer (
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
title VARCHAR(255) NOT NULL,

View file

@ -1,5 +1,3 @@
CREATE TABLE {$NAMESPACE}_feed.feed_storydata (
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
phid VARCHAR(64) BINARY NOT NULL,

View file

@ -1,5 +1,3 @@
CREATE TABLE {$NAMESPACE}_slowvote.slowvote_poll (
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
question VARCHAR(255) NOT NULL,

View file

@ -1,5 +1,3 @@
CREATE TABLE {$NAMESPACE}_phriction.phriction_document (
id INT UNSIGNED NOT NULL,
phid VARCHAR(64) BINARY NOT NULL,

View file

@ -1,5 +1,3 @@
ALTER TABLE {$NAMESPACE}_owners.owners_packagecommitrelationship
ADD COLUMN `auditStatus` varchar(64) NOT NULL,
ADD COLUMN `auditReasons` longtext NOT NULL,

View file

@ -1,5 +1,3 @@
CREATE TABLE {$NAMESPACE}_drydock.drydock_resource (
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
phid VARCHAR(64) BINARY NOT NULL,

View file

@ -1,4 +1,3 @@
CREATE TABLE {$NAMESPACE}_chatlog.chatlog_event (
id INT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
channel VARCHAR(64) BINARY NOT NULL,

View file

@ -1,5 +1,3 @@
CREATE TABLE `{$NAMESPACE}_oauth_server`.`oauth_server_oauthserverclient` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`phid` varchar(64) BINARY NOT NULL,
@ -48,4 +46,3 @@ CREATE TABLE `{$NAMESPACE}_oauth_server`.`oauth_server_oauthserveraccesstoken` (
PRIMARY KEY (`id`),
UNIQUE KEY `token` (`token`)
) ENGINE=InnoDB;

View file

@ -3,4 +3,3 @@ ALTER TABLE `{$NAMESPACE}_oauth_server`.`oauth_server_oauthclientauthorization`
ALTER TABLE `{$NAMESPACE}_oauth_server`.`oauth_server_oauthserveraccesstoken`
DROP `dateExpires`;

View file

@ -1,3 +1,2 @@
ALTER TABLE `{$NAMESPACE}_oauth_server`.`oauth_server_oauthserverclient`
ADD KEY `creatorPHID` (`creatorPHID`)

View file

@ -1,3 +1,2 @@
ALTER TABLE `{$NAMESPACE}_oauth_server`.`oauth_server_oauthserverauthorizationcode`
ADD `redirectURI` varchar(255) NOT NULL

View file

@ -1123,6 +1123,3 @@ ALTER TABLE `{$NAMESPACE}_xhpastview`.`xhpastview_parsetree`
MODIFY `authorPHID` varchar(64) COLLATE utf8_bin,
MODIFY `input` longtext COLLATE utf8_bin NOT NULL,
MODIFY `stdout` longtext COLLATE utf8_bin NOT NULL;

View file

@ -1,5 +1,3 @@
CREATE TABLE {$NAMESPACE}_flag.flag (
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
ownerPHID varchar(64) COLLATE utf8_bin NOT NULL,

View file

@ -7,5 +7,3 @@ ALTER TABLE {$NAMESPACE}_maniphest.maniphest_task
/* Seed the subpriority column with reasonable values that keep order stable. */
UPDATE {$NAMESPACE}_maniphest.maniphest_task
SET subpriority = (UNIX_TIMESTAMP() - dateModified);

View file

@ -1,5 +1,3 @@
CREATE TABLE `{$NAMESPACE}_phame`.`phame_post` (
`id` INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
`phid` VARCHAR(64) BINARY NOT NULL COLLATE utf8_bin,

View file

@ -48,4 +48,3 @@ CREATE TABLE {$NAMESPACE}_pholio.pholio_transaction_comment (
UNIQUE KEY `key_draft` (authorPHID, mockID, transactionPHID)
) ENGINE=InnoDB, COLLATE utf8_general_ci;

View file

@ -1,4 +1,3 @@
CREATE TABLE {$NAMESPACE}_conpherence.conpherence_thread (
id INT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
phid VARCHAR(64) NOT NULL COLLATE utf8_bin,
@ -80,4 +79,3 @@ CREATE TABLE {$NAMESPACE}_conpherence.conpherence_transaction_comment (
UNIQUE KEY `key_draft` (authorPHID, conpherencePHID, transactionPHID)
) ENGINE=InnoDB, COLLATE utf8_general_ci;

View file

@ -1,3 +1,2 @@
ALTER TABLE `{$NAMESPACE}_herald`.`herald_transcript`
DROP `psth`;

View file

@ -1,4 +1,3 @@
CREATE TABLE {$NAMESPACE}_chatlog.chatlog_channel (
id INT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
serviceName VARCHAR(64) COLLATE utf8_bin NOT NULL,

View file

@ -13,4 +13,3 @@ CREATE TABLE {$NAMESPACE}_phriction.edgedata (
id INT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
data LONGTEXT NOT NULL COLLATE utf8_bin
) ENGINE=InnoDB, COLLATE utf8_general_ci;

View file

@ -29,4 +29,3 @@ CREATE TABLE {$NAMESPACE}_phlux.phlux_transaction (
UNIQUE KEY `key_phid` (phid),
KEY `key_object` (objectPHID)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

View file

@ -43,4 +43,3 @@ CREATE TABLE {$NAMESPACE}_phortune.edgedata (
id INT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
data LONGTEXT NOT NULL COLLATE utf8_bin
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

View file

@ -1,4 +1,3 @@
CREATE TABLE {$NAMESPACE}_user.externalaccount (
id INT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
phid VARCHAR(64) COLLATE utf8_bin NOT NULL UNIQUE KEY,

View file

@ -34,5 +34,3 @@ CREATE TABLE {$NAMESPACE}_diviner.diviner_liveatom (
atomData LONGTEXT NOT NULL COLLATE utf8_bin,
UNIQUE KEY (symbolPHID)
) ENGINE=InnoDB, DEFAULT CHARSET = utf8;

View file

@ -19,5 +19,3 @@ CREATE TABLE {$NAMESPACE}_user.user_transaction (
KEY `key_object` (objectPHID)
) ENGINE=InnoDB, COLLATE utf8_general_ci;

View file

@ -48,4 +48,3 @@ CREATE TABLE {$NAMESPACE}_differential.differential_transaction_comment (
UNIQUE KEY `key_draft` (authorPHID, revisionPHID, transactionPHID)
) ENGINE=InnoDB, COLLATE utf8_general_ci;

View file

@ -32,4 +32,3 @@ CREATE TABLE {$NAMESPACE}_doorkeeper.edgedata (
id INT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
data LONGTEXT NOT NULL COLLATE utf8_bin
) ENGINE=InnoDB, COLLATE utf8_general_ci;

View file

@ -101,4 +101,3 @@ CREATE TABLE {$NAMESPACE}_legalpad.legalpad_transaction_comment (
UNIQUE KEY `key_draft` (authorPHID, documentID, transactionPHID)
) ENGINE=InnoDB, COLLATE utf8_general_ci;

View file

@ -3,4 +3,3 @@ ALTER TABLE {$NAMESPACE}_worker.worker_activetask
ALTER TABLE {$NAMESPACE}_worker.worker_activetask
ADD KEY `key_failuretime` (`failureTime`);

View file

@ -79,4 +79,3 @@ CREATE TABLE {$NAMESPACE}_ponder.ponder_answertransaction_comment (
UNIQUE KEY `key_version` (transactionPHID, commentVersion)
) ENGINE=InnoDB, COLLATE utf8_general_ci;

View file

@ -39,4 +39,3 @@ CREATE TABLE {$NAMESPACE}_file.file_transaction_comment (
UNIQUE KEY `key_draft` (authorPHID, transactionPHID)
) ENGINE=InnoDB, COLLATE utf8_general_ci;

View file

@ -12,4 +12,3 @@ ALTER TABLE {$NAMESPACE}_differential.differential_transaction_comment
ALTER TABLE {$NAMESPACE}_differential.differential_transaction_comment
ADD KEY `key_legacy` (legacyCommentID);

View file

@ -7,4 +7,3 @@ CREATE TABLE {$NAMESPACE}_repository.repository_statusmessage (
epoch INT UNSIGNED NOT NULL,
UNIQUE KEY (repositoryID, statusType)
) ENGINE=InnoDB, CHARSET utf8;

View file

@ -3,4 +3,3 @@ ALTER TABLE {$NAMESPACE}_harbormaster.harbormaster_buildable
ALTER TABLE {$NAMESPACE}_harbormaster.harbormaster_buildable
ADD KEY `key_manual` (isManualBuildable);

View file

@ -3,4 +3,3 @@ ALTER TABLE {$NAMESPACE}_herald.herald_rule
ALTER TABLE {$NAMESPACE}_herald.herald_rule
ADD KEY `key_trigger` (triggerObjectPHID);

View file

@ -1,3 +1,2 @@
ALTER TABLE {$NAMESPACE}_maniphest.maniphest_taskauxiliarystorage
MODIFY value LONGTEXT COLLATE utf8_bin;

View file

@ -28,4 +28,3 @@ CREATE TABLE {$NAMESPACE}_phame.edgedata (
ALTER TABLE {$NAMESPACE}_phame.phame_post
ADD KEY `instancePosts` (`visibility`, `datePublished`, `id`);

View file

@ -15,4 +15,3 @@ ALTER TABLE `{$NAMESPACE}_phame`.`phame_blog`
UPDATE `{$NAMESPACE}_phame`.`phame_blog` SET joinPolicy = 'users'
WHERE joinPolicy IS NULL;

View file

@ -49,4 +49,3 @@ if (!$ok) {
$revision->delete();
echo "OK, destroyed revision.\n";

View file

@ -92,5 +92,3 @@ try {
throw $e;
}

View file

@ -19,4 +19,3 @@ $workflows = id(new PhutilSymbolLoader())
->loadObjects();
$workflows[] = new PhutilHelpArgumentWorkflow();
$args->parseWorkflows($workflows);

View file

@ -3,4 +3,3 @@
echo "This script is obsolete. Use `bin/repository` to manage repositories.\n";
exit(1);

View file

@ -13,4 +13,3 @@ foreach ($tasks as $task) {
echo '.';
}
echo "\nDone.\n";

View file

@ -135,4 +135,3 @@ final class DarkConsoleCore {
}
}

View file

@ -293,4 +293,3 @@ final class DarkConsoleServicesPlugin extends DarkConsolePlugin {
return phutil_implode_html("\n", $results);
}
}

View file

@ -76,4 +76,3 @@ final class DarkConsoleErrorLogPluginAPI {
}
}

View file

@ -28,4 +28,3 @@ final class DarkConsoleEventPluginAPI extends PhabricatorEventListener {
}
}

View file

@ -78,4 +78,3 @@ final class PhabricatorApplicationAudit extends PhabricatorApplication {
}
}

View file

@ -43,4 +43,3 @@ final class AuditActionMenuEventListener extends PhabricatorEventListener {
}
}

View file

@ -140,4 +140,3 @@ final class PhabricatorAuthProviderConfigTransaction
}
}

View file

@ -35,4 +35,3 @@ final class PhabricatorApplicationTest extends PhabricatorApplication {
}
}

View file

@ -38,4 +38,3 @@ final class PhabricatorApplicationChatLog extends PhabricatorApplication {
}
}

View file

@ -37,4 +37,3 @@ final class PhabricatorChatLogChannel
}
}

View file

@ -21,4 +21,3 @@ final class PhabricatorSetupCheckImagemagick extends PhabricatorSetupCheck {
}
}
}

View file

@ -116,4 +116,3 @@ final class PhabricatorConfigTransaction
}
}

View file

@ -42,4 +42,3 @@ final class ConpherenceActionMenuEventListener
}
}

View file

@ -39,4 +39,3 @@ final class ConpherenceHovercardEventListener extends PhabricatorEventListener {
}
}

View file

@ -132,4 +132,3 @@ final class PhabricatorApplicationDifferential extends PhabricatorApplication {
}
}

View file

@ -151,4 +151,3 @@ final class DifferentialRevisionLandController extends DifferentialController {
return $lock;
}
}

View file

@ -994,4 +994,3 @@ final class DifferentialRevisionEditor extends PhabricatorEditor {
}
}

View file

@ -67,4 +67,3 @@ final class DifferentialActionMenuEventListener
}
}

View file

@ -93,4 +93,3 @@ final class DifferentialDefaultFieldSelector
}
}

View file

@ -43,5 +43,3 @@ EOBODY;
}
}

View file

@ -280,4 +280,3 @@ final class DifferentialHunkParserTestCase extends PhabricatorTestCase {
}
}

View file

@ -8,4 +8,3 @@ final class DifferentialCustomFieldNumericIndex
}
}

View file

@ -8,4 +8,3 @@ final class DifferentialCustomFieldStorage
}
}

View file

@ -8,4 +8,3 @@ final class DifferentialCustomFieldStringIndex
}
}

View file

@ -140,4 +140,3 @@ final class DifferentialChangesetFileTreeSideNavBuilder {
}
}

View file

@ -601,4 +601,3 @@ final class DiffusionServeController extends DiffusionController {
}
}

View file

@ -73,4 +73,3 @@ final class DiffusionHovercardEventListener extends PhabricatorEventListener {
}
}

View file

@ -40,4 +40,3 @@ final class DiffusionPathQueryTestCase extends PhabricatorTestCase {
}
}

View file

@ -72,4 +72,3 @@ final class PhabricatorApplicationDiviner extends PhabricatorApplication {
}

View file

@ -316,4 +316,3 @@ final class DivinerPHPAtomizer extends DivinerAtomizer {
}
}

View file

@ -179,5 +179,3 @@ final class DrydockAllocatorWorker extends PhabricatorWorker {
}
}

View file

@ -33,4 +33,3 @@ final class PhabricatorApplicationFeed extends PhabricatorApplication {
}
}

View file

@ -58,4 +58,3 @@ final class PhabricatorApplicationFlags extends PhabricatorApplication {
}
}

View file

@ -59,4 +59,3 @@ final class PhabricatorFlagsUIEventListener extends PhabricatorEventListener {
}
}

View file

@ -1077,4 +1077,3 @@ abstract class HeraldAdapter {
}
}

View file

@ -76,4 +76,3 @@ final class HeraldEffect {
}
}

View file

@ -8,4 +8,3 @@ final class HeraldRuleTransactionComment
}
}

View file

@ -110,4 +110,3 @@ final class PhabricatorFileImageMacro extends PhabricatorFileDAO
}
}

View file

@ -301,4 +301,3 @@ final class PhabricatorMacroTransaction
}

View file

@ -8,4 +8,3 @@ final class PhabricatorMacroTransactionComment
}
}

View file

@ -124,4 +124,3 @@ final class PhabricatorApplicationManiphest extends PhabricatorApplication {
}
}

View file

@ -8,4 +8,3 @@ final class ManiphestCustomFieldNumericIndex
}
}

View file

@ -8,4 +8,3 @@ final class ManiphestCustomFieldStorage
}
}

View file

@ -8,4 +8,3 @@ final class ManiphestCustomFieldStringIndex
}
}

View file

@ -667,4 +667,3 @@ final class ManiphestTransaction
}

View file

@ -43,4 +43,3 @@ final class PhabricatorApplicationApplications extends PhabricatorApplication {
}
}

Some files were not shown because too many files have changed in this diff Show more