These folds aren't helping that much now that code has been refactored
These folds aren't helping that much now that code has been refactored

--- a/include/git/project/Project.class.php
+++ b/include/git/project/Project.class.php
@@ -10,8 +10,6 @@
 class GitPHP_Project
 {
 
-/* internal variables {{{1*/
-
 	/**
 	 * The project root
 	 *
@@ -26,8 +24,6 @@
 	 */
 	protected $project;
 
-/* owner internal variables {{{2*/
-
 	/**
 	 * The owner
 	 *
@@ -42,10 +38,6 @@
 	 */
 	protected $ownerRead = false;
 
-/*}}}2*/
-
-/* description internal variables {{{2*/
-
 	/**
 	 * The description
 	 *
@@ -60,8 +52,6 @@
 	 */
 	protected $readDescription = false;
 
-/*}}}2*/
-
 	/**
 	 * The category
 	 *
@@ -69,8 +59,6 @@
 	 */
 	protected $category = '';
 
-/* epoch internal variables {{{2*/
-
 	/**
 	 * The project epoch
 	 *
@@ -85,10 +73,6 @@
 	 */
 	protected $epochRead = false;
 
-/*}}}2*/
-
-/* HEAD internal variables {{{2*/
-
 	/**
 	 * The HEAD hash
 	 *
@@ -103,10 +87,6 @@
 	 */
 	protected $readHeadRef = false;
 
-/*}}}*/
-
-/* ref internal variables {{{2*/
-
 	/**
 	 * The head list for the project
 	 *
@@ -121,10 +101,6 @@
 	 */
 	protected $tagList;
 
-/*}}}2*/
-
-/* url internal variables {{{2*/
-
 	/**
 	 * The clone url
 	 *
@@ -139,10 +115,6 @@
 	 */
 	protected $pushUrl = null;
 
-/*}}}2*/
-
-/* bugtracker internal variables {{{2*/
-
 	/**
 	 * The bug url
 	 *
@@ -157,8 +129,6 @@
 	 */
 	protected $bugPattern = null;
 
-/*}}}2*/
-
 	/**
 	 * The website url
 	 *
@@ -173,8 +143,6 @@
 	 */
 	protected $compat = false;
 
-/* hash abbreviation variables {{{2*/
-
 	/**
 	 * The hash abbreviation length
 	 *
@@ -189,8 +157,6 @@
 	 */
 	protected $uniqueAbbreviation = false;
 
-/*}}}2*/
-
 	/**
 	 * The git object manager
 	 *
@@ -204,10 +170,6 @@
 	 * @var GitPHP_ProjectLoadStrategy_Interface
 	 */
 	protected $strategy;
-
-/*}}}1*/
-
-/* class methods {{{1*/
 
 	/**
 	 * Class constructor
@@ -225,12 +187,6 @@
 			$this->SetStrategy($strategy);
 	}
 
-/*}}}1*/
-
-/* accessors {{{1*/
-
-/* project accessors {{{2*/
-
 	/**
 	 * Gets the project
 	 *
@@ -274,8 +230,6 @@
 		$this->project = $project;
 
 	}
-
-/*}}}2*/
 
 	/**
 	 * Gets the project as a filename/url friendly slug
@@ -301,8 +255,6 @@
 	{
 		return $this->projectRoot . $this->project;
 	}
-
-/* owner accessors {{{2 */
 
 	/**
 	 * Gets the project's owner
@@ -348,10 +300,6 @@
 		$this->owner = $owner;
 	}
 
-/*}}}2*/
-
-/* projectroot accessors {{{2*/
-
 	/**
 	 * Gets the project root
 	 *
@@ -361,10 +309,6 @@
 	{
 		return $this->projectRoot;
 	}
-
-/*}}}2*/
-
-/* description accessors {{{2*/
 
 	/**
 	 * Gets the project description
@@ -399,8 +343,6 @@
 		$this->readDescription = true;
 	}
 
-/*}}}2*/
-
 	/**
 	 * Returns whether gitdaemon is allowed for this project
 	 *
@@ -410,8 +352,6 @@
 	{
 		return file_exists($this->GetPath() . '/git-daemon-export-ok');
 	}
-
-/* category accessors {{{2*/
 
 	/**
 	 * Gets the project's category
@@ -437,10 +377,6 @@
 		$this->category = $category;
 	}
 
-/*}}}2*/
-
-/* clone url accessors {{{2*/
-
 	/**
 	 * Gets the clone URL for this repository, if specified
 	 *
@@ -461,10 +397,6 @@
 		$this->cloneUrl = $cUrl;
 	}
 
-/*}}}2*/
-
-/* push url accessors {{{2*/
-
 	/**
 	 * Gets the push URL for this repository, if specified
 	 *
@@ -485,10 +417,6 @@
 		$this->pushUrl = $pUrl;
 	}
 
-/*}}}2*/
-
-/* bugtracker accessors {{{2*/
-
 	/**
 	 * Gets the bug URL for this repository, if specified
 	 *
@@ -528,10 +456,6 @@
 	{
 		$this->bugPattern = $bPat;
 	}
-
-/*}}}2*/
-
-/* website accessors {{{2*/
 
 	/**
 	 * Gets the website for this repository, if specified
@@ -557,10 +481,6 @@
 		$this->website = $site;
 	}
 
-/*}}}2*/
-
-/* HEAD accessors {{{2*/
-
 	/**
 	 * Gets the head commit for this project
 	 *
@@ -601,10 +521,6 @@
 		$this->head = $this->strategy->LoadHead($this);
 	}
 
-/*}}}2*/
-
-/* epoch accessors {{{2*/
-
 	/**
 	 * Gets this project's epoch (time of last change)
 	 *
@@ -641,10 +557,6 @@
 		$this->epoch = $this->strategy->LoadEpoch($this);
 	}
 
-/*}}}2*/
-
-/* compatibility accessors {{{2*/
-
 	/**
 	 * Gets whether this project is running in compatibility mode
 	 *
@@ -664,8 +576,6 @@
 	{
 		$this->compat = $compat;
 	}
-
-/*}}}2*/
 
 	/**
 	 * Set data load strategy
@@ -679,12 +589,6 @@
 
 		$this->strategy = $strategy;
 	}
-
-/*}}}1*/
-
-/* data loading methods {{{1*/
-
-/* commit loading methods {{{2*/
 
 	/**
 	 * Get a commit for this project
@@ -732,10 +636,6 @@
 		return null;
 	}
 
-/*}}}2*/
-
-/* tag loading methods {{{2*/
-
 	/**
 	 * Gets the tag list
 	 *
@@ -759,10 +659,6 @@
 		$this->tagList = $tagList;
 	}
 
-/*}}}2*/
-
-/* head loading methods {{{2*/
-
 	/**
 	 * Gets the head list
 	 *
@@ -786,10 +682,6 @@
 		$this->headList = $headList;
 	}
 
-/*}}}2*/
-
-/* object loader/manager methods {{{2*/
-
 	/**
 	 * Get the git object manager for this project
 	 *
@@ -813,10 +705,6 @@
 		$this->objectManager = $objectManager;
 	}
 
-/*}}}2*/
-
-/* hash management methods {{{2*/
-
 	/**
 	 * Gets the hash abbreviation length
 	 *
@@ -878,12 +766,6 @@
 	{
 		return $this->strategy->ExpandHash($this, $abbrevHash);
 	}
-
-/*}}}2*/
-
-/*}}}1*/
-
-/* static utilities {{{1*/
 
 	/**
 	 * Compares two projects by project name
@@ -951,7 +833,5 @@
 		return ($a->GetAge() < $b->GetAge() ? -1 : 1);
 	}
 
-/*}}}1*/
-
 }
 

comments