File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -115,11 +115,14 @@ public function showSummary()
115115 /**
116116 * Return the revision the coverage was made against
117117 *
118- *@param int The revision number
118+ * @return int The revision number
119+ * @deprecated Coverage revision is not supported anymore.
119120 */
120121 public function getRevision ()
121122 {
122- return $ this ->result ["revision " ];
123+ trigger_error ('Coverage revision is not supported anymore. ' , E_USER_DEPRECATED );
124+
125+ return 0 ;
123126 }
124127
125128 /**
@@ -140,10 +143,6 @@ public function getRevision()
140143 */
141144 public function generateReport ()
142145 {
143- // $svn_info = explode(" ", exec("svn info | grep Revision"));
144- $ svn_info = 'svn is not used anymore. maybe adding some git infos or drop it? ' ;
145- $ this ->result ["revision " ] = $ svn_info [1 ];
146-
147146 //loop through all files and generate coverage files for them
148147 $ it = new RecursiveDirectoryIterator (Doctrine_Core::getPath ());
149148 $ notCoveredArray = array ();
You can’t perform that action at this time.
0 commit comments