Add "final" to (almost) everything else
Summary: Last of the big final patches. Left a few debatable classes (12 out of about 400) that I'll deal with individually eventually. Test Plan: Ran testEverythingImplemented. Reviewers: btrahan Reviewed By: btrahan CC: aran, epriestley Maniphest Tasks: T795 Differential Revision: https://secure.phabricator.com/D1881
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* Copyright 2011 Facebook, Inc.
|
||||
* Copyright 2012 Facebook, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -16,7 +16,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorProjectAffiliation extends PhabricatorProjectDAO {
|
||||
final class PhabricatorProjectAffiliation extends PhabricatorProjectDAO {
|
||||
|
||||
protected $projectPHID;
|
||||
protected $userPHID;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* Copyright 2011 Facebook, Inc.
|
||||
* Copyright 2012 Facebook, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -16,7 +16,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorProjectDAO extends PhabricatorLiskDAO {
|
||||
abstract class PhabricatorProjectDAO extends PhabricatorLiskDAO {
|
||||
|
||||
public function getApplicationName() {
|
||||
return 'project';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* Copyright 2011 Facebook, Inc.
|
||||
* Copyright 2012 Facebook, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -16,7 +16,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorProjectProfile extends PhabricatorProjectDAO {
|
||||
final class PhabricatorProjectProfile extends PhabricatorProjectDAO {
|
||||
|
||||
protected $projectPHID;
|
||||
protected $blurb;
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
class PhabricatorProject extends PhabricatorProjectDAO {
|
||||
final class PhabricatorProject extends PhabricatorProjectDAO {
|
||||
|
||||
protected $name;
|
||||
protected $phid;
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
/**
|
||||
* @group project
|
||||
*/
|
||||
class PhabricatorProjectTransaction extends PhabricatorProjectDAO {
|
||||
final class PhabricatorProjectTransaction extends PhabricatorProjectDAO {
|
||||
|
||||
protected $projectID;
|
||||
protected $authorPHID;
|
||||
|
||||
Reference in New Issue
Block a user