From 871861f10de730beb342146f17a5a8cdefb2fd04 Mon Sep 17 00:00:00 2001
From: robocoder <anthon.pang@gmail.com>
Date: Sun, 23 Aug 2009 15:13:40 +0000
Subject: [PATCH] more phpdoc tweaks

git-svn-id: http://dev.piwik.org/svn/trunk@1432 59fd770c-687e-43c8-a1e3-f5a4ff64c105
---
 core/DataTable.php                              |  2 +-
 core/ErrorHandler.php                           | 12 +++++++++---
 core/iUpdate.php                                |  2 +-
 misc/phpdoc-config.ini                          |  2 +-
 plugins/ExampleFeedburner/ExampleFeedburner.php |  4 ++++
 5 files changed, 16 insertions(+), 6 deletions(-)

diff --git a/core/DataTable.php b/core/DataTable.php
index f3df78aee3..a5590e1cbb 100644
--- a/core/DataTable.php
+++ b/core/DataTable.php
@@ -371,7 +371,7 @@ class Piwik_DataTable
 	 * 
 	 * A common row to 2 DataTable is defined by the same label
 	 * 	
-	 * @example @see tests/core/DataTable.test.php
+	 * @example tests/core/DataTable.test.php
 	 */
 	public function addDataTable( Piwik_DataTable $tableToSum )
 	{
diff --git a/core/ErrorHandler.php b/core/ErrorHandler.php
index 09b5302ecf..c2fecfbdc2 100644
--- a/core/ErrorHandler.php
+++ b/core/ErrorHandler.php
@@ -10,13 +10,19 @@
  * @package Piwik
  */
 
-// @since PHP 5
+/**
+ * @since PHP 5
+ */
 if(!defined('E_STRICT')) {            define('E_STRICT', 2048); }
 
-// @since PHP 5.2.0
+/**
+ * @since PHP 5.2.0
+ */
 if(!defined('E_RECOVERABLE_ERROR')) { define('E_RECOVERABLE_ERROR', 4096); }
 
-// @since PHP 5.3.0
+/**
+ * @since PHP 5.3.0
+ */
 if(!defined('E_DEPRECATED')) {        define('E_DEPRECATED', 8192); }
 if(!defined('E_USER_DEPRECATED')) {   define('E_USER_DEPRECATED', 16384); }
 
diff --git a/core/iUpdate.php b/core/iUpdate.php
index 634e115848..5b9888558c 100644
--- a/core/iUpdate.php
+++ b/core/iUpdate.php
@@ -13,7 +13,7 @@
 /**
  * Interface to be implemented by update scripts
  *
- * @example core/Updates/0.4.2.php Incremental update script from version 0.4.1 to 0.4.2
+ * @example core/Updates/0.4.2.php
  * @package Piwik
  */
 interface Piwik_iUpdate
diff --git a/misc/phpdoc-config.ini b/misc/phpdoc-config.ini
index 22ef3c0ad7..d7ebfc440f 100644
--- a/misc/phpdoc-config.ini
+++ b/misc/phpdoc-config.ini
@@ -47,7 +47,7 @@ directory = core,plugins
 ;; comma-separated list of files, directories or wildcards ? and * (any wildcard) to ignore
 ;; legal values: any wildcard strings separated by commas
 ;ignore = /path/to/ignore*,*list.php,myfile.php,subdirectory/
-ignore = pear-*,Documentation/,*.test.php,Lexer.inc,*.tpl,*.js,*.css,*.png,*.gif,*.ico,core/Updates/
+ignore = pear-*,Documentation/,*.test.php,Lexer.inc,*.tpl,*.js,*.css,*.png,*.gif,*.ico,core/Updates/*.php
 
 ;; comma-separated list of Converters to use in outputformat:Convertername:templatedirectory format
 ;; legal values: HTML:frames:default,HTML:frames:l0l33t,HTML:frames:phpdoc.de,HTML:frames:phphtmllib,
diff --git a/plugins/ExampleFeedburner/ExampleFeedburner.php b/plugins/ExampleFeedburner/ExampleFeedburner.php
index 50a4070fc3..fbaa68c913 100644
--- a/plugins/ExampleFeedburner/ExampleFeedburner.php
+++ b/plugins/ExampleFeedburner/ExampleFeedburner.php
@@ -49,6 +49,10 @@ class Piwik_ExampleFeedburner extends Piwik_Plugin
 
 Piwik_AddWidget('Example Widgets', 'Feedburner statistics', 'ExampleFeedburner', 'feedburner');
 
+/**
+ *
+ * @package Piwik_ExampleFeedburner
+ */
 class Piwik_ExampleFeedburner_Controller extends Piwik_Controller
 {
 
-- 
GitLab